Commit db3b92ff authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[IPV6]: Missing sparse annotation in addrconf.

Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 0af90c04
...@@ -1544,7 +1544,7 @@ int addrconf_set_dstaddr(void __user *arg) ...@@ -1544,7 +1544,7 @@ int addrconf_set_dstaddr(void __user *arg)
p.iph.ihl = 5; p.iph.ihl = 5;
p.iph.protocol = IPPROTO_IPV6; p.iph.protocol = IPPROTO_IPV6;
p.iph.ttl = 64; p.iph.ttl = 64;
ifr.ifr_ifru.ifru_data = (void*)&p; ifr.ifr_ifru.ifru_data = (void __user *)&p;
oldfs = get_fs(); set_fs(KERNEL_DS); oldfs = get_fs(); set_fs(KERNEL_DS);
err = dev->do_ioctl(dev, &ifr, SIOCADDTUNNEL); err = dev->do_ioctl(dev, &ifr, SIOCADDTUNNEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment