|
@@ -1592,7 +1592,7 @@ svc_age_temp_sockets(unsigned long closure)
|
|
|
|
|
|
|
|
if (!test_and_set_bit(SK_OLD, &svsk->sk_flags))
|
|
if (!test_and_set_bit(SK_OLD, &svsk->sk_flags))
|
|
|
continue;
|
|
continue;
|
|
|
- if (atomic_read(&svsk->sk_inuse) || test_bit(SK_BUSY, &svsk->sk_flags))
|
|
|
|
|
|
|
+ if (atomic_read(&svsk->sk_inuse) > 1 || test_bit(SK_BUSY, &svsk->sk_flags))
|
|
|
continue;
|
|
continue;
|
|
|
atomic_inc(&svsk->sk_inuse);
|
|
atomic_inc(&svsk->sk_inuse);
|
|
|
list_move(le, &to_be_aged);
|
|
list_move(le, &to_be_aged);
|