diff options
author | Karl Hiramoto <karl@hiramoto.org> | 2010-09-23 01:50:54 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-27 01:29:18 (GMT) |
commit | a3d6713fbd2ccb50898a6f88664da96a7857c039 (patch) | |
tree | e772805828ad8c862c10b1845878baffbb11248e /include | |
parent | ca9a783575d2affed30ef27a3427a7705527ddac (diff) | |
download | linux-a3d6713fbd2ccb50898a6f88664da96a7857c039.tar.xz |
br2684: fix scheduling while atomic
You can't call atomic_notifier_chain_unregister() while in atomic context.
Fix, call un/register_atmdevice_notifier in module __init and __exit.
Bug report:
http://comments.gmane.org/gmane.linux.network/172603
Reported-by: Mikko Vinni <mmvinni@yahoo.com>
Tested-by: Mikko Vinni <mmvinni@yahoo.com>
Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions