]> git.baikalelectronics.ru Git - kernel.git/commit
ip_tunnel: remove __net_init/exit from exported functions
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 7 Jun 2013 20:26:05 +0000 (13:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jun 2013 10:00:59 +0000 (03:00 -0700)
commit86d76c741adb57604610fe0714856246eace6dae
treee1ed916738ef8265953960361f1b9ab34c2d93f2
parenta6673c6017500ed0d8c4b7ab71a1054646c707b1
ip_tunnel: remove __net_init/exit from exported functions

If CONFIG_NET_NS is not set then __net_init is the same as __init and
__net_exit is the same as __exit. These functions will be removed from
memory after the module loads or is removed. Functions that are exported
for use by other functions should never be labeled for removal.

Bug introduced by commit 65fe948e5424816c574
("GRE: Refactor GRE tunneling code.")

Reported-by: Steinar H. Gunderson <sgunderson@bigfoot.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_tunnels.h
net/ipv4/ip_tunnel.c