| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] [sparse] missing annotation in ipv6 addrconf |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Mon, 12 Jul 2004 15:04:44 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| Organization: | Open Source Development Lab |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Missing __user annotation in simulated ioctl call.
Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxx>
diff -Nru a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
--- a/net/ipv6/addrconf.c 2004-07-12 15:02:04 -07:00
+++ b/net/ipv6/addrconf.c 2004-07-12 15:02:04 -07:00
@@ -1544,7 +1544,7 @@
p.iph.ihl = 5;
p.iph.protocol = IPPROTO_IPV6;
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);
err = dev->do_ioctl(dev, &ifr, SIOCADDTUNNEL);
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] [sparse] bad initializer in ipv6 netfilter., Stephen Hemminger |
|---|---|
| Next by Date: | [PATCH] [sparse] minor #if complaint, Stephen Hemminger |
| Previous by Thread: | [PATCH] [sparse] bad initializer in ipv6 netfilter., Stephen Hemminger |
| Next by Thread: | Re: [PATCH] [sparse] missing annotation in ipv6 addrconf, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |