The New York Giants have agreed to a two-year contract with Connor Barwin.

According to a source, Barwin's deal is worth up to $5 million.

Barwin has logged 354 tackles and 55.5 sacks in nine seasons. He played for the Los Angeles Rams last season.