[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)
commite247a8f5d018740220c66bd5df1928d21d277d63
tree33b455ee1a445d2c00e7392593ed7d5ee9c7d7f1
parent8c8696553aa3895c2ad4289537e4af45a8877b62
[TIPC]: Add argument validation for shutdown()

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