OSDN Git Service

netfilter: conntrack: allow insertion clash of gre protocol
authorFaicker Mo <faicker.mo@ucloud.cn>
Sun, 23 Apr 2023 02:29:57 +0000 (10:29 +0800)
committerFlorian Westphal <fw@strlen.de>
Thu, 18 May 2023 06:48:55 +0000 (08:48 +0200)
commitd671fd82eaa9bceedd48ea2b0679a9a6bbcd6532
tree0ac483139b9347d48b3e5b48b8de68a81cfc623f
parenta2a0ffb0846895923991aa87e022dc228d53c125
netfilter: conntrack: allow insertion clash of gre protocol

NVGRE tunnel is used in the VM-to-VM communications. The VM packets
are encapsulated in NVGRE and sent from the host. For NVGRE
there are two tuples(outer sip and outer dip) in the host conntrack item.
Insertion clashes are more likely to happen if the concurrent connections
are sent from the VM.

Signed-off-by: Faicker Mo <faicker.mo@ucloud.cn>
Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nf_conntrack_proto_gre.c