]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IUCV]: wrong irq-disabling locking at module load time
authorUrsula Braun <braunu@de.ibm.com>
Fri, 8 Feb 2008 02:06:52 +0000 (18:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2008 02:06:52 +0000 (18:06 -0800)
commit435bc9dfc6927eed9465e297d7aca1217aa61956
treef095f65b884477991faa5d44e5c4c68deb122c7c
parenta219994bf5cca1208fb741b20ea9eb78e1711f81
[IUCV]: wrong irq-disabling locking at module load time

Linux may hang when running af_iucv socket programs concurrently
with a load of module netiucv. iucv_register() tries to take the
iucv_table_lock with spin_lock_irq. This conflicts with
iucv_connect() which has a need for an smp_call_function while
holding the iucv_table_lock.
Solution: use bh-disabling locking in iucv_register()

Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/iucv.c