| To: | "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing |
| From: | Olaf Hering <olh@xxxxxxx> |
| Date: | Sat, 5 Jun 2004 23:17:01 +0200 |
| Cc: | linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20040605140153.6c5945a0.davem@redhat.com> |
| References: | <20040605204334.GA1134@suse.de> <20040605140153.6c5945a0.davem@redhat.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt und vi sind doch schneller als Notes |
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);
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÃRNBERG
|
| Previous by Date: | Re: PATCH: Re: tun device - bug or feature? WAS(Re: IMQ / new Dummy device post., David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, David S. Miller |
| Previous by Thread: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, David S. Miller |
| Next by Thread: | Re: [PATCH] compat bug in sys_recvmsg, MSG_CMSG_COMPAT check missing, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |