datapath: Define nf_connlabels_{put,get}.
authorJoe Stringer <joe@ovn.org>
Wed, 9 Dec 2015 00:14:07 +0000 (16:14 -0800)
committerJoe Stringer <joe@ovn.org>
Fri, 11 Dec 2015 00:13:54 +0000 (16:13 -0800)
commitb41e3e99d462f7df05d60b9e24355eed9e13ab31
treed873d6138fa8e75b6fc50bafe52e9d461a73cea1
parentf23593a18fb6d832c9140144cb1cbac5eb114b3d
datapath: Define nf_connlabels_{put,get}.

Previously this was only done when connlabels were enabled in the kernel
config, even if the functions didn't exist. Fix the compile error.

Fixes: d70a6ff5d40d ("datapath: Define nf_connlabels_{put,get}.")
Reported-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/linux/compat/include/net/netfilter/nf_conntrack_labels.h