SAN FRANCISCO -- Scott Kazmir capped a brilliant personal first half with one of his best efforts of the season, striking out nine and shutting out San Francisco on three hits in seven innings in Oakland's victory.

The win allowed the A's to split two games in San Francisco after they swept two in Oakland to begin the four-game sequence Monday and Tuesday.

Stephen Vogt drove in three runs with two singles, and Josh Donaldson belted a two-run homer for the A's, whose 58-34 record matches the best 92-game mark in Oakland history.

Dodgers 2, Padres 1

LOS ANGELES -- Clayton Kershaw had his scoreless-innings streak snapped at 41, but he pitched a complete game, allowing just three hits, in the Los Angeles Dodgers' 2-1 victory over the San Diego Padres on Thursday.

Chase Headley's solo home run with two outs in the sixth ended Kershaw's impressive run, the longest one since Brandon Webb pitched 42 consecutive scoreless frames in 2007, according to the Elias Sports Bureau.

Kershaw struck out 11 and walked one in his 115-pitch outing. He is 11-2 with a 1.78 ERA.

Adrian Gonzalez brought home shortstop Hanley Ramirez on a sacrifice fly with two outs in the bottom of the sixth to give the Dodgers a 2-1 lead.

Red Sox 4, White Sox 3 (10 innings)

BOSTON -- Pinch hitter Mike Carp delivered the game-winning hit in the 10th inning, leading the Red Sox to a victory over Chicago, Boston's second walk-off win in as many days.

The White Sox's Conor Gillaspie tied the game with a pinch-hit, two-run homer in the ninth inning off All-Star closer Koji Uehara.

Ronald Belisario (3-6) walked Boston pinch hitter Daniel Nava to begin the 10th, and Mookie Betts moved the runner to second with a sacrifice bunt. After an intentional walk to Stephen Drew, Carp's single to left plated Nava.

Cubs 6, Reds 4 (12 innings)

CINCINNATI -- Luis Valbuena's triple drove in the go-ahead runs in the 12th inning, lifting Chicago to a victory over Cincinnati on an emotionally charged afternoon at Great American Ball Park.

Cubs second baseman Arismendy Alcantara went 4-for-5 with a double and triple, his first career hits, and three RBIs.

Benches cleared in the top of the ninth inning when Cubs first baseman Anthony Rizzo approached the Reds dugout between innings. Rizzo was hit by a pitch in the first by Reds starter Homer Bailey. There were three hit batters in the game but no ejections.

Phillies 9, Brewers 1

MILWAUKEE -- Behind right-hander Matt Garza, Milwaukee took a 1-0 lead to the eighth inning, but the Phillies' offense exploded for seven runs in the eighth and two in the ninth.

Jimmy Rollins put the Phillies ahead with a two-run single to left. Ryan Howard added a run-scoring, ground-rule double, and Cody Asche hit a two-run, ground-rule double. Domonic Brown's RBI single capped the big inning.

Howard added a two-run homer in the ninth.

Orioles 4, Nationals 3

BALTIMORE -- Steve Pearce hit his 11th homer and Wei-Yin Chen got his team-leading ninth win as the Orioles earned a split in their two-game home series against the Nationals.

Zach Britton got his 15th save by pitching the ninth and has not allowed a run in 30 1/3 innings at Camden Yards. The Orioles have won eight of their past 10 games.

Washington left-hander Gio Gonzalez (6-5) had his four-game winning streak stopped, and his streak of 22 consecutive scoreless innings also came to an end.

Braves 3, Mets 1