aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/act_gact.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-12-25 09:05:33 +0100
committerDavid S. Miller <davem@davemloft.net>2018-01-02 12:38:26 -0500
commit90045fc9c78855bdc625a0ab185d97b72a937613 (patch)
treeb44c1b132e39de1dcfb03ac4d4cc29e28b476752 /net/sched/act_gact.c
parentmlxsw: spectrum_router: Fix NULL pointer deref (diff)
downloadlinux-dev-90045fc9c78855bdc625a0ab185d97b72a937613.tar.xz
linux-dev-90045fc9c78855bdc625a0ab185d97b72a937613.zip
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 <idosch@mellanox.com> Reported-by: Alexander Petrovskiy <alexpe@mellanox.com> Tested-by: Alexander Petrovskiy <alexpe@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions