]> rtime.felk.cvut.cz Git - linux-imx.git/commit
Phonet: device notifier only runs on initial namespace
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>
Mon, 25 Oct 2010 07:43:32 +0000 (10:43 +0300)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:47 +0000 (13:54 -0700)
commitd58f50ab3cb89696982deeae32ef9e0eab96f787
treede93397263dc1c0c6c8ce7e5254009cd2c7d88b9
parent6f40d761f0210858e4adbadd33b55020d291ef76
Phonet: device notifier only runs on initial namespace

[bwh: This is only applicable to 2.6.32. Phonet was fixed upstream to
work with multiple net namespaces.]

This should really fix the OOPS when doing:

  unshare(CLONE_NEWNET);
  exit(0);

while the phonet module is loaded.

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
net/phonet/pn_dev.c