Rookie Justin Tucker kicked a 27-yard field goal as time expired, giving the Ravens a 31-30 victory over the New England Patriots in a rematch of the AFC championship game.
Smith started and scored two touchdowns for the Ravens, less than 24 hours after his younger brother was killed in a motorcycle accident late Saturday night. Smith left the team shortly after midnight Sunday but returned for warmups. The second-year wide receiver finished with six catches for 127 yards.
When the teams met in January, the Patriots squeezed out a three-point win at home to advance to the Super Bowl. The stakes weren't nearly as high in this one, yet the game was eerily similar.
In the previous meeting, Billy Cundiff missed a 32-yard field goal in the closing seconds. Tucker, who took the job away from Cundiff in training camp, drove his kick just inside the right upright.
The game-winning kick followed a pass interference call against Devin McCourty on Jacoby Jones.
As the officials were leaving the field, Patriots coach Bill Belichick grabbed one of them by the arm. He didn't pursue as the official continued to run off the field.
Baltimore (2-1) won its 12th straight at home behind Joe Flacco, who went 28 for 39 for 382 yards, three touchdowns and one interception.
Tom Brady completed 28 of 41 passes for 335 yards and a score for the Patriots (1-2), who fell below .500 for the first time since Week 1 of 2003.
Ravens have now won 12 straight at home, the longest current streak in the NFL. They also won for the 14th time following a loss, which is also the longest streak in the league.
Baltimore (2-1) moved into a tie with the Bengals atop the AFC North and will host the Cleveland Browns (0-3) on Thursday.