aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2017-12-25 09:05:33 +0100
committerDavid S. Miller <[email protected]>2018-01-02 12:38:26 -0500
commit90045fc9c78855bdc625a0ab185d97b72a937613 (patch)
treeb44c1b132e39de1dcfb03ac4d4cc29e28b476752 /tools/perf/scripts/python/net_dropmonitor.py
parent8764a8267b128405cf383157d5e9a4a3735d2409 (diff)
mlxsw: spectrum: Relax sanity checks during enslavement
Since commit 25cc72a33835 ("mlxsw: spectrum: Forbid linking to devices that have uppers") the driver forbids enslavement to netdevs that already have uppers of their own, as this can result in various ordering problems. This requirement proved to be too strict for some users who need to be able to enslave ports to a bridge that already has uppers. In this case, we can allow the enslavement if the bridge is already known to us, as any configuration performed on top of the bridge was already reflected to the device. Fixes: 25cc72a33835 ("mlxsw: spectrum: Forbid linking to devices that have uppers") Signed-off-by: Ido Schimmel <[email protected]> Reported-by: Alexander Petrovskiy <[email protected]> Tested-by: Alexander Petrovskiy <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions