Thread (5 messages) flat view 5 messages, 3 authors, 2012-08-12

Re: [PATCH] macvtap: rcu_dereference outside read-lock section

From: David Miller <davem@davemloft.net>
Date: 2012-08-12 01:16:46
Also in: lkml

From: Denis Efremov <redacted>
Date: Sat, 11 Aug 2012 14:05:27 +0400
-		if (rcu_dereference(vlan->taps[i]) == q)
+		if (rcu_dereference_protected(vlan->taps[i],
+				lockdep_is_held(&macvtap_lock)) == q)
You must use the proper combination of TAB character and spaces
to line up the lockdep_is_held() argument with the first column
after openning "(" on the previous line.

Never be lazy and use only TABs.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help