aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r--net/batman-adv/routing.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index 1d1fd04c9c3a..78eddc9067e6 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -1076,6 +1076,10 @@ int recv_bcast_packet(struct sk_buff *skb, struct hard_iface *recv_if)
1076 1076
1077 spin_unlock_bh(&orig_node->bcast_seqno_lock); 1077 spin_unlock_bh(&orig_node->bcast_seqno_lock);
1078 1078
1079 /* check whether this has been sent by another originator before */
1080 if (bla_check_bcast_duplist(bat_priv, bcast_packet, hdr_size))
1081 goto out;
1082
1079 /* rebroadcast packet */ 1083 /* rebroadcast packet */
1080 add_bcast_packet_to_list(bat_priv, skb, 1); 1084 add_bcast_packet_to_list(bat_priv, skb, 1);
1081 1085