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
..
2014-10-15 10:25:04 +10:30
2014-08-22 12:23:11 -07:00
2014-09-10 12:40:10 -07:00
2013-09-23 16:52:45 -04:00
2014-09-28 07:05:16 -07:00
2014-10-09 01:40:05 -04:00
2014-10-17 23:52:54 -04:00
2014-09-07 16:07:25 -07:00
2014-10-07 20:28:44 -04:00
2014-10-27 19:09:59 -04:00