Hans Petter Selasky a51f980180 Fix for unaligned IP-header.
The mbuf length fields must be set before m_adj() is called else
m_adj() will not always adjust the mbuf and an unaligned read
exception can trigger inside the network stack. This can happen on
platforms where unaligned reads are not supported. Adjust a length
check to include the 2-byte ethernet alignment while at it.

MFC after:	3 days
2015-11-06 12:54:27 +00:00
..
2015-04-07 01:47:36 +00:00
2015-11-06 12:54:27 +00:00
2015-11-06 12:54:27 +00:00