diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ip_gre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index 0286d78c589c..b59414a0c1ee 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c | |||
@@ -1536,7 +1536,7 @@ static int ipgre_newlink(struct net *src_net, struct net_device *dev, struct nla | |||
1536 | return -EEXIST; | 1536 | return -EEXIST; |
1537 | 1537 | ||
1538 | if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS]) | 1538 | if (dev->type == ARPHRD_ETHER && !tb[IFLA_ADDRESS]) |
1539 | random_ether_addr(dev->dev_addr); | 1539 | eth_hw_addr_random(dev); |
1540 | 1540 | ||
1541 | mtu = ipgre_tunnel_bind_dev(dev); | 1541 | mtu = ipgre_tunnel_bind_dev(dev); |
1542 | if (!tb[IFLA_MTU]) | 1542 | if (!tb[IFLA_MTU]) |