Commit 100a11b6 authored by Florian Westphal's avatar Florian Westphal
Browse files

netfilter: nf_tables: use NLA_POLICY_MASK to test for valid flag options



nf_tables relies on manual test of netlink attributes coming from userspace
even in cases where this could be handled via netlink policy.

Convert a bunch of 'flag' attributes to use NLA_POLICY_MASK checks.

Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent 5fac9b7c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment