Skip to content
Snippets Groups Projects
Commit 4a5a5c73 authored by Jan Engelhardt's avatar Jan Engelhardt
Browse files

netfilter: xtables: slightly better error reporting


When extended status codes are available, such as ENOMEM on failed
allocations, or subsequent functions (e.g. nf_ct_get_l3proto), passing
them up to userspace seems like a good idea compared to just always
EINVAL.

Signed-off-by: default avatarJan Engelhardt <jengelh@medozas.de>
parent d6b00a53
No related branches found
No related tags found
No related merge requests found
Showing
with 95 additions and 55 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment