af_iucv: consider state IUCV_CLOSING when closing a socket
authorUrsula Braun <ursula.braun@de.ibm.com>
Tue, 21 Apr 2009 06:04:20 +0000 (06:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Apr 2009 06:43:13 +0000 (23:43 -0700)
commitbbe188c8f16effd902d1ad391e06e41ce649b22e
tree1fde9d3cdf87e0c86c47cb0b74350c5b52c42302
parentdf833b1d73680f9f9dc72cbc3215edbbc6ab740d
af_iucv: consider state IUCV_CLOSING when closing a socket

Make sure a second invocation of iucv_sock_close() guarantees proper
freeing of an iucv path.

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