aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/sit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 85ff37b1ce02..a3437a4cd07e 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -1426,9 +1426,9 @@ static int ipip6_newlink(struct net *src_net, struct net_device *dev,
1426static int ipip6_changelink(struct net_device *dev, struct nlattr *tb[], 1426static int ipip6_changelink(struct net_device *dev, struct nlattr *tb[],
1427 struct nlattr *data[]) 1427 struct nlattr *data[])
1428{ 1428{
1429 struct ip_tunnel *t; 1429 struct ip_tunnel *t = netdev_priv(dev);
1430 struct ip_tunnel_parm p; 1430 struct ip_tunnel_parm p;
1431 struct net *net = dev_net(dev); 1431 struct net *net = t->net;
1432 struct sit_net *sitn = net_generic(net, sit_net_id); 1432 struct sit_net *sitn = net_generic(net, sit_net_id);
1433#ifdef CONFIG_IPV6_SIT_6RD 1433#ifdef CONFIG_IPV6_SIT_6RD
1434 struct ip_tunnel_6rd ip6rd; 1434 struct ip_tunnel_6rd ip6rd;