OSDN Git Service

openvswitch: use nf_ct_get_tuplepr, invert_tuplepr
authorFlorian Westphal <fw@strlen.de>
Mon, 25 Jun 2018 15:55:32 +0000 (17:55 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Jul 2018 15:51:48 +0000 (17:51 +0200)
commit60e3be94e6a1c5162a0763c9aafb5190b2b1fdce
treeb491a67ce521a4c7bce187e901972c6898c6dc04
parentebee5a50d0b7cdc576aa8081f05b86971880054d
openvswitch: use nf_ct_get_tuplepr, invert_tuplepr

These versions deal with the l3proto/l4proto details internally.
It removes only caller of nf_ct_get_tuple, so make it static.

After this, l3proto->get_l4proto() can be removed in a followup patch.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_core.h
net/netfilter/nf_conntrack_core.c
net/openvswitch/conntrack.c