]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84278b4a2599879ee557677a4be8293088288503
tree552f64a6dab75559a550915e0326fba2bd510bb8
parent7cfe1b3bc072e4d2bf2447b2c4c9723e63252eab
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: fb6f356135bf ("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