aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_proto_tcp.c
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-09-17 22:21:36 -0700
committerPablo Neira Ayuso <pablo@netfilter.org>2018-09-20 18:38:40 +0200
commitbab4344975fe2c719eda32de59298d6de26fe126 (patch)
tree566ebd5c01d1051d8796ec464d54c159a1505f08 /net/netfilter/nf_conntrack_proto_tcp.c
parentnetfilter: bridge: Don't sabotage nf_hook calls from an l3mdev (diff)
downloadlinux-dev-bab4344975fe2c719eda32de59298d6de26fe126.tar.xz
linux-dev-bab4344975fe2c719eda32de59298d6de26fe126.zip
netfilter: nft_osf: use enum nft_data_types for nft_validate_register_store
The function nft_validate_register_store requires a struct of type struct nft_data_types. NFTA_DATA_VALUE is of type enum nft_verdict_attributes. Pass the correct enum type. This fixes a warning seen with Clang: net/netfilter/nft_osf.c:52:8: warning: implicit conversion from enumeration type 'enum nft_data_attributes' to different enumeration type 'enum nft_data_types' [-Wenum-conversion] NFTA_DATA_VALUE, NFT_OSF_MAXGENRELEN); ^~~~~~~~~~~~~~~ Fixes: b96af92d6eaf ("netfilter: nf_tables: implement Passive OS fingerprint module in nft_osf") Link: https://github.com/ClangBuiltLinux/linux/issues/103 Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions