Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

xsk: Remove dangling function declaration from header file

xdp_umem_query() is dead for a long time, drop the declaration from
include/linux/netdevice.h

Fixes: c9b47cc1fabc ("xsk: fix bug when trying to use both copy and zero-copy on one queue id")
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Link: https://lore.kernel.org/bpf/20210303185636.18070-2-maciej.fijalkowski@intel.com

authored by

Maciej Fijalkowski and committed by
Daniel Borkmann
c95c34f0 6185266c

-2
-2
include/linux/netdevice.h
··· 3959 3959 int bpf_xdp_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 3960 3960 u32 dev_xdp_prog_id(struct net_device *dev, enum bpf_xdp_mode mode); 3961 3961 3962 - int xdp_umem_query(struct net_device *dev, u16 queue_id); 3963 - 3964 3962 int __dev_forward_skb(struct net_device *dev, struct sk_buff *skb); 3965 3963 int dev_forward_skb(struct net_device *dev, struct sk_buff *skb); 3966 3964 int dev_forward_skb_nomtu(struct net_device *dev, struct sk_buff *skb);