android_kernel_xiaomi_sm8350/net/irda
Pavel Emelyanov 9ecad87794 irda: Sock leak on error path in irda_create.
Bad type/protocol specified result in sk leak.

Fix is simple - release the sk if bad values are given,
but to make it possible just to call sk_free(), I move
some sk initialization a bit lower.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-06-03 15:18:36 -07:00
..
ircomm tty: The big operations rework 2008-04-30 08:29:47 -07:00
irlan [IRDA]: Remove irlan_eth_send_gratuitous_arp() 2008-04-15 00:29:24 -07:00
irnet net/irda/irnet/irnet_irda.c needs unaligned.h 2008-05-14 19:11:15 -07:00
af_irda.c irda: Sock leak on error path in irda_create. 2008-06-03 15:18:36 -07:00
discovery.c irda: Fix a misalign access issue. (v2) 2008-05-13 23:25:57 -07:00
irda_device.c
iriap_event.c
iriap.c irda: use get_unaligned_* helpers 2008-05-02 16:21:52 -07:00
irias_object.c
irlap_event.c
irlap_frame.c [NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS. 2008-03-26 04:39:53 +09:00
irlap.c
irlmp_event.c
irlmp_frame.c
irlmp.c irda: Fix a misalign access issue. (v2) 2008-05-13 23:25:57 -07:00
irmod.c
irnetlink.c
irproc.c
irqueue.c
irsysctl.c
irttp.c
Kconfig
Makefile
parameters.c
qos.c
timer.c
wrapper.c