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
..
2005-11-08 09:41:34 -08:00
2005-04-16 15:20:36 -07:00
2006-05-22 16:54:08 -07:00
2005-08-29 15:32:25 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 15:32:25 -07:00
2005-04-16 15:20:36 -07:00
2005-08-29 16:01:43 -07:00
2005-04-16 15:20:36 -07:00
2005-09-24 16:55:17 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-05 18:08:11 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00