]> git.proxmox.com Git - ovs.git/commit
nsh: fix an implicit bug in nsh_hdr_len
authorYi Yang <yi.y.yang@intel.com>
Fri, 25 Aug 2017 04:02:49 +0000 (12:02 +0800)
committerBen Pfaff <blp@ovn.org>
Tue, 29 Aug 2017 15:31:51 +0000 (08:31 -0700)
commitbce693e72a4488866dd333a09f94e768dcd8ebaf
tree8ae236d5e673ad1e0bf5f3122d725c23e0ef3fd8
parent75f9e007e7f7eb91461e238f882d1c539c56bb8d
nsh: fix an implicit bug in nsh_hdr_len

Operator '*' will be executed prior to operator '>>',
but we expect operator '>>' is executed prior to '*',
this patch fixed the issue.

Signed-off-by: Yi Yang <yi.y.yang@intel.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
include/openvswitch/nsh.h