From: "David S. Miller" <davem@davemloft.net>
To: Olaf Kirch <okir@suse.de>
Cc: netdev@oss.sgi.com
Subject: Re: [PATCH] Problem with recent CMSG_COMPAT_OK fix
Date: Mon, 10 Jan 2005 12:52:06 -0800 [thread overview]
Message-ID: <20050110125206.05ee6cfe.davem@davemloft.net> (raw)
In-Reply-To: <20050104165934.GJ7761@suse.de>
On Tue, 4 Jan 2005 17:59:34 +0100
Olaf Kirch <okir@suse.de> wrote:
> The recent fixes for cmsg_len handling seem to break 32bit compatibility
> at least on x86_64. The new CMSG_COMPAT_OK macro requires that cmsg_len
> is greater or equal the size of struct cmsghdr, which is the 64bit
> version of the struct. The code should really check against the size
> of struct compat_cmsghdr.
>
> Signed-off-by: Olaf Kirch <okir@suse.de>
Applied, thanks Olaf.
prev parent reply other threads:[~2005-01-10 20:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-04 16:59 [PATCH] Problem with recent CMSG_COMPAT_OK fix Olaf Kirch
2005-01-10 20:52 ` David S. Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050110125206.05ee6cfe.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@oss.sgi.com \
--cc=okir@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).