diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-11-02 16:36:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-03 19:28:44 -0700 |
commit | a277d516de5f498c91d91189717ef7e01102ad27 (patch) | |
tree | 34d6fb1b74929733e3367ff43a7166edef443c47 /lib/test_overflow.c | |
parent | 92619210529a6b77b2cbedbadba3ff5eaa6e28ed (diff) |
openvswitch: fix linking without CONFIG_NF_CONNTRACK_LABELS
When CONFIG_CC_OPTIMIZE_FOR_DEBUGGING is enabled, the compiler
fails to optimize out a dead code path, which leads to a link failure:
net/openvswitch/conntrack.o: In function `ovs_ct_set_labels':
conntrack.c:(.text+0x2e60): undefined reference to `nf_connlabels_replace'
In this configuration, we can take a shortcut, and completely
remove the contrack label code. This may also help the regular
optimization.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions