[ovs-git] [openvswitch/ovs] ef1ebd: datapath-windows: Fix payload length calculation i...
noreply at github.com
Thu Sep 20 14:51:51 UTC 2018
Author: Alin Gabriel Serdean <aserdean at ovn.org>
Date: 2018-09-20 (Thu, 20 Sep 2018)
datapath-windows: Fix payload length calculation in Conntrack.h
The payload calculation in OvsGetTcpHeader is wrong:
`ntohs(ipHdr->tot_len) - expr` instead of `ntohs((ipHdr->tot_len) - expr)`.
We already have a macro for that calculation defined in NetProto.h so use it.
Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
Acked-by: Anand Kumar <kumaranand at vmware.com>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git