Eric Dumazet
b8a23e8d8e
caif: fix leaks and race in caif_queue_rcv_skb()
...
1) If sk_filter() is applied, skb was leaked (not freed)
2) Testing SOCK_DEAD twice is racy :
packet could be freed while already queued.
3) Remove obsolete comment about caching skb->len
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-21 00:02:44 -07:00
..
2015-02-14 23:08:44 +01:00
2015-07-04 19:36:06 -07:00
2015-03-02 16:43:41 -05:00
2015-06-01 16:50:52 -07:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-07-15 15:59:58 -07:00
2015-06-07 17:07:20 +02:00
2015-07-04 19:11:33 -07:00
2015-07-15 17:15:01 -07:00
2015-07-21 00:02:44 -07:00
2015-07-12 21:13:22 +02:00
2015-07-09 20:30:34 +03:00
2015-07-15 15:59:58 -07:00
2015-03-06 21:50:02 -05:00
2015-06-15 19:49:22 -07:00
2015-05-11 10:50:17 -04:00
2014-10-01 00:44:04 +10:00
2015-07-11 23:25:16 -07:00
2015-06-04 15:44:30 -07:00
2015-03-01 13:40:23 -05:00
2015-06-04 12:27:15 +02:00
2015-07-15 17:25:51 -07:00
2015-07-20 16:52:28 -07:00
2015-05-11 10:50:17 -04:00
2015-05-25 17:46:21 -04:00
2015-05-11 10:50:17 -04:00
2015-06-24 16:49:49 -07:00
2015-05-11 10:50:18 -04:00
2014-10-24 15:51:42 -04:00
2015-05-11 10:50:17 -04:00
2015-07-01 10:49:25 -07:00
2015-06-24 16:49:49 -07:00
2015-06-13 23:56:52 -07:00
2015-07-02 17:59:33 +02:00
2015-03-31 13:58:35 -04:00
2015-07-03 09:27:43 -07:00
2015-06-18 21:14:32 +02:00
2015-06-15 18:10:37 +02:00
2015-06-08 20:06:56 -07:00
2015-06-24 02:58:51 -07:00
2015-05-11 10:50:17 -04:00
2015-07-03 09:27:42 -07:00
2015-05-29 13:13:45 +02:00
2015-06-24 02:58:51 -07:00
2015-05-11 10:50:17 -04:00
2015-07-15 21:36:35 -07:00
2015-06-29 09:28:42 -07:00
2015-07-02 11:32:23 -07:00
2015-07-11 21:29:55 -07:00
2015-07-08 16:08:23 -07:00
2015-06-10 22:49:20 -07:00
2015-05-11 10:50:17 -04:00
2014-10-07 20:28:44 -04:00
2015-06-13 23:56:52 -07:00
2015-05-11 10:50:17 -04:00
2015-06-24 16:49:49 -07:00
2015-04-09 00:02:26 -04:00
2015-05-14 01:10:05 -04:00
2015-03-04 00:26:06 -05:00
2015-05-11 10:50:17 -04:00