diff options
Diffstat (limited to 'drivers/net/xen-netfront.c')
-rw-r--r-- | drivers/net/xen-netfront.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index db9a763aaa7f..d29365a232a1 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net/xen-netfront.c | |||
@@ -1581,7 +1581,9 @@ static int xennet_connect(struct net_device *dev) | |||
1581 | if (err) | 1581 | if (err) |
1582 | return err; | 1582 | return err; |
1583 | 1583 | ||
1584 | rtnl_lock(); | ||
1584 | netdev_update_features(dev); | 1585 | netdev_update_features(dev); |
1586 | rtnl_unlock(); | ||
1585 | 1587 | ||
1586 | spin_lock_bh(&np->rx_lock); | 1588 | spin_lock_bh(&np->rx_lock); |
1587 | spin_lock_irq(&np->tx_lock); | 1589 | spin_lock_irq(&np->tx_lock); |