aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/arp.c2
-rw-r--r--net/ipv4/udp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
index 3d67d1ffed77..9c220323f353 100644
--- a/net/ipv4/arp.c
+++ b/net/ipv4/arp.c
@@ -892,7 +892,7 @@ static int arp_process(struct sk_buff *skb)
892out: 892out:
893 if (in_dev) 893 if (in_dev)
894 in_dev_put(in_dev); 894 in_dev_put(in_dev);
895 kfree_skb(skb); 895 consume_skb(skb);
896 return 0; 896 return 0;
897} 897}
898 898
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 4bd178a111d5..05b7abb99f69 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -1184,7 +1184,7 @@ static int __udp4_lib_mcast_deliver(struct net *net, struct sk_buff *skb,
1184 sk = sknext; 1184 sk = sknext;
1185 } while (sknext); 1185 } while (sknext);
1186 } else 1186 } else
1187 kfree_skb(skb); 1187 consume_skb(skb);
1188 spin_unlock(&hslot->lock); 1188 spin_unlock(&hslot->lock);
1189 return 0; 1189 return 0;
1190} 1190}