[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151022.072139.454804647788377055.davem@davemloft.net>
Date: Thu, 22 Oct 2015 07:21:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jhansen@...are.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
gregkh@...uxfoundation.org, pv-drivers@...are.com
Subject: Re: [PATCH] VSOCK: sock_put wasn't safe to call in interrupt
context
From: Jorgen Hansen <jhansen@...are.com>
Date: Wed, 21 Oct 2015 04:53:56 -0700
> In the vsock vmci_transport driver, sock_put wasn't safe to call
> in interrupt context, since that may call the vsock destructor
> which in turn calls several functions that should only be called
> from process context. This change defers the callling of these
> functions to a worker thread. All these functions were
> deallocation of resources related to the transport itself.
>
> Furthermore, an unused callback was removed to simplify the
> cleanup.
>
> Multiple customers have been hitting this issue when using
> VMware tools on vSphere 2015.
>
> Also added a version to the vmci transport module (starting from
> 1.0.2.0-k since up until now it appears that this module was
> sharing version with vsock that is currently at 1.0.1.0-k).
>
> Reviewed-by: Aditya Asarwade <asarwade@...are.com>
> Reviewed-by: Thomas Hellstrom <thellstrom@...are.com>
> Signed-off-by: Jorgen Hansen <jhansen@...are.com>
Applied, 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