Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194535
b: refs/heads/master
c: 7ec75c5
h: refs/heads/master
i:
  194533: 77e4e54
  194531: 165d79f
  194527: 707fe74
v: v3
  • Loading branch information
Paul E. McKenney authored and David S. Miller committed Apr 27, 2010
1 parent 9b02436 commit 6d72136
Show file tree
Hide file tree
Showing 2 changed files with 4 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: d4c4f07df16c767b8efbc44e7cdf795fac326b33
refs/heads/master: 7ec75c582e639d956ce3afd499f67febe6f902a4
4 changes: 3 additions & 1 deletion trunk/include/net/inet_timewait_sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ static inline
struct net *twsk_net(const struct inet_timewait_sock *twsk)
{
#ifdef CONFIG_NET_NS
return rcu_dereference(twsk->tw_net);
return rcu_dereference_raw(twsk->tw_net); /* protected by locking, */
/* reference counting, */
/* initialization, or RCU. */
#else
return &init_net;
#endif
Expand Down

0 comments on commit 6d72136

Please sign in to comment.