]> git.baikalelectronics.ru Git - kernel.git/commit
neigh: probe application via netlink in NUD_PROBE
authorTimo Teräs <timo.teras@iki.fi>
Wed, 26 Feb 2014 09:43:04 +0000 (11:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Feb 2014 20:46:25 +0000 (15:46 -0500)
commitd6c0ba5ad2df09d4b690dff81366d40d0834a376
tree43dc27faed0507217a04bad7719f32be7ec08f1d
parent18030069b4f3a46d0db39ac5b307b995b83dcbf9
neigh: probe application via netlink in NUD_PROBE

iproute2 arpd seems to expect this as there's code and comments
to handle netlink probes with NUD_PROBE set. It is used to flush
the arpd cached mappings.

opennhrp instead turns off unicast probes (so it can handle all
neighbour discovery). Without this change it will not see NUD_PROBE
probes and cannot reconfirm the mapping. Thus currently neigh entry
will just fail and can cause few packets dropped until broadcast
discovery is restarted.

Earlier discussion on the subject:
http://marc.info/?t=139305877100001&r=1&w=2

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c