diff options
| author | christos <christos@NetBSD.org> | 2006-09-02 06:53:17 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-09-02 06:53:17 +0000 |
| commit | de02317b327b3b7efe05ed751ea5c0a5928ee53b (patch) | |
| tree | 3193d3481d73a27f0a8154d965bb3630586daf34 /sys/compat/linux/common/linux_socket.c | |
| parent | c4501e2800440cdd33ac68e322317e8e3ef6640f (diff) | |
comment out impossible code
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
| -rw-r--r-- | sys/compat/linux/common/linux_socket.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c index cbf4a89660c..3820b5f2af4 100644 --- a/sys/compat/linux/common/linux_socket.c +++ b/sys/compat/linux/common/linux_socket.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_socket.c,v 1.65 2006/07/23 22:06:09 ad Exp $ */ +/* $NetBSD: linux_socket.c,v 1.66 2006/09/02 06:53:17 christos Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.65 2006/07/23 22:06:09 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.66 2006/09/02 06:53:17 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -819,9 +819,11 @@ linux_sys_recvmsg(l, v, retval) if (error) goto done; /* zero pad */ +#if 0 for(i=0; i < LINUX_CMSG_ALIGN(sizeof(cmsg)) - sizeof(cmsg); i++) { copyout("",&ocontrol[sizeof(cmsg)+i],1); } +#endif sd = CMSG_DATA(cc); td = LINUX_CMSG_DATA(ocontrol); |
