[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151109.215639.72685911796993165.davem@davemloft.net>
Date: Mon, 09 Nov 2015 21:56:39 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, gthelen@...gle.com
Subject: Re: [PATCH net] net: fix a race in dst_release()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 09 Nov 2015 17:51:23 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> Only cpu seeing dst refcount going to 0 can safely
> dereference dst->flags.
>
> Otherwise an other cpu might already have freed the dst.
>
> Fixes: 27b75c95f10d ("net: avoid RCU for NOCACHE dst")
> Reported-by: Greg Thelen <gthelen@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Ouch...
Applied and queued up for -stable, thanks.
--
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