diff options
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | 2020-06-09 08:53:41 +0800 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2020-07-09 11:31:52 +0200 |
commit | fa31efd211143f1adb06a62faad803a5aca1e400 (patch) | |
tree | d9a7dcbbbdf44c207611465d86acf8f2c343198d /configure.ac | |
parent | 058b80d3de31b2c539d9e6f5f6687bde78ef08e9 (diff) | |
download | openvswitch-fa31efd211143f1adb06a62faad803a5aca1e400.tar.gz |
dpif-netdev: Return error code when no mark available.
The max number of mark is (UINT32_MAX - 1), that is
enough to be used. But theoretically, if there are no
mark available, the later different flows will shared
the mark INVALID_FLOW_MARK, that may break the function.
If there are no available mark to be used, return error
code.
Fixes: 02bb2824e51d ("dpif-netdev: do hw flow offload in a thread")
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions