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, 2 insertions, 2 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index 79f63cf11be4..9c90cceda17d 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -1086,8 +1086,8 @@ int batadv_recv_bcast_packet(struct sk_buff *skb, struct hard_iface *recv_if)
1086 spin_lock_bh(&orig_node->bcast_seqno_lock); 1086 spin_lock_bh(&orig_node->bcast_seqno_lock);
1087 1087
1088 /* check whether the packet is a duplicate */ 1088 /* check whether the packet is a duplicate */
1089 if (bat_test_bit(orig_node->bcast_bits, orig_node->last_bcast_seqno, 1089 if (batadv_test_bit(orig_node->bcast_bits, orig_node->last_bcast_seqno,
1090 ntohl(bcast_packet->seqno))) 1090 ntohl(bcast_packet->seqno)))
1091 goto spin_unlock; 1091 goto spin_unlock;
1092 1092
1093 seq_diff = ntohl(bcast_packet->seqno) - orig_node->last_bcast_seqno; 1093 seq_diff = ntohl(bcast_packet->seqno) - orig_node->last_bcast_seqno;