Thread (1 message) 1 message, 1 author, 2016-03-10

Re: [PATCH nf-next v9 5/8] openvswitch: Find existing conntrack entry after upcall.

From: Joe Stringer <hidden>
Date: 2016-03-10 02:29:06
Also in: netfilter-devel

On 9 March 2016 at 15:10, Jarno Rajahalme [off-list ref] wrote:
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 <redacted>
Acked-by: Joe Stringer <redacted>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help