Re: [PATCH rtems-libbsd v2] ipsec-tools/pfkey: Fix socket leak

2021-05-10 Thread Christian MAUDERER
Thanks. I pushed them (with separate tickets for 5 and 6). Am 10.05.21 um 22:52 schrieb Gedare Bloom: looks good, thanks. for the backport please open a separate ticket to 5. On Mon, May 10, 2021 at 11:26 AM Christian MAUDERER wrote: Only change is a better description. Am 10.05.21 um 08:50

Re: [PATCH rtems-libbsd v2] ipsec-tools/pfkey: Fix socket leak

2021-05-10 Thread Gedare Bloom
looks good, thanks. for the backport please open a separate ticket to 5. On Mon, May 10, 2021 at 11:26 AM Christian MAUDERER wrote: > > Only change is a better description. > > Am 10.05.21 um 08:50 schrieb Christian Mauderer: > > setkey uses pfkey_open to open a socket. But setkey doesn't close t

Re: [PATCH rtems-libbsd v2] ipsec-tools/pfkey: Fix socket leak

2021-05-10 Thread Christian MAUDERER
Only change is a better description. Am 10.05.21 um 08:50 schrieb Christian Mauderer: setkey uses pfkey_open to open a socket. But setkey doesn't close the socket. The libipsec functions are used only by user space applications (setkey and racoon). Adding the wrapper for socket makes sure that