summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorOctavian Purdila <opurdila@ixiacom.com>2009-12-26 11:51:06 +0000
committerDavid S. Miller <davem@davemloft.net>2009-12-26 20:46:28 -0800
commit8beb9ab6c2df203e8d68cb1f48cf42604a6bed86 (patch)
treef342d582af0dd5f62016edcd2a50d2873ebcdbf2 /include/net
parent52d58aef5ee460fedd7f250f05e79081019f2c79 (diff)
llc: convert llc_sap_list to RCU
Signed-off-by: Octavian Purdila <opurdila@ixiacom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/llc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/llc.h b/include/net/llc.h
index 709a9b37e23..5503b74ab17 100644
--- a/include/net/llc.h
+++ b/include/net/llc.h
@@ -93,7 +93,7 @@ struct hlist_nulls_head *llc_sk_laddr_hash(struct llc_sap *sap,
#define LLC_DEST_CONN 2 /* Type 2 goes here */
extern struct list_head llc_sap_list;
-extern rwlock_t llc_sap_list_lock;
+extern spinlock_t llc_sap_list_lock;
extern int llc_rcv(struct sk_buff *skb, struct net_device *dev,
struct packet_type *pt, struct net_device *orig_dev);