diff options
| author | Vladimir Oltean <[email protected]> | 2022-02-15 17:02:13 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-02-16 11:21:04 +0000 |
| commit | 263029ae317298a3719d2cd88a818c3a29a80e15 (patch) | |
| tree | 38587ef3cd43ba31f241f9d23e855770c8be2421 /net/switchdev/switchdev.c | |
| parent | net: bridge: switchdev: differentiate new VLANs from changed ones (diff) | |
| download | kernel-263029ae317298a3719d2cd88a818c3a29a80e15.tar.gz kernel-263029ae317298a3719d2cd88a818c3a29a80e15.zip | |
net: bridge: make nbp_switchdev_unsync_objs() follow reverse order of sync()
There may be switchdev drivers that can add/remove a FDB or MDB entry
only as long as the VLAN it's in has been notified and offloaded first.
The nbp_switchdev_sync_objs() method satisfies this requirement on
addition, but nbp_switchdev_unsync_objs() first deletes VLANs, then
deletes MDBs and FDBs. Reverse the order of the function calls to cater
to this requirement.
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
