]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_ct: add miss tcf_lastuse_update.
authorwenxu <wenxu@ucloud.cn>
Sat, 4 Jul 2020 07:42:47 +0000 (15:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jul 2020 22:29:44 +0000 (15:29 -0700)
commit46f1c81b70b2f19310522c1af1657c56c536b818
tree8b4d73e2ffdd18a822cdb66d357a2c0b8e7ba716
parent5e6e49a9b8a519a7176f1fdcfe653cbe7bb26fbe
net/sched: act_ct: add miss tcf_lastuse_update.

When tcf_ct_act execute the tcf_lastuse_update should
be update or the used stats never update

filter protocol ip pref 3 flower chain 0
filter protocol ip pref 3 flower chain 0 handle 0x1
  eth_type ipv4
  dst_ip 1.1.1.1
  ip_flags frag/firstfrag
  skip_hw
  not_in_hw
 action order 1: ct zone 1 nat pipe
  index 1 ref 1 bind 1 installed 103 sec used 103 sec
 Action statistics:
 Sent 151500 bytes 101 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
 cookie 4519c04dc64a1a295787aab13b6a50fb

Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_ct.c