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 11:49:25 -0500 |
commit | 29bf24afb29042f568fa67b1b0eee46796725ed2 (patch) | |
tree | 865e593be107511f4032b41c09fd252e317cd540 /drivers/net/team/team.c | |
parent | 6dffb0447c25476f499d205dfceb1972e8dae919 (diff) | |
download | linux-29bf24afb29042f568fa67b1b0eee46796725ed2.tar.gz linux-29bf24afb29042f568fa67b1b0eee46796725ed2.tar.bz2 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/team/team.c')
-rw-r--r-- | drivers/net/team/team.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index b37f8d14dca0..f7b6ff7948b8 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c @@ -1083,7 +1083,7 @@ static int team_upper_dev_link(struct net_device *dev, { int err; - err = netdev_master_upper_dev_link(port_dev, dev, NULL); + err = netdev_master_upper_dev_link(port_dev, dev, NULL, NULL); if (err) return err; port_dev->priv_flags |= IFF_TEAM_PORT; |