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

2024-11-09 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Wed, 6 Nov 2024 04:36:04 -0500 you 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 initial

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

2024-11-08 Thread Hyunwoo Kim
Dear, On Thu, Nov 07, 2024 at 01:52:33PM -0800, Jakub Kicinski wrote: > On Thu, 7 Nov 2024 16:41:02 -0500 Michael S. Tsirkin wrote: > > 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 i

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

2024-11-07 Thread Jakub Kicinski
On Thu, 7 Nov 2024 16:41:02 -0500 Michael S. Tsirkin wrote: > 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 cou

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-07 Thread Jakub Kicinski
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 initializing vsk->trans to NULL. > > Fixes: ae0078fcf0a5 ("hv_sock: implements H

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

2024-11-06 Thread Michael S. Tsirkin
On Wed, Nov 06, 2024 at 04:36:04AM -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 initializing vsk->trans to NULL. > > Fixes: ae0078fcf0a5 ("hv_sock: impl

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

2024-11-06 Thread Stefano Garzarella
On Wed, Nov 06, 2024 at 04:36:04AM -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 initializing vsk->trans to NULL. Fixes: ae0078fcf0a5 ("hv_sock: implements H

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

2024-11-06 Thread Hyunwoo Kim
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 initializing vsk->trans to NULL. Fixes: ae0078fcf0a5 ("hv_sock: implements Hyper-V transport for Virtual Sockets (AF_VSOCK)") Cc: sta...@v