Thread (2 messages) flat view 2 messages, 2 authors, 2012-07-18

Re: [PATCH] net: cgroup: null ptr dereference in netprio cgroup during init

From: David Miller <davem@davemloft.net>
Date: 2012-07-18 18:44:15

From: John Fastabend <redacted>
Date: Wed, 18 Jul 2012 11:27:11 -0700
quoted hunk ↗ jump to hunk
@@ -27,7 +27,9 @@ static DEFINE_MUTEX(net_mutex);
 LIST_HEAD(net_namespace_list);
 EXPORT_SYMBOL_GPL(net_namespace_list);
 
-struct net init_net;
+struct net init_net = {
+			.count = ATOMIC_INIT(0),
+		      };
 EXPORT_SYMBOL(init_net);
That's some fancy indentation you've got there cowboy.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help