Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Signed-off-by: Samuel Ortiz [email protected] <> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information