summaryrefslogtreecommitdiff
path: root/drivers/net/vxlan
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2023-10-09 13:06:08 +0300
committerDavid S. Miller <davem@davemloft.net>2023-10-13 12:00:30 +0300
commit38985e8c278b82e6d4d62d4acd57c761cc23ce63 (patch)
tree1807ffd14de9116890e1b3216eade803e682ad95 /drivers/net/vxlan
parent0e6bb5b7f4c8e6665e76bdafce37ad4a8daf83c5 (diff)
downloadlinux-38985e8c278b82e6d4d62d4acd57c761cc23ce63.tar.xz
net: Handle bulk delete policy in bridge driver
The merge commit 92716869375b ("Merge branch 'br-flush-filtering'") added support for FDB flushing in bridge driver. The following patches will extend VXLAN driver to support FDB flushing as well. The netlink message for bulk delete is shared between the drivers. With the existing implementation, there is no way to prevent user from flushing with attributes that are not supported per driver. For example, when VNI will be added, user will not get an error for flush FDB entries in bridge with VNI, although this attribute is not relevant for bridge. As preparation for support of FDB flush in VXLAN driver, move the policy to be handled in bridge driver, later a new policy for VXLAN will be added in VXLAN driver. Do not pass 'vid' as part of ndo_fdb_del_bulk(), as this field is relevant only for bridge. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan')
0 files changed, 0 insertions, 0 deletions