diff options
| author | Jeremy Sowden <[email protected]> | 2019-08-07 15:17:02 +0100 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2019-08-13 12:15:08 +0200 |
| commit | 0abc8bf4f2842e409926096f0fa009b468cbd855 (patch) | |
| tree | 78d25871216c0c574f3afd7962632d5f4e5303c7 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 47e640af2e492cc28778dd6f894d50313f7fba75 (diff) | |
netfilter: add missing IS_ENABLED(CONFIG_NF_CONNTRACK) checks to some header-files.
struct nf_conn contains a "struct nf_conntrack ct_general" member and
struct net contains a "struct netns_ct ct" member which are both only
defined in CONFIG_NF_CONNTRACK is enabled. These members are used in a
number of inline functions defined in other header-files. Added
preprocessor checks to make sure the headers will compile if
CONFIG_NF_CONNTRACK is disabled.
Signed-off-by: Jeremy Sowden <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions