diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-02-28 02:55:40 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-22 07:43:32 -0400 |
commit | 8f4db60c7fb5120050309717123efcfd25a02034 (patch) | |
tree | 2cd2277d43c1b6e3aa6097ef0fda10ea09b2dbec /net/ipv4/tcp_input.c | |
parent | 02595f472548738cd1ab3abf424277d6f489048f (diff) |
mlxsw: spectrum_router: Avoid potential packets loss
[ Upstream commit f7df4923fa986247e93ec2cdff5ca168fff14dcf ]
When the structure of the LPM tree changes (f.e., due to the addition of
a new prefix), we unbind the old tree and then bind the new one. This
may result in temporary packet loss.
Instead, overwrite the old binding with the new one.
Fixes: 6b75c4807db3 ("mlxsw: spectrum_router: Add virtual router management")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions