aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_fdb.c
diff options
context:
space:
mode:
authorAlaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>2022-05-05 17:09:57 +0200
committerDavid S. Miller <davem@davemloft.net>2022-05-09 11:58:20 +0100
commitca4567f1e6f660f86fcd04f3563c0045b0d4772f (patch)
treed8a1c7a8d1bb5135ea49cfeeaebacfbf1e29a3b3 /net/bridge/br_fdb.c
parentMerge branch 'wwan-t7xx' (diff)
downloadlinux-dev-ca4567f1e6f660f86fcd04f3563c0045b0d4772f.tar.xz
linux-dev-ca4567f1e6f660f86fcd04f3563c0045b0d4772f.zip
rtnetlink: add extack support in fdb del handlers
Add extack support to .ndo_fdb_del in netdevice.h and all related methods. Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/bridge/br_fdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
index 1a3d583fbc8e..e7f4fccb6adb 100644
--- a/net/bridge/br_fdb.c
+++ b/net/bridge/br_fdb.c
@@ -1253,7 +1253,8 @@ static int __br_fdb_delete(struct net_bridge *br,
/* Remove neighbor entry with RTM_DELNEIGH */
int br_fdb_delete(struct ndmsg *ndm, struct nlattr *tb[],
struct net_device *dev,
- const unsigned char *addr, u16 vid)
+ const unsigned char *addr, u16 vid,
+ struct netlink_ext_ack *extack)
{
struct net_bridge_vlan_group *vg;
struct net_bridge_port *p = NULL;