Re: [PATCH] dhcp-transport: Do not leak fds during bind

Denis Kenzior <denkenz at gmail.com>
Newsgroups dev.linux.lists.ell
Message-ID <[email protected]>
On 5/16/22 14:55, Denis Kenzior wrote:
> When a lease is renewed, the transport bind operation is called.  This
> can be done multiple times by dhcp_client, whenever a lease has been
> obtained or renewed.  This can result in fds being leaked.
> 
> If bind operation has previously succeeded, simply return and reuse the
> already created fd.
> ---
>   ell/dhcp-transport.c | 4 ++++
>   1 file changed, 4 insertions(+)
> 

Applied.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.