]> git.proxmox.com Git - mirror_ovs.git/commit
odp-util: Put tcp_flags value to netlink if value is 0
authorPaul Blakey <paulb@mellanox.com>
Mon, 7 Aug 2017 15:19:09 +0000 (18:19 +0300)
committerJoe Stringer <joe@ovn.org>
Fri, 11 Aug 2017 18:43:40 +0000 (11:43 -0700)
commit7cb324123387deca85af45bd9c1649257b40c7ea
tree450bb9b42f029fbae18af419518c6ff22aa3f8e1
parentab7ecf266b0ae9a9770657cc59359004e300b63d
odp-util: Put tcp_flags value to netlink if value is 0

If tcp_flags value is 0 it isn't put to netlink, even if mask
isn't zero. Fix that so we can have matching on value 0.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Acked-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Joe Stringer <joe@ovn.org>
lib/odp-util.c