summaryrefslogtreecommitdiffstats
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netns/packet.h b/include/net/netns/packet.h
index cb4e894c0f8d..17ec2b95c062 100644
--- a/include/net/netns/packet.h
+++ b/include/net/netns/packet.h
@@ -5,10 +5,10 @@
#define __NETNS_PACKET_H__
#include <linux/rculist.h>
-#include <linux/spinlock.h>
+#include <linux/mutex.h>
struct netns_packet {
- spinlock_t sklist_lock;
+ struct mutex sklist_lock;
struct hlist_head sklist;
};
OpenPOWER on IntegriCloud