[ATM]: track and close listen sockets when sigd exits
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
This commit is contained in:
committed by
David S. Miller
parent
e2c4b72158
commit
9301e320e9
@@ -302,6 +302,7 @@ static int svc_listen(struct socket *sock,int backlog)
|
||||
error = -EINVAL;
|
||||
goto out;
|
||||
}
|
||||
vcc_insert_socket(sk);
|
||||
set_bit(ATM_VF_WAITING, &vcc->flags);
|
||||
prepare_to_wait(sk->sk_sleep, &wait, TASK_UNINTERRUPTIBLE);
|
||||
sigd_enq(vcc,as_listen,NULL,NULL,&vcc->local);
|
||||
|
Reference in New Issue
Block a user