netfilter: nf_tables: use struct nft_verdict within struct nft_data

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Patrick McHardy
2015-04-11 02:27:32 +01:00
committed by Pablo Neira Ayuso
parent a55e22e92f
commit 1ca2e1702c
2 changed files with 23 additions and 22 deletions

View File

@@ -49,11 +49,8 @@ struct nft_verdict {
struct nft_data {
union {
u32 data[4];
struct {
u32 verdict;
struct nft_chain *chain;
};
u32 data[4];
struct nft_verdict verdict;
};
} __attribute__((aligned(__alignof__(u64))));