diff options
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | 2012-01-22 14:00:18 -0500 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-04-11 08:28:58 -0400 |
commit | a7f6ee9493677ba40625d810258de5bd521cc1b0 (patch) | |
tree | 6635b87289ae083a466f14d2c9aed4bb20adae34 /net/batman-adv/routing.c | |
parent | 8681a1c4dd258c573e80b4a7af7e7127770b67a8 (diff) |
batman-adv: remove old bridge loop avoidance code
The functionality is to be replaced by an improved implementation,
so first clean up.
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r-- | net/batman-adv/routing.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c index b0370e3c59e8..71d4211beb23 100644 --- a/net/batman-adv/routing.c +++ b/net/batman-adv/routing.c | |||
@@ -30,6 +30,9 @@ | |||
30 | #include "vis.h" | 30 | #include "vis.h" |
31 | #include "unicast.h" | 31 | #include "unicast.h" |
32 | 32 | ||
33 | static int route_unicast_packet(struct sk_buff *skb, | ||
34 | struct hard_iface *recv_if); | ||
35 | |||
33 | void slide_own_bcast_window(struct hard_iface *hard_iface) | 36 | void slide_own_bcast_window(struct hard_iface *hard_iface) |
34 | { | 37 | { |
35 | struct bat_priv *bat_priv = netdev_priv(hard_iface->soft_iface); | 38 | struct bat_priv *bat_priv = netdev_priv(hard_iface->soft_iface); |
@@ -798,7 +801,7 @@ static int check_unicast_packet(struct sk_buff *skb, int hdr_size) | |||
798 | return 0; | 801 | return 0; |
799 | } | 802 | } |
800 | 803 | ||
801 | int route_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if) | 804 | static int route_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if) |
802 | { | 805 | { |
803 | struct bat_priv *bat_priv = netdev_priv(recv_if->soft_iface); | 806 | struct bat_priv *bat_priv = netdev_priv(recv_if->soft_iface); |
804 | struct orig_node *orig_node = NULL; | 807 | struct orig_node *orig_node = NULL; |