Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab297a49 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso Committed by Sasha Levin
Browse files

netfilter: nf_tables: allow to change chain policy without hook if it exists



[ Upstream commit d6b6cb1d3e6f78d55c2d4043d77d0d8def3f3b99 ]

If there's an existing base chain, we have to allow to change the
default policy without indicating the hook information.

However, if the chain doesn't exists, we have to enforce the presence of
the hook attribute.

Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 70d9847b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment