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-08-07 11:44:18 -07:00
2014-10-15 10:25:04 +10:30
2014-07-15 16:12:48 -07:00
2014-10-07 13:22:11 -04:00
2014-07-16 14:09:34 -07:00
2014-10-07 13:22:11 -04:00
2014-04-11 16:15:36 -04:00
2014-10-14 02:18:24 +02:00
2014-10-02 13:41:57 +03:00
2014-10-31 12:50:09 +01:00
2014-10-14 16:05:45 -04:00
2014-05-19 09:38:24 +02:00
2014-10-15 06:46:01 +02:00
2014-10-31 16:12:34 -04:00
2014-07-30 17:21:05 -07:00
2014-10-18 09:31:37 -07:00
2014-08-22 12:23:11 -07:00
2014-10-01 00:44:04 +10:00
2014-10-28 15:27:54 -04:00
2014-09-05 17:47:02 -07:00
2014-07-11 15:04:40 -07:00
2014-10-05 21:34:39 -04:00
2014-10-31 12:29:42 -04:00
2014-10-31 12:29:42 -04:00
2014-05-23 16:28:53 -04:00
2014-11-02 10:20:26 -08:00
2014-09-10 12:40:10 -07:00
2014-07-15 16:27:00 -07:00
2014-09-19 15:57:15 -04:00
2014-09-28 07:05:16 -07:00
2014-10-20 16:37:01 +02:00
2014-10-08 21:40:54 -04:00
2014-10-31 15:47:21 -04:00
2014-10-28 09:48:31 +09:00
2014-10-09 01:40:05 -04:00
2014-10-21 21:34:49 -04:00
2014-10-17 23:52:54 -04:00
2014-09-24 02:02:24 +02:00
2014-10-20 12:38:13 -04:00
2014-09-01 17:39:55 -07:00
2014-10-06 18:16:30 -04:00
2014-10-18 09:31:37 -07:00
2014-10-09 11:16:15 +02:00
2014-09-07 16:07:25 -07:00
2014-10-12 10:13:55 -04:00
2014-10-29 14:28:01 -04:00
2014-10-18 09:31:37 -07:00
2014-10-08 12:51:44 -04:00
2014-10-21 15:28:15 -04:00
2014-10-07 17:03:14 -04:00
2014-05-05 13:13:50 -04:00
2014-10-07 20:28:44 -04:00
2014-10-27 13:38:15 -04:00
2014-04-11 16:15:36 -04:00
2014-10-30 19:58:30 -04:00
2014-07-29 12:20:22 -07:00
2014-10-27 19:09:59 -04:00
2014-07-12 01:53:30 +02:00
2014-10-11 13:21:34 -04:00