From: Nicolas Dichtel Date: Mon, 14 Apr 2014 15:11:38 +0000 (+0200) Subject: ip6_gre: don't allow to remove the fb_tunnel_dev X-Git-Tag: omap-for-v3.16/pm-signed~106^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54d63f787b652755e66eb4dd8892ee6d3f5197fc;p=pandora-kernel.git 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 Signed-off-by: Nicolas Dichtel Signed-off-by: David S. Miller --- Reading git-diff-tree failed