mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
netfilter: remove saveroute indirection in struct nf_afinfo
This is only used by nf_queue.c and this function comes with no symbol dependencies with IPv6, it just refers to structure layouts. Therefore, we can replace it by a direct function call from where it belongs. Signed-off-by: Pablo Neira Ayuso <[email protected]>
This commit is contained in:
parent
f7dcbe2f36
commit
7db9a51e0f
7 changed files with 60 additions and 63 deletions
|
|
@ -95,11 +95,6 @@ static const struct nf_chain_type filter_bridge = {
|
|||
},
|
||||
};
|
||||
|
||||
static void nf_br_saveroute(const struct sk_buff *skb,
|
||||
struct nf_queue_entry *entry)
|
||||
{
|
||||
}
|
||||
|
||||
static int nf_br_reroute(struct net *net, struct sk_buff *skb,
|
||||
const struct nf_queue_entry *entry)
|
||||
{
|
||||
|
|
@ -115,7 +110,6 @@ static int nf_br_route(struct net *net, struct dst_entry **dst,
|
|||
static const struct nf_afinfo nf_br_afinfo = {
|
||||
.family = AF_BRIDGE,
|
||||
.route = nf_br_route,
|
||||
.saveroute = nf_br_saveroute,
|
||||
.reroute = nf_br_reroute,
|
||||
.route_key_size = 0,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue