commit | ec6f2ff0a3985907b0c224e482d790615be5772d | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Thu Jun 23 15:05:09 2022 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Jul 11 16:40:45 2022 +0200 |
tree | 867769fb39affddde4cfb35f38518e8bb430b89e | |
parent | f72547473fcd8c61c84f857dc821fe785f302210 [diff] |
netfilter: nfnetlink: add missing __be16 cast Sparse flags this as suspicious, because this compares integer with a be16 with no conversion. Its a compat check for old userspace that sends host byte order, so force a be16 cast here. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>