]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit125876d97f111cb97170616f7f4688df5fb5eedb
tree55fb3bfc52ba08d0fca622b9a275348bd04793f2
parentb8cef21b939b50cc7c1ae3382138052c4e24cdcf
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 222e7e20e627c7694fc582203301e946a8898c63 ("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