Re: [RFC 4/5] vmx_balloon: update the NR_BALLOON_PAGES state

2025-03-11 Thread Michael S. Tsirkin
On Tue, Mar 11, 2025 at 06:06:59PM -0600, Nico Pache wrote: > Update the NR_BALLOON_PAGES counter when pages are added to or > removed from the VMware balloon. > > Signed-off-by: Nico Pache > --- > drivers/misc/vmw_balloon.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff -

Re: [RFC 2/5] virtio_balloon: update the NR_BALLOON_PAGES state

2025-03-11 Thread Michael S. Tsirkin
On Tue, Mar 11, 2025 at 06:06:57PM -0600, Nico Pache wrote: > Update the NR_BALLOON_PAGES counter when pages are added to or > removed from the virtio balloon. > > Signed-off-by: Nico Pache > --- > drivers/virtio/virtio_balloon.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/driv

Re: [PATCH net-next 1/3] vsock: add network namespace support

2025-03-05 Thread Michael S. Tsirkin
On Wed, Mar 05, 2025 at 10:23:08AM +0100, Stefano Garzarella wrote: > On Wed, 5 Mar 2025 at 08:32, Michael S. Tsirkin wrote: > > > > On Thu, Jan 16, 2020 at 06:24:26PM +0100, Stefano Garzarella wrote: > > > This patch adds a check of the "net" ass

Re: [PATCH net-next 1/3] vsock: add network namespace support

2025-03-04 Thread Michael S. Tsirkin
On Thu, Jan 16, 2020 at 06:24:26PM +0100, Stefano Garzarella wrote: > This patch adds a check of the "net" assigned to a socket during > the vsock_find_bound_socket() and vsock_find_connected_socket() > to support network namespace, allowing to share the same address > (cid, port) across different

Re: [PATCH net-next 0/3] vsock: support network namespace

2025-03-04 Thread Michael S. Tsirkin
On Tue, Mar 04, 2025 at 04:39:02PM -0800, Bobby Eshleman wrote: > I think it might be a lot of complexity to bring into the picture from > netdev, and I'm not sure there is a big win since the vsock device could > also have a vsock->net itself? I think the complexity will come from the > address tr

Re: [PATCH v2] hv_sock: Initializing vsk->trans to NULL to prevent a dangling pointer

2024-11-07 Thread Michael S. Tsirkin
On Thu, Nov 07, 2024 at 11:29:42AM -0800, Jakub Kicinski wrote: > On Wed, 6 Nov 2024 04:36:04 -0500 Hyunwoo Kim wrote: > > When hvs is released, there is a possibility that vsk->trans may not > > be initialized to NULL, which could lead to a dangling pointer. > > This issue is resolved by initializ

Re: [PATCH v2] hv_sock: Initializing vsk->trans to NULL to prevent a dangling pointer

2024-11-06 Thread Michael S. Tsirkin
e0078fcf0a5 ("hv_sock: implements Hyper-V transport for Virtual > Sockets (AF_VSOCK)") > Cc: sta...@vger.kernel.org > Signed-off-by: Hyunwoo Kim Acked-by: Michael S. Tsirkin > --- > v1 -> v2: Add fixes and cc tags > --- > net/vmw_vsock/hyperv_transport.c | 1 +