Mellanox / libvma

Linux user space library for network socket acceleration based on RDMA compatible network adaptors
https://www.mellanox.com/products/software/accelerator-software/vma?mtag=vma
Other
559 stars 152 forks source link

issue: 3092555 Fixing pcb resources leak for failed blocking connect #1002

Closed AlexanderGrissik closed 2 years ago

AlexanderGrissik commented 2 years ago

Signed-off-by: Alexander Grissik agrissik@nvidia.com

Description

PCB resource leak for failing connect blocking socket.

What

Setting pcb state manually to CLOSED, prevents it to be cleared correctly in subsequent tcp_close which should clear pcb resources.

Why ?

Resource leak.

How ?

Use tcp_close instead of manually setting tcp_sate

Change type

What kind of change does this PR introduce?

Check list