]> git.baikalelectronics.ru Git - kernel.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)
commitc63713dacbe9ee1039888cce304f96b6024ef94c
treeea06a9456aaa37362ae8ab0806de6c003ff010fb
parent3d167ac37a7e01981df61a79ad2317f31feb2ffc
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: 14a5d06d39dd ("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