diff options
author | Florian Westphal <fw@strlen.de> | 2019-03-07 23:20:11 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-03-11 20:01:20 +0100 |
commit | b8b27498659c65034032af79842913844a6cc79a (patch) | |
tree | 16094d0c30d365c1ef5a93e6ecc4139b9510b319 /net/socket.c | |
parent | 3f3a390dbd59d236f62cff8e8b20355ef7069e3d (diff) |
netfilter: nf_tables: return immediately on empty commit
When running 'nft flush ruleset' while no rules exist, we will increment
the generation counter and announce a new genid to userspace, yet
nothing had changed in the first place.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions