Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Overlapping header include additions in macsec.c A bug fix in 'net' overlapping with the removal of 'version' string in ena_netdev.c Overlapping test additions in selftests Makefile Overlapping PCI ID table adjustments in iwlwifi driver. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -151,16 +151,16 @@ int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,
|
||||
if (!port)
|
||||
return -ENOMEM;
|
||||
|
||||
port->hsr = hsr;
|
||||
port->dev = dev;
|
||||
port->type = type;
|
||||
|
||||
if (type != HSR_PT_MASTER) {
|
||||
res = hsr_portdev_setup(hsr, dev, port, extack);
|
||||
if (res)
|
||||
goto fail_dev_setup;
|
||||
}
|
||||
|
||||
port->hsr = hsr;
|
||||
port->dev = dev;
|
||||
port->type = type;
|
||||
|
||||
list_add_tail_rcu(&port->port_list, &hsr->ports);
|
||||
synchronize_rcu();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user