]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf00ccbfd24a7349abd1d4479b2c4eec19007b56
treeb491a67ce521a4c7bce187e901972c6898c6dc04
parent4b27e7a55edd092511c45c3290a2c97818bb0680
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