Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103009
b: refs/heads/master
c: 30902dc
h: refs/heads/master
i:
  103007: ee234e3
v: v3
  • Loading branch information
David S. Miller committed Jun 18, 2008
1 parent 4cd0444 commit bd527b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d45abe1c2949183e5d9cb25721bf1c42c7b5e3b
refs/heads/master: 30902dc3cb0ea1cfc7ac2b17bcf478ff98420d74
8 changes: 3 additions & 5 deletions trunk/net/ax25/ax25_std_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,9 @@ void ax25_std_heartbeat_expiry(ax25_cb *ax25)

switch (ax25->state) {
case AX25_STATE_0:
/* Magic here: If we listen() and a new link dies before it
is accepted() it isn't 'dead' so doesn't get removed. */
if (!sk || sock_flag(sk, SOCK_DESTROY) ||
(sk->sk_state == TCP_LISTEN &&
sock_flag(sk, SOCK_DEAD))) {
if (!sk ||
sock_flag(sk, SOCK_DESTROY) ||
sock_flag(sk, SOCK_DEAD)) {
if (sk) {
sock_hold(sk);
ax25_destroy_socket(ax25);
Expand Down

0 comments on commit bd527b9

Please sign in to comment.