diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-05-12 02:09:29 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-20 22:15:18 +0200 |
commit | 7cf06bc6ff810178a7fb9f12aaa6b274fc520f6f (patch) | |
tree | d2155e204af6153174f9a7f37596c21e04c65ddb /net/batman-adv/main.c | |
parent | batman-adv: Prefix bridge_loop_avoidance non-static functions with batadv_ (diff) | |
download | linux-7cf06bc6ff810178a7fb9f12aaa6b274fc520f6f.tar.xz linux-7cf06bc6ff810178a7fb9f12aaa6b274fc520f6f.zip |
batman-adv: Prefix gateway-client non-static functions with batadv_
batman-adv can be compiled as part of the kernel instead of an module. In that
case the linker will see all non-static symbols of batman-adv and all other
non-static symbols of the kernel. This could lead to symbol collisions. A
prefix for the batman-adv symbols that defines their private namespace avoids
such a problem.
Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/main.c')
-rw-r--r-- | net/batman-adv/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index 3e1bb7a1f8b4..8fe70b487b49 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c @@ -149,7 +149,7 @@ void mesh_free(struct net_device *soft_iface) vis_quit(bat_priv); - gw_node_purge(bat_priv); + batadv_gw_node_purge(bat_priv); originator_free(bat_priv); tt_free(bat_priv); |