|
@@ -1318,6 +1318,9 @@ static int arp_reduce(struct net_device *dev, struct sk_buff *skb)
|
|
|
|
|
|
neigh_release(n);
|
|
neigh_release(n);
|
|
|
|
|
|
|
|
+ if (reply == NULL)
|
|
|
|
+ goto out;
|
|
|
|
+
|
|
skb_reset_mac_header(reply);
|
|
skb_reset_mac_header(reply);
|
|
__skb_pull(reply, skb_network_offset(reply));
|
|
__skb_pull(reply, skb_network_offset(reply));
|
|
reply->ip_summed = CHECKSUM_UNNECESSARY;
|
|
reply->ip_summed = CHECKSUM_UNNECESSARY;
|