[PATCH] UDP: Make udp_encap_rcv use pskb_may_pull
authorOlaf Kirch <okir@suse.de>
Wed, 29 Nov 2006 04:36:46 +0000 (20:36 -0800)
committerChris Wright <chrisw@sous-sol.org>
Sat, 2 Dec 2006 00:12:37 +0000 (16:12 -0800)
commit3cb204502cafebf346cdb7d7db750811550fa53c
tree4a6a1424ff023f4f76085007858813e0ab5b94fe
parent3cc15f4f6e5dbd44a0994f3a1fb5346a0260b8c9
[PATCH] UDP: 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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv4/udp.c