datapath: Respect conntrack zone even if invalid.
authorJoe Stringer <joe@ovn.org>
Wed, 9 Dec 2015 00:14:06 +0000 (16:14 -0800)
committerJoe Stringer <joe@ovn.org>
Thu, 10 Dec 2015 23:55:50 +0000 (15:55 -0800)
commitf23593a18fb6d832c9140144cb1cbac5eb114b3d
tree07ac967396ed7d526fea3e9941fe9c06b26bf197
parent5a6b18a979ddda3f9cd8ff774397a9ad02bdc20f
datapath: 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 userspace specified. Fix the issue.

Fixes: a94ebc39996b ("datapath: Add conntrack action")
Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/conntrack.c