[netfilter-cvslog] r3745 - trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/ipv6/netfilter

yasuyuki at netfilter.org yasuyuki at netfilter.org
Tue Mar 1 05:23:03 CET 2005


Author: yasuyuki at netfilter.org
Date: 2005-03-01 05:23:02 +0100 (Tue, 01 Mar 2005)
New Revision: 3745

Modified:
   trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
Log:
add __user to fix sparse warning



Modified: trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
===================================================================
--- trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c	2005-03-01 04:20:15 UTC (rev 3744)
+++ trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c	2005-03-01 04:23:02 UTC (rev 3745)
@@ -398,7 +398,7 @@
 /* Reversing the socket's dst/src point of view gives us the reply
    mapping. */
 static int
-getorigdst(struct sock *sk, int optval, void *user, int *len)
+getorigdst(struct sock *sk, int optval, void __user *user, int *len)
 {
 	struct inet_sock *inet = inet_sk(sk);
 	struct ipv6_pinfo *np = inet6_sk(sk);




More information about the netfilter-cvslog mailing list