af_iucv: Free iucv path/socket in path_pending callback
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Tue, 6 Jan 2009 02:08:23 +0000 (18:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2009 02:08:23 +0000 (18:08 -0800)
commit65dbd7c2778f1921ef1ee2a73e47a2a126fed30f
tree12b6b4517fcc202fe1246c2c87e540cf135fa2d4
parent18becbc5479f88d5adc218374ca62b8b93ec2545
af_iucv: Free iucv path/socket in path_pending callback

Free iucv path after iucv_path_sever() calls in iucv_callback_connreq()
(path_pending() iucv callback).
If iucv_path_accept() fails, free path and free/kill newly created socket.

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