Re: [PATCH] Make udp_encap_rcv use pskb_may_pull

From: David Miller
Date: Wed Nov 22 2006 - 23:11:50 EST


From: Olaf Kirch <okir@xxxxxxx>
Date: Thu, 23 Nov 2006 01:01:44 +0100

>
> 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@xxxxxxx>
> Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>

Excellent catch, applied, thanks Olaf.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/