Skip to content

Commit d671fd8

Browse files
faickermoFlorian Westphal
authored and
Florian Westphal
committed
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 <[email protected]> Signed-off-by: Florian Westphal <[email protected]>
1 parent a2a0ffb commit d671fd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/netfilter/nf_conntrack_proto_gre.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ void nf_conntrack_gre_init_net(struct net *net)
296296
/* protocol helper struct */
297297
const struct nf_conntrack_l4proto nf_conntrack_l4proto_gre = {
298298
.l4proto = IPPROTO_GRE,
299+
.allow_clash = true,
299300
#ifdef CONFIG_NF_CONNTRACK_PROCFS
300301
.print_conntrack = gre_print_conntrack,
301302
#endif

0 commit comments

Comments
 (0)