Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221628
b: refs/heads/master
c: 8200a59
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Nov 4, 2010
1 parent 37c4ccd commit 154a1b7
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 58c490babd4b425310363cbd1f406d7e508f77a5
refs/heads/master: 8200a59f24aeca379660f80658a8c0c343ca5c31
6 changes: 6 additions & 0 deletions trunk/net/rds/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,13 @@ static int rds_tcp_conn_alloc(struct rds_connection *conn, gfp_t gfp)
static void rds_tcp_conn_free(void *arg)
{
struct rds_tcp_connection *tc = arg;
unsigned long flags;
rdsdebug("freeing tc %p\n", tc);

spin_lock_irqsave(&rds_tcp_conn_lock, flags);
list_del(&tc->t_tcp_node);
spin_unlock_irqrestore(&rds_tcp_conn_lock, flags);

kmem_cache_free(rds_tcp_conn_slab, tc);
}

Expand Down

0 comments on commit 154a1b7

Please sign in to comment.