Thread (2 messages) 2 messages, 2 authors, 2009-01-30

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).

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2009-01-30 06:20:14

John Reumann [off-list ref] 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~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help