Pablo Neira Ayuso 77a92189ec 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>
2020-08-02 19:53:45 +02:00
..
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-06-23 20:27:09 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:39 -07:00
2020-07-13 17:20:40 -07:00
2020-07-01 15:49:11 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-06-27 14:00:22 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00