mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
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:
parent
9b0d7d68c6
commit
701d596ba2
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue