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>
This commit is contained in:

committed by
David S. Miller

parent
4c59b7d160
commit
6685987c29
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user