]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/netfilter/ipvs/ip_vs_core.c
ipvs: Fix panic due to non-linear skb
authorPeter Christensen <pch@ordbogen.com>
Sat, 24 May 2014 19:40:12 +0000 (21:40 +0200)
committerSimon Horman <horms@verge.net.au>
Mon, 26 May 2014 01:22:46 +0000 (10:22 +0900)
commitf44a5f45f544561302e855e7bd104e5f506ec01b
tree55fb3bfc52ba08d0fca622b9a275348bd04793f2
parent3b084e99a3fabaeb0f9c65a0806cde30f0b2835e
ipvs: Fix panic due to non-linear skb

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>
net/netfilter/ipvs/ip_vs_core.c