netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [sparse] missing annotation in ipv6 addrconf
@ 2004-07-12 22:04 Stephen Hemminger
  2004-07-21 20:47 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2004-07-12 22:04 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

Missing __user annotation in simulated ioctl call.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [sparse] missing annotation in ipv6 addrconf
  2004-07-12 22:04 [PATCH] [sparse] missing annotation in ipv6 addrconf Stephen Hemminger
@ 2004-07-21 20:47 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-07-21 20:47 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

On Mon, 12 Jul 2004 15:04:44 -0700
Stephen Hemminger <shemminger@osdl.org> wrote:

> Missing __user annotation in simulated ioctl call.
> 
> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Applied, thanks Stephen.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-21 20:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-12 22:04 [PATCH] [sparse] missing annotation in ipv6 addrconf Stephen Hemminger
2004-07-21 20:47 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).