diff options
author | Arkadi Sharshevsky <arkadis@mellanox.com> | 2016-11-11 16:34:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-13 12:51:00 -0500 |
commit | 42cdb338f40a98e6558bae35456fe86b6e90e1ef (patch) | |
tree | 3574728ce3bf65ab262de17abd6cc03e6dd1cd4a /Documentation/devicetree | |
parent | 2d644d4c7506646f9c4a2afceb7fd5f030bc0c9f (diff) |
mlxsw: spectrum_router: Correctly dump neighbour activity
The device's neighbour table is periodically dumped in order to update
the kernel about active neighbours. A single dump session may span
multiple queries, until the response carries less records than requested
or when a record (can contain up to four neighbour entries) is not full.
Current code stops the session when the number of returned records is
zero, which can result in infinite loop in case of high packet rate.
Fix this by stopping the session according to the above logic.
Fixes: c723c735fa6b ("mlxsw: spectrum_router: Periodically update the kernel's neigh table")
Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
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 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions