Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279028
b: refs/heads/master
c: 42bd48e
h: refs/heads/master
v: v3
  • Loading branch information
Ursula Braun authored and David S. Miller committed Dec 20, 2011
1 parent 07d6e13 commit ccda10a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c64d3f8f59367e89e83582b50bf072474ba2abff
refs/heads/master: 42bd48e0145567acf7b3d2ae48bea765315bdd89
7 changes: 7 additions & 0 deletions trunk/net/iucv/af_iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -2293,6 +2293,13 @@ static void afiucv_hs_callback_txnotify(struct sk_buff *skb,
}
spin_unlock_irqrestore(&list->lock, flags);

if (sk->sk_state == IUCV_CLOSING) {
if (skb_queue_empty(&iucv_sk(sk)->send_skb_q)) {
sk->sk_state = IUCV_CLOSED;
sk->sk_state_change(sk);
}
}

out_unlock:
bh_unlock_sock(sk);
}
Expand Down

0 comments on commit ccda10a

Please sign in to comment.