STANFORD, Calif. — Stanford's dominant defense, which disappeared in last week's loss at Utah, showed it can still shut down new-age offenses. Tyler Gaffney ran for 171 yards and two touchdowns and the No. 13 Cardinal Stanford smothered Brett Hundley and No. 9 UCLA 24-10 on Saturday. "You hear the expression, 'Offense is your best defense,' " Gaffney said. "You keep them off, they can't do anything."Stanford has won six straight over UCLA, including three over the past year. It outgained UCLA 419-266, won the time of possession 37:11 to 22:49 and made the big plays when it mattered most. Kevin Hogan threw for 227 yards and a touchdown on which Kodi Whitfield made a one-handed catch to help the Cardinal regroup once again. Stanford has not lost consecutive games since October 2009. The Bruins entered scoring 45.8 points per game. That ranked second in the Pac-12 behind Oregon, which hosts UCLA next week before traveling to Stanford on Nov. 7 in matchups that likely will decide who reaches the Pac-12 title game. Just as it did to Oregon's Marcus Mariota last season, Stanford hurried Hundley all afternoon. He finished 24-of-39 for 192 yards, one touchdown and two interceptions by Jordan Richards. "Games like this, you want to win so bad," said Hundley, whose team fell short of its first 6-0 start since 2005. "That's really all I can say. You want to win these games so bad, so bad."The Cardinal came out on top in a rematch of last season's Pac-12 title game with a "back-to-basics" formula. With UCLA's offense taking the field with 2:57 remaining, the Cardinal hurried Hundley into two incompletions. Then Richards dived for his second interception at the Bruins 32 after receiver Thomas Duarte fell. Gaffney capped a quick drive with a 4-yard touchdown run that put the game out of reach. "He holds the key to their offense," linebacker Trent Murphy said of Hundley, whom he sacked on the final play. "We wanted to stop him."UCLA also lost starting linebacker Eric Kendricks. He was taken to a hospital for tests on his kidney after making nine tackles during the first half. The school did not disclose what caused the issue but said he would fly back to Los Angeles with the team.