diff options
author | Jarno Rajahalme <[email protected]> | 2017-02-09 11:21:56 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-02-09 22:59:34 -0500 |
commit | b87cec3814ccc7f6afb0a1378ee7e5110d07cdd3 (patch) | |
tree | 356dfca674a530318e60bfc3c33f90ea07e0e528 /tools/perf/builtin-annotate.c | |
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 <[email protected]>
Signed-off-by: Jarno Rajahalme <[email protected]>
Acked-by: Pravin B Shelar <[email protected]>
Acked-by: Joe Stringer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions