aboutsummaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorDavid L Stevens <dlstevens@us.ibm.com>2008-04-27 01:06:07 -0700
committerDavid S. Miller <davem@davemloft.net>2008-04-27 14:26:53 -0700
commitdae50295488f35d2d617b08a5fae43154c947eec (patch)
treeafee67a0e85f4a168e0bb75423f1b703f48baad3 /include/net
parent01a2202c95989a4df48e9a5b5e013cb80c6b2d66 (diff)
ipv4/ipv6 compat: Fix SSM applications on 64bit kernels.
Add support on 64-bit kernels for seting 32-bit compatible MCAST* socket options. Signed-off-by: David L Stevens <dlstevens@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/compat.h b/include/net/compat.h
index 406db242f73..05fa5d0254a 100644
--- a/include/net/compat.h
+++ b/include/net/compat.h
@@ -40,4 +40,7 @@ extern int put_cmsg_compat(struct msghdr*, int, int, int, void *);
extern int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *, unsigned char *, int);
+extern int compat_mc_setsockopt(struct sock *, int, int, char __user *, int,
+ int (*)(struct sock *, int, int, char __user *, int));
+
#endif /* NET_COMPAT_H */