lib: bpf_legacy: some misc fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib: bpf_legacy: treat 0 as a valid file descriptorlib/ | +1 | 0 replies | |
| 2/2 | lib: bpf_legacy: fix missing socket close when connect() failslib/ | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH iproute2 0/2] lib: bpf_legacy: some misc fixes
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(-)
Signature · 1 line
2.30.2