]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r226105:
authorandre <andre@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 12 Oct 2011 11:34:14 +0000 (11:34 +0000)
committerandre <andre@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 12 Oct 2011 11:34:14 +0000 (11:34 +0000)
commitbb66b5b258a02a099e00ecd7d83afbb771125884
tree8a4423aa16b09bd25687984232ab47b120b64706
parentae531a2f00d77f8fc0c8757c9f51a2f95a53e065
MFC r226105:
  Add back the IP header length to the total packet length field on
  raw IP sockets.  It was deducted in ip_input() in preparation for
  protocols interested only in the payload.

  On raw sockets the IP header should be delivered as it at came in
  from the network except for the byte order swaps in some fields.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/9@226299 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/raw_ip.c