aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/switchdev/switchdev.c')
-rw-r--r--net/switchdev/switchdev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c
index 5df9d1138ac9..cd78253de31d 100644
--- a/net/switchdev/switchdev.c
+++ b/net/switchdev/switchdev.c
@@ -556,10 +556,11 @@ EXPORT_SYMBOL_GPL(unregister_switchdev_notifier);
556 * Call all network notifier blocks. 556 * Call all network notifier blocks.
557 */ 557 */
558int call_switchdev_notifiers(unsigned long val, struct net_device *dev, 558int call_switchdev_notifiers(unsigned long val, struct net_device *dev,
559 struct switchdev_notifier_info *info) 559 struct switchdev_notifier_info *info,
560 struct netlink_ext_ack *extack)
560{ 561{
561 info->dev = dev; 562 info->dev = dev;
562 info->extack = NULL; 563 info->extack = extack;
563 return atomic_notifier_call_chain(&switchdev_notif_chain, val, info); 564 return atomic_notifier_call_chain(&switchdev_notif_chain, val, info);
564} 565}
565EXPORT_SYMBOL_GPL(call_switchdev_notifiers); 566EXPORT_SYMBOL_GPL(call_switchdev_notifiers);