ipvs: Fix panic due to non-linear skb
authorPeter Christensen <pch@ordbogen.com>
Sat, 24 May 2014 19:40:12 +0000 (21:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jul 2014 01:57:29 +0000 (18:57 -0700)
commite3a88572409bfca472be3e0d87f4750478070119
tree3b020742bd7f7e1ef951726c36ff0e772a0ebcbd
parentc42ce86f16548e6bcfa14cfb519c60eb2cd7d4d4
ipvs: Fix panic due to non-linear skb

commit f44a5f45f544561302e855e7bd104e5f506ec01b upstream.

Receiving a ICMP response to an IPIP packet in a non-linear skb could
cause a kernel panic in __skb_pull.

The problem was introduced in
commit f2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e ("ipvs: implement
passive PMTUD for IPIP packets").

Signed-off-by: Peter Christensen <pch@ordbogen.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/ipvs/ip_vs_core.c