]> git.proxmox.com Git - mirror_ovs.git/commit
conntrack: Fix the icmp conntrack new state.
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Thu, 21 Jan 2021 09:12:47 +0000 (17:12 +0800)
committerIlya Maximets <i.maximets@ovn.org>
Tue, 26 Jan 2021 19:54:56 +0000 (20:54 +0100)
commit8e69349f2eb31a2ed6d9dfc4c1cad40259d84142
treee1087da71c8fafa051a920c27b839fceba0d70ec
parent1c337c43ac1c876d1a5c204884fbc949882c12c2
conntrack: Fix the icmp conntrack new state.

The same icmp packet may traverse conntrack module more than once.
Or same icmp packets traverse contranck module in orderly.

Don't change state to CS_ESTABLISHED before receiving reply or related packets.

Fixes: a867c010ee91 ("conntrack: Fix conntrack new state")
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
lib/conntrack-icmp.c
tests/system-common-macros.at
tests/system-traffic.at