summaryrefslogtreecommitdiff
path: root/net/nfc/hci/Makefile
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-02-06 16:20:16 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-06 11:25:57 -0500
commit01b1aa359dd481579de6047af8d7874e6e529585 (patch)
treea83784f678946263f0792eae3f06ce9d7272f91a /net/nfc/hci/Makefile
parent8a0b7275268504259cc1a17bae839d23c4f6e2bc (diff)
mlxsw: spectrum_router: Don't read 'nud_state' without lock
We periodically ask the neighbouring system to try and resolve neighbours that are used for nexthops, but aren't currently resolved. However, 'nud_state' is protected by the neighbour lock, so we shouldn't access it without taking it. Instead, we can simply check the 'connected' field of the neighbour entry, which we update upon NEIGH_UPDATE events. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc/hci/Makefile')
0 files changed, 0 insertions, 0 deletions
i.com> Cc: Kevin Hilman <khilman@baylibre.com> Cc: Patrick Titiano <ptitiano@baylibre.com> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Tested-by: Bin Liu <b-liu@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'fs')
ry='diffstat' class='diffstat'>