diff options
| author | Patrick McHardy <kaber@trash.net> | 2015-04-10 21:27:32 -0400 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-04-13 11:17:24 -0400 |
| commit | 1ca2e1702c050aff352cb3efc8a649363dbaeab2 (patch) | |
| tree | eda063c0eaf84719070e5ccf7f00b9827c6caa8f /include/net | |
| parent | a55e22e92f1a31018e6dc8fce35380900f022c24 (diff) | |
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>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/netfilter/nf_tables.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 79582d0b043e..81cd816554b9 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h | |||
| @@ -49,11 +49,8 @@ struct nft_verdict { | |||
| 49 | 49 | ||
| 50 | struct nft_data { | 50 | struct nft_data { |
| 51 | union { | 51 | union { |
| 52 | u32 data[4]; | 52 | u32 data[4]; |
| 53 | struct { | 53 | struct nft_verdict verdict; |
| 54 | u32 verdict; | ||
| 55 | struct nft_chain *chain; | ||
| 56 | }; | ||
| 57 | }; | 54 | }; |
| 58 | } __attribute__((aligned(__alignof__(u64)))); | 55 | } __attribute__((aligned(__alignof__(u64)))); |
| 59 | 56 | ||
