Files
Linux/net
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 <[email protected]>
Cc: Samuel Ortiz <[email protected]>
Cc: David Miller <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2014-11-02 10:20:26 -08:00
..
2014-10-15 10:25:04 +10:30
…
…
…
…
…
…
…
…
…
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-10-07 20:28:44 -04:00
…
…
2014-10-27 19:09:59 -04:00
…
…