net: Remove unneeded export of a couple of xdp generic functions
generic_xdp_tx and xdp_do_generic_redirect are only used by builtin code, so remove the EXPORT_SYMBOL_GPL for them. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c3e042f541
commit
366ed1aca6
|
@ -4636,7 +4636,6 @@ void generic_xdp_tx(struct sk_buff *skb, struct bpf_prog *xdp_prog)
|
|||
kfree_skb(skb);
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(generic_xdp_tx);
|
||||
|
||||
static DEFINE_STATIC_KEY_FALSE(generic_xdp_needed_key);
|
||||
|
||||
|
|
|
@ -3626,7 +3626,6 @@ err:
|
|||
_trace_xdp_redirect_err(dev, xdp_prog, index, err);
|
||||
return err;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(xdp_do_generic_redirect);
|
||||
|
||||
BPF_CALL_2(bpf_xdp_redirect, u32, ifindex, u64, flags)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue