[TIPC]: Add argument validation for shutdown()
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 6 Mar 2008 23:05:38 +0000 (15:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2008 23:05:38 +0000 (15:05 -0800)
This patch validates that the "how" argument to shutdown()
is SHUT_RDWR, since this is the only form that TIPC supports.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c

Simple merge