The first patch fixes a potential null pointer dereference in vsock_poll()
reported by syzbot.
The second patch is a simple cleanup in the same block code. I put this later,
to make it easier to backport the first patch in the stable branches.

Thanks,
Stefano

Stefano Garzarella (2):
  vsock: fix potential null pointer dereference in vsock_poll()
  vsock: small cleanup in vsock_poll()

 net/vmw_vsock/af_vsock.c | 27 ++++++++++++---------------
 1 file changed, 12 insertions(+), 15 deletions(-)

-- 
2.26.2

Reply via email to