alistair23-linux/net/irda/irlan
Josh Triplett 1bc1731133 [IrDA]: Fix RCU lock pairing on error path
irlan_client_discovery_indication calls rcu_read_lock and rcu_read_unlock, but
returns without unlocking in an error case.  Fix that by replacing the return
with a goto so that the rcu_read_unlock always gets executed.

Signed-off-by: Josh Triplett <josh@freedesktop.org>
Acked-by: Paul E. McKenney <paulmck@us.ibm.com>
Signed-off-by: Samuel Ortiz samuel@sortiz.org <>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-29 17:02:31 -07:00
..
irlan_client.c [IrDA]: Fix RCU lock pairing on error path 2006-06-29 17:02:31 -07:00
irlan_client_event.c
irlan_common.c
irlan_eth.c [IPV4]: Replace __in_dev_get with __in_dev_get_rcu/rtnl 2005-10-03 14:35:55 -07:00
irlan_event.c
irlan_filter.c [IRDA]: IrDA prototype fixes 2005-09-05 18:08:11 -07:00
irlan_provider.c
irlan_provider_event.c
Kconfig
Makefile