diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-08-02 03:05:25 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-08-02 19:53:45 +0200 |
commit | 77a92189ecfd061616ad531d386639aab7baaad9 (patch) | |
tree | 490f824a887672beda4e617510e3a89ca99e45af /arch | |
parent | 83d9dcba06c53e24e7dc47d51607d5cf9b50e5f9 (diff) | |
download | lwn-77a92189ecfd061616ad531d386639aab7baaad9.tar.gz lwn-77a92189ecfd061616ad531d386639aab7baaad9.zip |
netfilter: nf_tables: report EEXIST on overlaps
Replace EBUSY by EEXIST in the following cases:
- If the user adds a chain with a different configuration such as different
type, hook and priority.
- If the user adds a non-base chain that clashes with an existing basechain.
- If the user adds a { key : value } mapping element and the key exists
but the value differs.
- If the device already belongs to an existing flowtable.
User describe that this error reporting is confusing:
- https://bugzilla.netfilter.org/show_bug.cgi?id=1176
- https://bugzilla.netfilter.org/show_bug.cgi?id=1413
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions