summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/openvswitch.h
diff options
context:
space:
mode:
authorJarno Rajahalme2017-02-09 20:21:56 +0100
committerDavid S. Miller2017-02-10 04:59:34 +0100
commitb87cec3814ccc7f6afb0a1378ee7e5110d07cdd3 (patch)
tree356dfca674a530318e60bfc3c33f90ea07e0e528 /include/uapi/linux/openvswitch.h
parentopenvswitch: Unionize ovs_key_ct_label with a u32 array. (diff)
downloadkernel-qcow2-linux-b87cec3814ccc7f6afb0a1378ee7e5110d07cdd3.tar.gz
kernel-qcow2-linux-b87cec3814ccc7f6afb0a1378ee7e5110d07cdd3.tar.xz
kernel-qcow2-linux-b87cec3814ccc7f6afb0a1378ee7e5110d07cdd3.zip
openvswitch: Simplify labels length logic.
Since 23014011ba42 ("netfilter: conntrack: support a fixed size of 128 distinct labels"), the size of conntrack labels extension has fixed to 128 bits, so we do not need to check for labels sizes shorter than 128 at run-time. This patch simplifies labels length logic accordingly, but allows the conntrack labels size to be increased in the future without breaking the build. In the event of conntrack labels increasing in size OVS would still be able to deal with the 128 first label bits. Suggested-by: Joe Stringer <joe@ovn.org> Signed-off-by: Jarno Rajahalme <jarno@ovn.org> Acked-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Joe Stringer <joe@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/openvswitch.h')
0 files changed, 0 insertions, 0 deletions