summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJarno Rajahalme <jarno@ovn.org>2016-03-10 18:54:20 (GMT)
committerPablo Neira Ayuso <pablo@netfilter.org>2016-03-14 22:47:28 (GMT)
commit289f225349cb2a97448fd14599ab34b741f706f3 (patch)
tree7b1f0a85832935af7e98cdac7227632be2a67729 /kernel
parent394e910e909b174270b8231fd51942eb2f541fb9 (diff)
downloadlinux-289f225349cb2a97448fd14599ab34b741f706f3.tar.xz
openvswitch: Find existing conntrack entry after upcall.
Add a new function ovs_ct_find_existing() to find an existing conntrack entry for which this packet was already applied to. This is only to be called when there is evidence that the packet was already tracked and committed, but we lost the ct reference due to an userspace upcall. ovs_ct_find_existing() is called from skb_nfct_cached(), which can now hide the fact that the ct reference may have been lost due to an upcall. This allows ovs_ct_commit() to be simplified. This patch is needed by later "openvswitch: Interface with NAT" patch, as we need to be able to pass the packet through NAT using the original ct reference also after the reference is lost after an upcall. Signed-off-by: Jarno Rajahalme <jarno@ovn.org> Acked-by: Joe Stringer <joe@ovn.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions