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 /net/dsa/slave.c | |
parent | 4c59b7d16096e5e2cfbc7f8cba972eb72f6b96c0 (diff) | |
download | talos-op-linux-6685987c29582afc79b7fa3998dfbf36b4295791.tar.gz talos-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 'net/dsa/slave.c')
-rw-r--r-- | net/dsa/slave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c index d5680a98a7f0..91de3a663226 100644 --- a/net/dsa/slave.c +++ b/net/dsa/slave.c @@ -1451,7 +1451,7 @@ static void dsa_slave_switchdev_event_work(struct work_struct *work) } fdb_info->offloaded = true; call_switchdev_notifiers(SWITCHDEV_FDB_OFFLOADED, dev, - &fdb_info->info); + &fdb_info->info, NULL); break; case SWITCHDEV_FDB_DEL_TO_DEVICE: |