Re: [PATCH net v2] xen-netback: fix race condition on XenBus disconnect

2017-03-06 Thread Igor Druzhinin
gt;> ; Igor Druzhinin >> Subject: [PATCH net v2] xen-netback: fix race condition on XenBus >> disconnect >> >> In some cases during XenBus disconnect event handling and subsequent >> queue resource release there may be some TX handlers active on >> other pr

RE: [PATCH net v2] xen-netback: fix race condition on XenBus disconnect

2017-03-06 Thread Paul Durrant
> -Original Message- > From: Igor Druzhinin [mailto:igor.druzhi...@citrix.com] > Sent: 03 March 2017 20:23 > To: netdev@vger.kernel.org; xen-de...@lists.xenproject.org > Cc: Paul Durrant ; jgr...@suse.com; Wei Liu > ; Igor Druzhinin > Subject: [PATCH net v2]

[PATCH net v2] xen-netback: fix race condition on XenBus disconnect

2017-03-03 Thread Igor Druzhinin
In some cases during XenBus disconnect event handling and subsequent queue resource release there may be some TX handlers active on other processors. Use RCU in order to synchronize with them. Signed-off-by: Igor Druzhinin --- v2: * Add protection for xenvif_get_ethtool_stats * Additional comme