[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120718.114414.1502102915415545793.davem@davemloft.net>
Date: Wed, 18 Jul 2012 11:44:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: john.r.fastabend@...el.com
Cc: gaofeng@...fujitsu.com, nhorman@...driver.com,
mark.d.rustad@...el.com, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH] net: cgroup: null ptr dereference in netprio cgroup
during init
From: John Fastabend <john.r.fastabend@...el.com>
Date: Wed, 18 Jul 2012 11:27:11 -0700
> @@ -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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists