diff options
| author | Florian Westphal <fw@strlen.de> | 2024-02-14 14:41:02 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2024-02-21 12:03:22 +0100 |
| commit | 3f801968889459ecae1eab524b039676e6eaa319 (patch) | |
| tree | 933152f793073a1b6c6e39da2154a0994f81bb83 /include | |
| parent | netfilter: nft_set_pipapo: use GFP_KERNEL for insertions (diff) | |
| download | linux-3f801968889459ecae1eab524b039676e6eaa319.tar.gz linux-3f801968889459ecae1eab524b039676e6eaa319.zip | |
netfilter: move nf_reinject into nfnetlink_queue modules
No need to keep this in the core, move it to the nfnetlink_queue module.
nf_reroute is moved too, there were no other callers.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/netfilter.h | 1 | ||||
| -rw-r--r-- | include/net/netfilter/nf_queue.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index 80900d910992..ffb5e0297eb5 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -370,7 +370,6 @@ __sum16 nf_checksum_partial(struct sk_buff *skb, unsigned int hook, u_int8_t protocol, unsigned short family); int nf_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict, unsigned short family); -int nf_reroute(struct sk_buff *skb, struct nf_queue_entry *entry); #include <net/flow.h> diff --git a/include/net/netfilter/nf_queue.h b/include/net/netfilter/nf_queue.h index c81021ab07aa..4aeffddb7586 100644 --- a/include/net/netfilter/nf_queue.h +++ b/include/net/netfilter/nf_queue.h @@ -35,7 +35,6 @@ struct nf_queue_handler { void nf_register_queue_handler(const struct nf_queue_handler *qh); void nf_unregister_queue_handler(void); -void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict); bool nf_queue_entry_get_refs(struct nf_queue_entry *entry); void nf_queue_entry_free(struct nf_queue_entry *entry); |
