diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-08-21 12:24:08 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-08-22 10:49:52 +0200 |
commit | a7abf3f5dc7c43f0b25f1d38f754ffc44da54687 (patch) | |
tree | ece08d8a4dea24d6639dccdd31c81d85c348cd40 /src/cache-exp.c | |
parent | f2b2581573f7274fb0c292bae8dcfa29a1aac569 (diff) |
conntrack: skip ENOENT when -U/-D finds a stale conntrack entry
-U and -D commands iterate over the netlink dump and it might try to
update/delete an entry which is not in the kernel anymore. Skip ENOENT
errors.
The -U command uses printf and it continues on error, instead bail out
with exit_error().
This problem is present in 1.4.6, this is related to the recent
updates to use libmnl in 1.4.7.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/cache-exp.c')
0 files changed, 0 insertions, 0 deletions