Messages in this thread | | | Date | Sat, 11 Aug 2012 18:16:42 -0700 (PDT) | Subject | Re: [PATCH] macvtap: rcu_dereference outside read-lock section | From | David Miller <> |
| |
From: Denis Efremov <yefremov.denis@gmail.com> 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.
| |