diff options
author | Jiri Pirko <jiri@mellanox.com> | 2015-12-03 12:12:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 17:49:25 +0100 |
commit | 29bf24afb29042f568fa67b1b0eee46796725ed2 (patch) | |
tree | 865e593be107511f4032b41c09fd252e317cd540 /drivers/net/vrf.c | |
parent | net: propagate upper priv via netdev_master_upper_dev_link (diff) | |
download | linux-29bf24afb29042f568fa67b1b0eee46796725ed2.tar.xz linux-29bf24afb29042f568fa67b1b0eee46796725ed2.zip |
net: add possibility to pass information about upper device via notifier
Sometimes the drivers and other code would find it handy to know some
internal information about upper device being changed. So allow upper-code
to pass information down to notifier listeners during linking.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vrf.c')
-rw-r--r-- | drivers/net/vrf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index 59c5bddeaedd..8944a49cda15 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c @@ -624,7 +624,7 @@ static int do_vrf_add_slave(struct net_device *dev, struct net_device *port_dev) goto out_fail; } - ret = netdev_master_upper_dev_link(port_dev, dev, NULL); + ret = netdev_master_upper_dev_link(port_dev, dev, NULL, NULL); if (ret < 0) goto out_unregister; |