summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2014-04-14 17:11:38 +0200
committerDavid S. Miller <davem@davemloft.net>2014-04-15 14:56:19 -0400
commit54d63f787b652755e66eb4dd8892ee6d3f5197fc (patch)
tree91c9366f2882b7c178633efab41cecc25013bf12 /drivers
parentaad88724c9d54acb1a9737cb6069d8470fa85f74 (diff)
downloadlinux-stable-54d63f787b652755e66eb4dd8892ee6d3f5197fc.tar.gz
linux-stable-54d63f787b652755e66eb4dd8892ee6d3f5197fc.tar.bz2
linux-stable-54d63f787b652755e66eb4dd8892ee6d3f5197fc.zip
ip6_gre: don't allow to remove the fb_tunnel_dev
It's possible to remove the FB tunnel with the command 'ip link del ip6gre0' but this is unsafe, the module always supposes that this device exists. For example, ip6gre_tunnel_lookup() may use it unconditionally. Let's add a rtnl handler for dellink, which will never remove the FB tunnel (we let ip6gre_destroy_tunnels() do the job). Introduced by commit c12b395a4664 ("gre: Support GRE over IPv6"). CC: Dmitry Kozlov <xeb@mail.ru> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions