[UDP]: Make udp_encap_rcv use pskb_may_pull
authorOlaf Kirch <okir@suse.de>
Thu, 23 Nov 2006 04:11:42 +0000 (20:11 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 25 Nov 2006 23:16:48 +0000 (15:16 -0800)
commit753eab76a3337863a0d86ce045fa4eb6c3cbeef9
treec356797fbdff11986123aaae0bdd6338a76af8ff
parent38f7efd52c4f3f0b22c460eadbfe7c42f9ebff82
[UDP]: Make udp_encap_rcv use pskb_may_pull

Make udp_encap_rcv use pskb_may_pull

IPsec with NAT-T breaks on some notebooks using the latest e1000 chipset,
when header split is enabled. When receiving sufficiently large packets, the
driver puts everything up to and including the UDP header into the header
portion of the skb, and the rest goes into the paged part. udp_encap_rcv
forgets to use pskb_may_pull, and fails to decapsulate it. Instead, it
passes it up it to the IKE daemon.

Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c