summaryrefslogtreecommitdiffstats
path: root/include/net/llc.h
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/llc.h
parent52d58aef5ee460fedd7f250f05e79081019f2c79 (diff)
downloadlinux-8beb9ab6c2df203e8d68cb1f48cf42604a6bed86.tar.gz
linux-8beb9ab6c2df203e8d68cb1f48cf42604a6bed86.tar.bz2
linux-8beb9ab6c2df203e8d68cb1f48cf42604a6bed86.zip
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/llc.h')
-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 709a9b37e239..5503b74ab170 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);