]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Do not take the genl mutex from the netlink release notifier
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 14 Dec 2011 15:43:07 +0000 (16:43 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Dec 2011 19:50:12 +0000 (14:50 -0500)
commita140f52e3f965ea5b75b3469ee11dbaf15c5768a
treea0c03bd37faaf72ca839024433a4a90ae9d3b20a
parent136f18c23b1d6efd33ffac471e12018deb1ead19
NFC: Do not take the genl mutex from the netlink release notifier

The netlink notifier is atomic so we must not sleep in that context.
Also we know that Any netlink packets arriving to us will be purged when
the notifier is called, so we don't need to take the mutex.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/netlink.c