diff options
author | Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com> | 2022-05-05 17:09:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-09 11:58:20 +0100 |
commit | ca4567f1e6f660f86fcd04f3563c0045b0d4772f (patch) | |
tree | d8a1c7a8d1bb5135ea49cfeeaebacfbf1e29a3b3 /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | 6da3c47264b2083006262f9c733b6597bf191d9b (diff) | |
download | lwn-ca4567f1e6f660f86fcd04f3563c0045b0d4772f.tar.gz lwn-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 'drivers/net/ethernet/intel/ice/ice_main.c')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c index 049a3f48caff..867908f94661 100644 --- a/drivers/net/ethernet/intel/ice/ice_main.c +++ b/drivers/net/ethernet/intel/ice/ice_main.c @@ -5688,11 +5688,12 @@ ice_fdb_add(struct ndmsg *ndm, struct nlattr __always_unused *tb[], * @dev: the net device pointer * @addr: the MAC address entry being added * @vid: VLAN ID + * @extack: netlink extended ack */ static int ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, - __always_unused u16 vid) + __always_unused u16 vid, struct netlink_ext_ack *extack) { int err; |