[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120406.042144.742495137515648292.davem@davemloft.net>
Date: Fri, 06 Apr 2012 04:21:44 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] netlink: fix races after skb queueing
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 06 Apr 2012 10:17:46 +0200
> As soon as an skb is queued into socket receive_queue, another thread
> can consume it, so we are not allowed to reference skb anymore, or risk
> use after free.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Good catch Eric.
Applied and queued up for -stable.
--
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