Mike Yastrzemski had a visit from his grandfather Carl and then homered into the Red Sox bullpen like the Hall of Fame outfielder so often did in his heyday, and the San Francisco Giants beat Boston 3-1 on Thursday. Ryan Walker (3-2) pitched a perfect sixth inning to help the Giants avoid the sweep and snap Boston's four-game winning streak.