]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
openvswitch: Update the CT state key only after nf_conntrack_in().
authorJarno Rajahalme <jarno@ovn.org>
Thu, 10 Mar 2016 18:54:19 +0000 (10:54 -0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 14 Mar 2016 22:47:28 +0000 (23:47 +0100)
commit394e910e909b174270b8231fd51942eb2f541fb9
tree22af2e228b56131f7f140e1a4f1b7e28a5e47f4b
parent9f13ded8d3c715147c4759f937cfb712c185ca13
openvswitch: Update the CT state key only after nf_conntrack_in().

Only a successful nf_conntrack_in() call can effect a connection state
change, so it suffices to update the key only after the
nf_conntrack_in() returns.

This change is needed for the later NAT patches.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/openvswitch/conntrack.c