android_kernel_xiaomi_sm8350/net/irda
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
..
ircomm [PATCH] devfs: Remove the tty_driver devfs_name field as it's no longer needed 2006-06-26 12:25:09 -07:00
irlan [IrDA]: Fix RCU lock pairing on error path 2006-06-29 17:02:31 -07:00
irnet [PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree 2006-06-26 12:25:08 -07:00
af_irda.c [NET]: Fix ipx/econet/appletalk/irda ioctl crashes 2006-03-28 17:02:43 -08:00
discovery.c
irda_device.c [IRDA]: Set proper IrLAP device address length 2006-02-09 16:58:46 -08:00
iriap_event.c
iriap.c [IRDA]: fix 16/32 bit confusion 2006-05-22 16:54:08 -07:00
irias_object.c [IRDA]: Removing unused EXPORT_SYMBOLs 2006-05-09 15:25:25 -07:00
irlap_event.c
irlap_frame.c
irlap.c [IRDA]: Missing allocation result check in irlap_change_speed(). 2006-06-05 15:34:52 -07:00
irlmp_event.c
irlmp_frame.c
irlmp.c [IRDA]: Use put_unaligned() in irlmp_do_discovery(). 2006-06-17 22:16:13 -07:00
irmod.c
irproc.c
irqueue.c
irsysctl.c
irttp.c
Kconfig
Makefile
parameters.c
qos.c
timer.c
wrapper.c