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)
commitd3b6f6141831b6e2d414edea6cc7af5b9bc6fac2
treee1ed916738ef8265953960361f1b9ab34c2d93f2
parentcc60ab0a8b5b62ea6b5cc1c6397adb5b4bd41271
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 c54419321455631079c
("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