Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139791
b: refs/heads/master
c: f1cffcb
h: refs/heads/master
i:
  139789: 5e8095a
  139787: cf24aaf
  139783: 3fc0930
  139775: 358f409
v: v3
  • Loading branch information
Andy Grover authored and David S. Miller committed Apr 2, 2009
1 parent 5260625 commit 3468281
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: f1782852adb57c8daf76a56146424f6c2f7410b6
refs/heads/master: f1cffcbfcc53b825da7d1d26244aabd8dccb24aa
6 changes: 3 additions & 3 deletions trunk/net/rds/send.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ void rds_send_drop_to(struct rds_sock *rs, struct sockaddr_in *dest)
{
struct rds_message *rm, *tmp;
struct rds_connection *conn;
unsigned long flags;
unsigned long flags, flags2;
LIST_HEAD(list);
int wake = 0;

Expand Down Expand Up @@ -651,9 +651,9 @@ void rds_send_drop_to(struct rds_sock *rs, struct sockaddr_in *dest)
list_for_each_entry(rm, &list, m_sock_item) {
/* We do this here rather than in the loop above, so that
* we don't have to nest m_rs_lock under rs->rs_lock */
spin_lock(&rm->m_rs_lock);
spin_lock_irqsave(&rm->m_rs_lock, flags2);
rm->m_rs = NULL;
spin_unlock(&rm->m_rs_lock);
spin_unlock_irqrestore(&rm->m_rs_lock, flags2);

/*
* If we see this flag cleared then we're *sure* that someone
Expand Down

0 comments on commit 3468281

Please sign in to comment.