Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net
The BTF conflicts were simple overlapping changes. The virtio_net conflict was an overlap of a fix of statistics counter, happening alongisde a move over to a bonafide statistics structure rather than counting value on the stack. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -1248,6 +1248,9 @@ int dsa_slave_suspend(struct net_device *slave_dev)
|
||||
{
|
||||
struct dsa_port *dp = dsa_slave_to_port(slave_dev);
|
||||
|
||||
if (!netif_running(slave_dev))
|
||||
return 0;
|
||||
|
||||
netif_device_detach(slave_dev);
|
||||
|
||||
rtnl_lock();
|
||||
@@ -1261,6 +1264,9 @@ int dsa_slave_resume(struct net_device *slave_dev)
|
||||
{
|
||||
struct dsa_port *dp = dsa_slave_to_port(slave_dev);
|
||||
|
||||
if (!netif_running(slave_dev))
|
||||
return 0;
|
||||
|
||||
netif_device_attach(slave_dev);
|
||||
|
||||
rtnl_lock();
|
||||
|
Reference in New Issue
Block a user