ppp: remove PPPOX_ZOMBIE socket state
PPPOX_ZOMBIE is never set anymore. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8734e485fe
commit
a8acce6aa5
@@ -58,7 +58,7 @@ void pppox_unbind_sock(struct sock *sk)
|
||||
{
|
||||
/* Clear connection to ppp device, if attached. */
|
||||
|
||||
if (sk->sk_state & (PPPOX_BOUND | PPPOX_CONNECTED | PPPOX_ZOMBIE)) {
|
||||
if (sk->sk_state & (PPPOX_BOUND | PPPOX_CONNECTED)) {
|
||||
ppp_unregister_channel(&pppox_sk(sk)->chan);
|
||||
sk->sk_state = PPPOX_DEAD;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user