linux/net/irda
Linus Torvalds 4cb8c3593b irda: stop calling sk_prot->disconnect() on connection failure
The sk_prot is irda's own set of protocol handlers, so irda should
statically know what that function is anyway, without using an indirect
pointer.  And as it happens, we know *exactly* what that pointer is
statically: it's NULL, because irda doesn't define a disconnect
operation.

So calling that function is doubly wrong, and will just cause an oops.

Reported-by: Martin Lang <mlg.hessigheim@gmail.com>
Cc: Samuel Ortiz <samuel@sortiz.org>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-11-02 10:20:26 -08:00
..
ircomm
irlan irda: add __init to irlan_open 2014-09-30 17:08:06 -04:00
irnet
af_irda.c irda: stop calling sk_prot->disconnect() on connection failure 2014-11-02 10:20:26 -08:00
discovery.c
irda_device.c
iriap_event.c
iriap.c
irias_object.c
irlap_event.c
irlap_frame.c irda: Fix rd_frame control field initialization in irlap_send_rd_frame() 2014-08-13 20:05:52 -07:00
irlap.c
irlmp_event.c
irlmp_frame.c
irlmp.c
irmod.c
irnetlink.c
irproc.c
irqueue.c
irsysctl.c
irttp.c
Kconfig
Makefile
parameters.c
qos.c
timer.c
wrapper.c