Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74883
b: refs/heads/master
c: 215f7b0
h: refs/heads/master
i:
  74881: f964678
  74879: 3f77e8f
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Dec 16, 2007
1 parent 9e6d547 commit fba7208
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 488faa2ae32c2f8b1ffda5c7fae5eb7c979acc15
refs/heads/master: 215f7b08f2a142ec19f4bd3d6de263e68b877955
2 changes: 2 additions & 0 deletions trunk/net/ax25/ax25_subr.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ void ax25_disconnect(ax25_cb *ax25, int reason)
ax25_link_failed(ax25, reason);

if (ax25->sk != NULL) {
local_bh_disable();
bh_lock_sock(ax25->sk);
ax25->sk->sk_state = TCP_CLOSE;
ax25->sk->sk_err = reason;
Expand All @@ -288,5 +289,6 @@ void ax25_disconnect(ax25_cb *ax25, int reason)
sock_set_flag(ax25->sk, SOCK_DEAD);
}
bh_unlock_sock(ax25->sk);
local_bh_enable();
}
}

0 comments on commit fba7208

Please sign in to comment.