Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22218
b: refs/heads/master
c: 2e1f47c
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and David S. Miller committed Mar 21, 2006
1 parent e92a1b2 commit ad4b9d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: 2342c990bbd2c075d627720006f0e602134346a7
refs/heads/master: 2e1f47c74c26a591fc490eb339f1b3167361158b
4 changes: 3 additions & 1 deletion trunk/net/llc/af_llc.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,10 @@ static int llc_ui_release(struct socket *sock)
llc->laddr.lsap, llc->daddr.lsap);
if (!llc_send_disc(sk))
llc_ui_wait_for_disc(sk, sk->sk_rcvtimeo);
if (!sock_flag(sk, SOCK_ZAPPED))
if (!sock_flag(sk, SOCK_ZAPPED)) {
llc_sap_put(llc->sap);
llc_sap_remove_socket(llc->sap, sk);
}
release_sock(sk);
if (llc->dev)
dev_put(llc->dev);
Expand Down
1 change: 0 additions & 1 deletion trunk/net/llc/llc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ struct llc_sap *llc_sap_open(unsigned char lsap,
goto out;
sap->laddr.lsap = lsap;
sap->rcv_func = func;
llc_sap_hold(sap);
llc_add_sap(sap);
out:
write_unlock_bh(&llc_sap_list_lock);
Expand Down

0 comments on commit ad4b9d2

Please sign in to comment.