diff options
author | Petr Machata <petrm@mellanox.com> | 2019-01-16 23:06:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-17 15:18:47 -0800 |
commit | 6685987c29582afc79b7fa3998dfbf36b4295791 (patch) | |
tree | 691ed7ff20bfe3d45ec4ee617cd78a486f05d6de /drivers/net/vxlan.c | |
parent | 4c59b7d16096e5e2cfbc7f8cba972eb72f6b96c0 (diff) | |
download | blackbird-op-linux-6685987c29582afc79b7fa3998dfbf36b4295791.tar.gz blackbird-op-linux-6685987c29582afc79b7fa3998dfbf36b4295791.zip |
switchdev: Add extack argument to call_switchdev_notifiers()
A follow-up patch will enable vetoing of FDB entries. Make it possible
to communicate details of why an FDB entry is not acceptable back to the
user.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxlan.c')
-rw-r--r-- | drivers/net/vxlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index a9e90159bb61..ef45c3c925be 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -393,7 +393,7 @@ static int vxlan_fdb_switchdev_call_notifiers(struct vxlan_dev *vxlan, : SWITCHDEV_VXLAN_FDB_DEL_TO_DEVICE; vxlan_fdb_switchdev_notifier_info(vxlan, fdb, rd, NULL, &info); ret = call_switchdev_notifiers(notifier_type, vxlan->dev, - &info.info); + &info.info, extack); return notifier_to_errno(ret); } |