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-03-02 16:43:41 -05:00
2015-07-04 19:11:33 -07:00
2015-07-15 15:59:58 -07:00
2015-03-06 21:50:02 -05:00
2015-07-15 21:36:35 -07:00
2015-07-02 11:32:23 -07:00
2014-10-07 20:28:44 -04:00