]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: add seqadj extension when NAT is used.
authorFlavio Leitner <fbl@sysclose.org>
Mon, 25 Mar 2019 18:58:31 +0000 (15:58 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Mar 2019 19:48:23 +0000 (12:48 -0700)
commit823c856242d3275ba5e5db6357051c7c46c7deae
tree998b9530494e7e7396064ed05a7341f2ddc2be0d
parente07a4a595d3c49029d04eb4c48d1dd5a71080e25
openvswitch: add seqadj extension when NAT is used.

When the conntrack is initialized, there is no helper attached
yet so the nat info initialization (nf_nat_setup_info) skips
adding the seqadj ext.

A helper is attached later when the conntrack is not confirmed
but is going to be committed. In this case, if NAT is needed then
adds the seqadj ext as well.

Fixes: 87c5e11974d2 ("openvswitch: Fix cached ct with helper.")
Signed-off-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c