diff options
| author | Florian Westphal <[email protected]> | 2014-02-15 23:48:45 +0100 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2014-02-17 11:20:12 +0100 |
| commit | 478b360a47b71f3b5030eacd3aae6acb1a32c2b6 (patch) | |
| tree | 62451e529b258898c690ca2ad7d0e134745f1a6f /include/linux/debugobjects.h | |
| parent | 2b7a79bae2dc0327af2352e1d1793b9d752648aa (diff) | |
netfilter: nf_tables: fix nf_trace always-on with XT_TRACE=n
When using nftables with CONFIG_NETFILTER_XT_TARGET_TRACE=n, we get
lots of "TRACE: filter:output:policy:1 IN=..." warnings as several
places will leave skb->nf_trace uninitialised.
Unlike iptables tracing functionality is not conditional in nftables,
so always copy/zero nf_trace setting when nftables is enabled.
Move this into __nf_copy() helper.
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions