Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186366
b: refs/heads/master
c: ab1b18f
h: refs/heads/master
v: v3
  • Loading branch information
Neil Brown authored and J. Bruce Fields committed Feb 26, 2010
1 parent d49420e commit 384da4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 58255a4e3ce506b43bb14d5579006731a981490d
refs/heads/master: ab1b18f70a007ea6caeb007d269abb75b131a410
5 changes: 1 addition & 4 deletions trunk/net/sunrpc/svc_xprt.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,8 @@ void svc_delete_xprt(struct svc_xprt *xprt)
if (test_bit(XPT_TEMP, &xprt->xpt_flags))
serv->sv_tmpcnt--;

for (dr = svc_deferred_dequeue(xprt); dr;
dr = svc_deferred_dequeue(xprt)) {
svc_xprt_put(xprt);
while ((dr = svc_deferred_dequeue(xprt)) != NULL)
kfree(dr);
}

svc_xprt_put(xprt);
spin_unlock_bh(&serv->sv_lock);
Expand Down

0 comments on commit 384da4d

Please sign in to comment.