]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4ecd6793b8f959762eadeaee441057ad37bd7c93
treec356797fbdff11986123aaae0bdd6338a76af8ff
parent2401f64d414292a3196afe23e4800b39ad7d43d6
[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