Getty Images

With plenty of needs on both sides of the ball, a former Oregon coach has drafted a player he once recruited.

Defensive lineman DeForest Buckner has been drafted by the 49ers and coach Chip Kelly.

Buckner started as a true freshman in 2012, Kelly’s last year in Oregon. Now, Buckner will play for Kelly during Buckner’s first year in the NFL — and Kelly’s first year with the 49ers.

It’s the second straight year the 49ers drafted an Oregon defensive lineman in round one.

The 49ers need help on the defensive line given the 2015 retirement of Justin Smith and the decision last year to part ways with Aldon Smith.