Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT checkmissing
From: David S. Miller
Date: Sat Jun 05 2004 - 16:41:59 EST
On Sat, 5 Jun 2004 23:17:01 +0200
Olaf Hering <olh@xxxxxxx> wrote:
> On Sat, Jun 05, David S. Miller wrote:
>
> > I can't see a reason, can anyone else? If there is no reason, the
> > right fix is simply to mask it out at the top level, for both
> > sendmsg and recvmsg.
>
> I did it first this way, but the result was a long delay until the dhcp
> server replied, the patch sent earlier leads to a fast reply.
>
> err = sock_recvmsg(sock, &msg_sys, total_len, flags & ~MSG_CMSG_COMPAT);
See my other email, net/core/scm.c needs this bit set all the
way down into the implementations.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/