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
..
2006-05-16 15:23:40 -07:00
2006-06-17 21:29:45 -07:00
2005-08-29 15:31:14 -07:00
2006-06-17 21:29:19 -07:00
2006-06-26 09:58:17 -07:00
2006-06-20 03:26:14 -07:00
2006-06-27 17:32:39 -07:00
2006-06-27 17:32:39 -07:00
2006-06-29 16:58:06 -07:00
2006-06-29 16:58:33 -07:00
2006-01-12 14:06:31 -08:00
2005-04-16 15:20:36 -07:00