Files
i2som-imx-linux/include/net
Eric W. Biederman 952f4da950 netns: Fail conspicously if someone uses net_generic at an inappropriate time.
[ Upstream commit 5ee4433efe ]

By definition net_generic should never be called when it can return
NULL.  Fail conspicously with a BUG_ON to make it clear when people mess
up that a NULL return should never happen.

Recently there was a bug in the CAIF subsystem where it was registered
with register_pernet_device instead of register_pernet_subsys.  It was
erroneously concluded that net_generic could validly return NULL and
that net_assign_generic was buggy (when it was just inefficient).
Hopefully this BUG_ON will prevent people to coming to similar erroneous
conclusions in the futrue.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Tested-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-03 09:22:18 -08:00
..
2011-03-31 11:26:23 -03:00
2011-08-13 01:10:16 -07:00
2011-07-26 16:49:47 -07:00
2011-11-08 15:02:44 -05:00
2011-05-05 11:10:14 -07:00
2011-12-22 22:34:56 -05:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-07-17 23:11:35 -07:00
2011-03-31 11:26:23 -03:00
2011-09-16 19:20:20 -04:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-05-17 14:16:58 -04:00
2011-06-11 16:23:59 -07:00
2011-12-23 02:15:14 -05:00
2011-03-31 11:26:23 -03:00