diff options
| author | Marino Dzalto <marino.dzalto@gmail.com> | 2026-04-03 22:59:07 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-04-10 12:16:26 +0200 |
| commit | 24bd5c2679caf8a228d90cafa221da4b47fd6642 (patch) | |
| tree | c400ecbcaa05c83fd28bf795d16838aacae29445 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 74feb7d373b32a63d7986a2caf9689c860c9a761 (diff) | |
netfilter: xt_HL: add pr_fmt and checkentry validation
Add pr_fmt to prefix log messages with the module name for
easier debugging in dmesg.
Add checkentry functions for IPv4 (ttl_mt_check) and IPv6
(hl_mt6_check) to validate the match mode at rule registration
time, rejecting invalid modes with -EINVAL.
The evaluation function returns false in case the mode is
unknown, so this is a cleanup, not a bug fix.
Signed-off-by: Marino Dzalto <marino.dzalto@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
