diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-02-17 21:48:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 21:48:44 -0500 |
commit | 6457d26bd40077238799e31df2b800bcf4ef9177 (patch) | |
tree | 4d9f085a8f33fa5528c14cbf60678295bbe74d11 /include/net/if_inet6.h | |
parent | dfa1a041094f4a6e5845a19a1b10e317676722e7 (diff) |
IPv6: convert mc_lock to spinlock
Only used for writing, so convert to spinlock
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/if_inet6.h')
-rw-r--r-- | include/net/if_inet6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h index e9d69d198495..545d8b059bef 100644 --- a/include/net/if_inet6.h +++ b/include/net/if_inet6.h | |||
@@ -157,7 +157,7 @@ struct inet6_dev { | |||
157 | 157 | ||
158 | struct ifmcaddr6 *mc_list; | 158 | struct ifmcaddr6 *mc_list; |
159 | struct ifmcaddr6 *mc_tomb; | 159 | struct ifmcaddr6 *mc_tomb; |
160 | rwlock_t mc_lock; | 160 | spinlock_t mc_lock; |
161 | unsigned char mc_qrv; | 161 | unsigned char mc_qrv; |
162 | unsigned char mc_gq_running; | 162 | unsigned char mc_gq_running; |
163 | unsigned char mc_ifc_count; | 163 | unsigned char mc_ifc_count; |