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 net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
iriap_event.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
iriap.c irda: use get_unaligned_* helpers 2008-05-02 16:21:52 -07:00
irias_object.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlap_event.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlap_frame.c [NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS. 2008-03-26 04:39:53 +09:00
irlap.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlmp_event.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlmp_frame.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irlmp.c irda: Fix a misalign access issue. (v2) 2008-05-13 23:25:57 -07:00
irmod.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irnetlink.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irproc.c [IRDA]: Use proc_create() to setup ->proc_fops first 2008-02-29 10:34:45 -08:00
irqueue.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
irsysctl.c [IrDA]: LMP discovery timer not started by default 2008-01-28 15:10:54 -08:00
irttp.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
Kconfig
Makefile
parameters.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
qos.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
timer.c
wrapper.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00