openvswitch: Fix conntrack cache with timeout
authorYi-Hung Wei <yihung.wei@gmail.com>
Thu, 22 Aug 2019 20:17:50 +0000 (13:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Aug 2019 21:48:43 +0000 (14:48 -0700)
commit7177895154e6a35179d332f4a584d396c50d0612
tree552f64a6dab75559a550915e0326fba2bd510bb8
parent803f3e22ae10003a83c781498c0ac34cfe3463ff
openvswitch: Fix conntrack cache with timeout

This patch addresses a conntrack cache issue with timeout policy.
Currently, we do not check if the timeout extension is set properly in the
cached conntrack entry.  Thus, after packet recirculate from conntrack
action, the timeout policy is not applied properly.  This patch fixes the
aforementioned issue.

Fixes: 06bd2bdf19d2 ("openvswitch: Add timeout support to ct action")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c