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:
parent
a55e22e92f
commit
1ca2e1702c
2 changed files with 23 additions and 22 deletions
|
|
@ -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))));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue