Subject: [PATCH iproute2 0/2] lib: bpf_legacy: some misc fixes

From: Andrea Claudi <[email-masked]>
Date: Mon, 19 Apr 2021 15:49:55 +0200

This patch set fixes two issues on bpf_legacy library code.
- 1/2 fixes a covscan warning about a possible missing close() treating
  0 as a valid file descriptor, as almost elsewhere in iproute2 code.
- 2/2 fixes a missing close() on a socket in some error paths in two
  functions.

Andrea Claudi (2):
  lib: bpf_legacy: treat 0 as a valid file descriptor
  lib: bpf_legacy: fix missing socket close when connect() fails

 lib/bpf_legacy.c | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

-- 
2.30.2