The Buffalo Bills have signed two 49ers free agents within the past two days.

After signing wide receiver Rod Streater on Wednesday, the Bills announced the signing of linebacker Gerald Hodges on Thursday.

The 49ers acquired Hodges in a 2015 trade with the Minnesota Vikings for center Nick Easton and a sixth-round draft pick. Hodges started 12 games last season and ranked second on the team with 92 tackles.

Hodges left the 49ers shorthanded for a late-season game against the Atlanta Falcons when he violated team rules. Then-coach Chip Kelly did not disclose the nature of Hodges infraction. Hodges offered no explanation or apology.

The 49ers entered the game against the high-powered Falcons with just two healthy inside linebackers due to Hodges’ deactivation. Starter Nick Bellore sustained an elbow injury on the third play of the game, and the 49ers were forced to use safeties Antoine Bethea and Vinnie Sunseri, and outside linebacker Ahmad Brooks at various points of the game.

The 49ers showed no interest in re-signing Hodges as a free agent.

Streater, a five-year NFL veteran, saw action in all 16 games last season after being acquired in a trade with the Kansas City Chiefs in September. He caught 18 passes for 191 yards and two touchdowns.