The Buffalo Bills are trading offensive tackle Cordy Glenn to the Cincinnati Bengals, a source told ESPN's Josina Anderson.

The Bills are sending the 21st overall pick in the 2018 draft to the Bengals along with Glenn for the 12th overall pick, MMQB's Albert Breer reports. The teams will also swap fifth- and sixth-round picks this year.

Glenn has three years and $30 million left on his deal. Buffalo will take a $9.6-million dead cap hit, but clear $4.85 million in 2018 cap space, according to Spotrac.

Meanwhile, the Bengals address a massive need along their offensive line, as both Cedric Ogbuehi and Jake Fisher struggled in 2017.

Selected in the second round of the 2012 Draft, Glenn is one of the league's better tackles when healthy. However, he has been plagued by injuries over the past two years, missing 15 games.