Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290822
b: refs/heads/master
c: c75a312
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Mar 8, 2012
1 parent fbab97f commit cfcdab5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: ace30d73ef09fd5f95b24c5c1c5aa11963981494
refs/heads/master: c75a312d8b2c97943014261d71c6ef2622b6d0d9
3 changes: 2 additions & 1 deletion trunk/net/ipv4/tcp_ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,8 @@ struct tcp_md5sig_key *tcp_md5_do_lookup(struct sock *sk,

/* caller either holds rcu_read_lock() or socket lock */
md5sig = rcu_dereference_check(tp->md5sig_info,
sock_owned_by_user(sk));
sock_owned_by_user(sk) ||
lockdep_is_held(&sk->sk_lock.slock));
if (!md5sig)
return NULL;
#if IS_ENABLED(CONFIG_IPV6)
Expand Down

0 comments on commit cfcdab5

Please sign in to comment.