diff options
author | Daniele Di Proietto <diproiettod@vmware.com> | 2016-04-15 17:04:53 -0700 |
---|---|---|
committer | Daniele Di Proietto <diproiettod@vmware.com> | 2016-04-27 00:01:38 -0700 |
commit | d291a10c50434707405d8cd1437ec62e10c43bb5 (patch) | |
tree | 63205db59c033e815ad6456116c5c1df96a92805 /datapath-windows/ovsext/Actions.c | |
parent | 4ec3d7c7578e827a543cc0989a6cd4c1a10ee291 (diff) | |
download | openvswitch-d291a10c50434707405d8cd1437ec62e10c43bb5.tar.gz |
datapath-windows: Fix bug in OvsTcpGetWscale().
The userspace conntrack had a bug in tcp_wscale_get(), where the length
of an option would be read from the third octet of the option TLV
instead of the second. This could cause an incorrect wscale value to
be returned, and it would at least impact performance.
Also use 'int' instead of 'unsigned' for 'len', since the value can be
negative.
CC: Sairam Venugopal <vsairam@vmware.com>
Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Diffstat (limited to 'datapath-windows/ovsext/Actions.c')
0 files changed, 0 insertions, 0 deletions