[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190228.125114.10822000460043710.davem@davemloft.net>
Date: Thu, 28 Feb 2019 12:51:14 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: igor.druzhinin@...rix.com
Cc: xen-devel@...ts.xenproject.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, wei.liu2@...rix.com,
paul.durrant@...rix.com
Subject: Re: [PATCH] xen-netback: don't populate the hash cache on XenBus
disconnect
From: Igor Druzhinin <igor.druzhinin@...rix.com>
Date: Thu, 28 Feb 2019 14:11:26 +0000
> Occasionally, during the disconnection procedure on XenBus which
> includes hash cache deinitialization there might be some packets
> still in-flight on other processors. Handling of these packets includes
> hashing and hash cache population that finally results in hash cache
> data structure corruption.
>
> In order to avoid this we prevent hashing of those packets if there
> are no queues initialized. In that case RCU protection of queues guards
> the hash cache as well.
>
> Signed-off-by: Igor Druzhinin <igor.druzhinin@...rix.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists