diff options
author | Jarno Rajahalme <jarno@ovn.org> | 2017-02-09 11:21:56 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-09 22:59:34 -0500 |
commit | b87cec3814ccc7f6afb0a1378ee7e5110d07cdd3 (patch) | |
tree | 356dfca674a530318e60bfc3c33f90ea07e0e528 /include/acpi/actbl3.h | |
parent | cb80d58fae76d8ea93555149b2b16e19b89a1f4f (diff) |
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/acpi/actbl3.h')
0 files changed, 0 insertions, 0 deletions