]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 May 2011 22:55:39 +0000 (15:55 -0700)
commitc33790ec1212ef7a3f302c3e410cba6e0affe489
tree45692b9cb916d204aa6b7a121313f0a27229e205
parentffa7db22639e3df2c335691b9b0abbcba7ae18ed
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>
net/phonet/pn_dev.c