diff options
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 93c5d72711b0..2c5d34957c57 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -531,7 +531,7 @@ static void tun_net_init(struct net_device *dev) | |||
531 | ether_setup(dev); | 531 | ether_setup(dev); |
532 | dev->priv_flags &= ~IFF_TX_SKB_SHARING; | 532 | dev->priv_flags &= ~IFF_TX_SKB_SHARING; |
533 | 533 | ||
534 | random_ether_addr(dev->dev_addr); | 534 | eth_hw_addr_random(dev); |
535 | 535 | ||
536 | dev->tx_queue_len = TUN_READQ_SIZE; /* We prefer our own queue length */ | 536 | dev->tx_queue_len = TUN_READQ_SIZE; /* We prefer our own queue length */ |
537 | break; | 537 | break; |