[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150721.000308.1914060070713511011.davem@davemloft.net>
Date: Tue, 21 Jul 2015 00:03:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] caif: fix leaks and race in caif_queue_rcv_skb()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 17 Jul 2015 10:19:23 +0200
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists