]> git.karo-electronics.de Git - karo-tx-linux.git/commit
openvswitch: Respect conntrack zone even if invalid
authorJoe Stringer <joe@ovn.org>
Wed, 9 Dec 2015 22:07:40 +0000 (14:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2015 04:31:31 +0000 (23:31 -0500)
commitd110986c5ddb1caf576e8576044c0c831e3e7fa4
treeea06a9456aaa37362ae8ab0806de6c003ff010fb
parent2f3ab9f9fc23811188b9d07d86e4d99ffee887f4
openvswitch: Respect conntrack zone even if invalid

If userspace executes ct(zone=1), and the connection tracker determines
that the packet is invalid, then the ct_zone flow key field is populated
with the default zone rather than the zone that was specified. Even
though connection tracking failed, this field should be updated with the
value that the action specified. Fix the issue.

Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action")
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c