]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv4: ip_vti clear skb cb before tunneling.
authorSaurabh Mohan <saurabh@vyatta.com>
Tue, 11 Jun 2013 00:45:10 +0000 (17:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jun 2013 09:47:46 +0000 (02:47 -0700)
commit919129e88d66f1fe9c8dc066167cb36983dc13e9
tree1024857527720aa8acffdb47e352a6dc964dc60a
parent10fd676b5ba1a87a77d62780624a2ca855b37e19
net/ipv4: ip_vti clear skb cb before tunneling.

If users apply shaper to vti tunnel then it will cause a kernel crash. The
problem seems to be due to the vti_tunnel_xmit function not clearing
skb->opt field before passing the packet to xfrm tunneling code.

Signed-off-by: Saurabh Mohan <saurabh@vyatta.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_vti.c