diff options
| author | Daniel Gomez <da.gomez@samsung.com> | 2025-12-19 06:13:20 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-01-01 11:31:48 +0100 |
| commit | 2bafeb8d2f380c3a81d98bd7b78b854b564f9cd4 (patch) | |
| tree | 87e5fd9eb2649023ef98bc279decbbe54ee3839a /kernel/livepatch/git@git.tavy.me:linux.git | |
| parent | 36a3200575642846a96436d503d46544533bb943 (diff) | |
netfilter: replace -EEXIST with -EBUSY
The -EEXIST error code is reserved by the module loading infrastructure
to indicate that a module is already loaded. When a module's init
function returns -EEXIST, userspace tools like kmod interpret this as
"module already loaded" and treat the operation as successful, returning
0 to the user even though the module initialization actually failed.
Replace -EEXIST with -EBUSY to ensure correct error reporting in the module
initialization path.
Affected modules:
* ebtable_broute ebtable_filter ebtable_nat arptable_filter
* ip6table_filter ip6table_mangle ip6table_nat ip6table_raw
* ip6table_security iptable_filter iptable_mangle iptable_nat
* iptable_raw iptable_security
Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'kernel/livepatch/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
