opnsense-src/lib/libnetmap
Vincenzo Maffione 5faf08808d libnetmap: reset errno in nmreq_register_decode()
The reset is necessary at the beginning of the function, because of
the errno logic in the error path (set errno to EINVAL if not set).
If errno is already set when calling the function, and the function
fails, the previous errno value will be inherited.

(cherry picked from commit ab639bb287)
2021-09-26 14:11:59 +00:00
..
libnetmap.h libnetmap: fix cast from uint64_t to void* 2020-09-22 20:20:43 +00:00
Makefile
nmctx-pthreads.c
nmctx.c
nmport.c libnetmap: fix cast from uint64_t to void* 2020-09-22 20:20:43 +00:00
nmreq.c libnetmap: reset errno in nmreq_register_decode() 2021-09-26 14:11:59 +00:00