aboutsummaryrefslogtreecommitdiff
path: root/include/net/netns/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/netns/packet.h')
-rw-r--r--include/net/netns/packet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/netns/packet.h b/include/net/netns/packet.h
index 637daf69888..17ec2b95c06 100644
--- a/include/net/netns/packet.h
+++ b/include/net/netns/packet.h
@@ -4,11 +4,11 @@
#ifndef __NETNS_PACKET_H__
#define __NETNS_PACKET_H__
-#include <linux/list.h>
-#include <linux/spinlock.h>
+#include <linux/rculist.h>
+#include <linux/mutex.h>
struct netns_packet {
- rwlock_t sklist_lock;
+ struct mutex sklist_lock;
struct hlist_head sklist;
};