Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198623
b: refs/heads/master
c: e513480
h: refs/heads/master
i:
  198621: 4044bc3
  198619: 6bc50e5
  198615: da7028d
  198607: aa984da
  198591: 3f41886
v: v3
  • Loading branch information
Rémi Denis-Courmont authored and David S. Miller committed May 25, 2010
1 parent a7ea300 commit 583e24b
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: 7466a38478a30d5f7248134c9bdcb4e1c01fe4d9
refs/heads/master: e513480e28cdfd868755f05c1a654fcfcee58070
2 changes: 2 additions & 0 deletions trunk/net/phonet/pep.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ static void pep_sock_close(struct sock *sk, long timeout)
struct pep_sock *pn = pep_sk(sk);
int ifindex = 0;

sock_hold(sk); /* keep a reference after sk_common_release() */
sk_common_release(sk);

lock_sock(sk);
Expand All @@ -644,6 +645,7 @@ static void pep_sock_close(struct sock *sk, long timeout)

if (ifindex)
gprs_detach(sk);
sock_put(sk);
}

static int pep_wait_connreq(struct sock *sk, int noblock)
Expand Down

0 comments on commit 583e24b

Please sign in to comment.