Jeremy Lin ended an 0-for-9 start with a 3-pointer that halted a Knicks comeback, and the Nets won 120-112 on Sunday night for their first home victory of 2017.

The Nets ended a 16-game losing streak at Barclays Center. They hadn’t won there since Dec. 26, when Lin strained his hamstring in a victory over the Hornets.

He missed the next 26 games and struggled through his return until taking over after the Knicks had trimmed a 22-point deficit to five. Lin’s 3 made it 109-101 with 4 minutes, 58 seconds left, and he converted a three-point play with 3:25 remaining to restore a double-digit lead.

G Isaiah Thomas scored 22 points and the Celtics held the Bulls scoreless for nearly six minutes at the start of the game en route to a 100-80 victory in Boston. ... Rodney Mott, the lead official of Saturday’s Wizards-Trail Blazers game, admitted that Wizards F Markieff Morris’ game-winning basket shouldn’t have counted because he stepped out of bounds before taking the shot. However, the play was not reviewable. News services