af_iucv: Reject incoming msgs if RECV_SHUTDOWN is set
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Tue, 21 Apr 2009 06:04:22 +0000 (06:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Apr 2009 06:43:14 +0000 (23:43 -0700)
commitfe86e54ef9465c97a16337d2a41a4cf486b937ae
tree716996d116737a0acf6bcb714cb52a63f6095d43
parent60d3705fcbfe7deca8e94bc7ddecd6f9f1a4647e
af_iucv: Reject incoming msgs if RECV_SHUTDOWN is set

Reject incoming iucv messages if the receive direction has been shut down.
It avoids that the queue of outstanding messages increases and exceeds the
message limit of the iucv communication path.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c