Thread (5 messages) flat view 5 messages, 3 authors, 2012-09-05

Re: [PATCH] decnet: fix shutdown parameter checking

From: David Miller <davem@davemloft.net>
Date: 2012-08-31 19:57:23
Also in: lkml

From: Steven Whitehouse <redacted>
Date: Mon, 27 Aug 2012 10:16:41 +0100
On Sun, 2012-08-26 at 22:37 -0400, Xi Wang wrote:
quoted
The allowed value of "how" is SHUT_RD/SHUT_WR/SHUT_RDWR (0/1/2),
rather than SHUTDOWN_MASK (3).

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Acked-by: Steven Whitehouse <redacted>
Applied to net-next.
Although it could be argued that we should also continue to accept the
value 3 just in case there is any userland software out there which
sends that value,
True, but this is a rather standard BSD socket interface with a very
specific small set of legitimate input parameters.  Allowing
deviation, even for compatability for specific protocols, is largely
unwise.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help