|
@@ -368,7 +368,6 @@ static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb)
|
|
if (!(neigh->nud_state&NUD_VALID))
|
|
if (!(neigh->nud_state&NUD_VALID))
|
|
printk(KERN_DEBUG "trying to ucast probe in NUD_INVALID\n");
|
|
printk(KERN_DEBUG "trying to ucast probe in NUD_INVALID\n");
|
|
dst_ha = neigh->ha;
|
|
dst_ha = neigh->ha;
|
|
- read_lock_bh(&neigh->lock);
|
|
|
|
} else if ((probes -= neigh->parms->app_probes) < 0) {
|
|
} else if ((probes -= neigh->parms->app_probes) < 0) {
|
|
#ifdef CONFIG_ARPD
|
|
#ifdef CONFIG_ARPD
|
|
neigh_app_ns(neigh);
|
|
neigh_app_ns(neigh);
|
|
@@ -378,8 +377,6 @@ static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb)
|
|
|
|
|
|
arp_send(ARPOP_REQUEST, ETH_P_ARP, target, dev, saddr,
|
|
arp_send(ARPOP_REQUEST, ETH_P_ARP, target, dev, saddr,
|
|
dst_ha, dev->dev_addr, NULL);
|
|
dst_ha, dev->dev_addr, NULL);
|
|
- if (dst_ha)
|
|
|
|
- read_unlock_bh(&neigh->lock);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip)
|
|
static int arp_ignore(struct in_device *in_dev, __be32 sip, __be32 tip)
|