]> 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)
commit3d975e039735a8a4a3dcd3051fdb94a2141b0888
treee1ed916738ef8265953960361f1b9ab34c2d93f2
parent1a6c6e027c852e20e3aa928092759ffdc7d1c037
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 e7ccb3806ba4bf49634
("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