[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090130062009.GA4625@gondor.apana.org.au>
Date: Fri, 30 Jan 2009 17:20:09 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: John Reumann <reumann.linux@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] Return EINVAL if the user provides a return data
structure for getsockname that is too small to hold the PF_
address. This introduces a new error code but this should be OK as
the error is real and would otherwise corrupt the
user-application's stack, i.e., it results in trouble no matter
what. I do not do a partial copy of the sockaddr structure because
it does not make very much sense to retrieve only part of the
socket address (e.g., ip + af_family).
John Reumann <reumann.linux@...il.com> wrote:
> ---
> net/ipv4/af_inet.c | 7 +++++--
> net/ipv6/af_inet6.c | 3 +++
> 2 files changed, 8 insertions(+), 2 deletions(-)
Why are you resending this patch with no real changes? We had
already vetoed it in its current form.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists