aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/distributed-arp-table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c
index 8e1d89d2b1c1..ce0d2992381a 100644
--- a/net/batman-adv/distributed-arp-table.c
+++ b/net/batman-adv/distributed-arp-table.c
@@ -1012,6 +1012,8 @@ bool batadv_dat_snoop_incoming_arp_reply(struct batadv_priv *bat_priv,
1012 */ 1012 */
1013 ret = !batadv_is_my_client(bat_priv, hw_dst); 1013 ret = !batadv_is_my_client(bat_priv, hw_dst);
1014out: 1014out:
1015 if (ret)
1016 kfree_skb(skb);
1015 /* if ret == false -> packet has to be delivered to the interface */ 1017 /* if ret == false -> packet has to be delivered to the interface */
1016 return ret; 1018 return ret;
1017} 1019}