diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2021-10-13 15:21:39 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-14 19:16:21 -0700 |
commit | c8e80c1169b2b3b91453f9ff3c34687c42233ef7 (patch) | |
tree | 9220e491e84de99c5c68d3fe1e015bfec13429ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 507c2f1d2936e07aef83734983a36df01b458ef9 (diff) |
net, neigh: Use NLA_POLICY_MASK helper for NDA_FLAGS_EXT attribute
Instead of open-coding a check for invalid bits in NTF_EXT_MASK, we can just
use the NLA_POLICY_MASK() helper instead, and simplify NDA_FLAGS_EXT sanity
check this way.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions