mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 01:51:39 +00:00
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>
This commit is contained in:
parent
6dffb0447c
commit
29bf24afb2
8 changed files with 15 additions and 11 deletions
|
@ -105,7 +105,7 @@ struct vport *ovs_netdev_link(struct vport *vport, const char *name)
|
|||
|
||||
rtnl_lock();
|
||||
err = netdev_master_upper_dev_link(vport->dev,
|
||||
get_dpdev(vport->dp), NULL);
|
||||
get_dpdev(vport->dp), NULL, NULL);
|
||||
if (err)
|
||||
goto error_unlock;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue