Revert "net: core: Send ARP probe when neighbor entry is created in NUD_STALE state"

This reverts commit cc2abb9e99.
The patch causes continuous ARP storm when two network entities
are on the same subnet.

Change-Id: I2672f365c8bc46f2d9322d11008373425badf0ae
Acked-by: Kaushik Sikdar <ksikdar@qti.qualcomm.com>
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
This commit is contained in:
Rohit Vaswani 2015-04-01 10:00:21 -07:00
parent 9b0d7d68c6
commit 701d596ba2

View file

@ -1236,12 +1236,9 @@ struct neighbour *neigh_event_ns(struct neigh_table *tbl,
{
struct neighbour *neigh = __neigh_lookup(tbl, saddr, dev,
lladdr || !dev->addr_len);
if (neigh) {
if (neigh)
neigh_update(neigh, lladdr, NUD_STALE,
NEIGH_UPDATE_F_OVERRIDE);
write_lock(&neigh->lock);
neigh_probe(neigh);
}
return neigh;
}
EXPORT_SYMBOL(neigh_event_ns);