]> git.baikalelectronics.ru Git - kernel.git/commit
sit: fix panic with route cache in ip tunnels
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 20 Feb 2014 09:19:31 +0000 (10:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Feb 2014 18:13:50 +0000 (13:13 -0500)
commitbe866a4e5a48e702533110f94499ee66b76c3cfb
tree9ecc5d5a3f3c0bb44a5f82a238f427291efef702
parent93f3f8df0c1ca6559c337efe2e97b3d2ec3dbc84
sit: fix panic with route cache in ip tunnels

Bug introduced by commit c88fcf412008 ("ipv4: Cache dst in tunnels").

Because sit code does not call ip_tunnel_init(), the dst_cache was not
initialized.

CC: Tom Herbert <therbert@google.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h
net/ipv4/ip_tunnel.c
net/ipv6/sit.c