diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-10-03 17:34:53 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-03 17:34:54 +0300 |
commit | e643597346c72ebb961ee79ebec34acc042e8ac2 (patch) | |
tree | f957386e4ce4ed813202c847253c91865bcd4cd5 /include | |
parent | 788f63c4dc1780c84deb5fe820f6446c28364a0d (diff) | |
parent | 75cec20345fa8e05a2b5f861fada95ad8e165257 (diff) | |
download | linux-e643597346c72ebb961ee79ebec34acc042e8ac2.tar.xz |
Merge branch 'bpf-remove-xdp_do_flush_map'
Sebastian Andrzej Siewior says:
====================
bpf: Remove xdp_do_flush_map().
I had #1 split in several patches per vendor and then decided to merge
it. I can repost it with one patch per vendor if this preferred.
====================
Link: https://lore.kernel.org/r/20230908143215.869913-1-bigeasy@linutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/filter.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/filter.h b/include/linux/filter.h index 27406aee2d40..e8822bd595f9 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -1025,12 +1025,6 @@ int xdp_do_redirect_frame(struct net_device *dev, struct bpf_prog *prog); void xdp_do_flush(void); -/* The xdp_do_flush_map() helper has been renamed to drop the _map suffix, as - * it is no longer only flushing maps. Keep this define for compatibility - * until all drivers are updated - do not use xdp_do_flush_map() in new code! - */ -#define xdp_do_flush_map xdp_do_flush - void bpf_warn_invalid_xdp_action(struct net_device *dev, struct bpf_prog *prog, u32 act); #ifdef CONFIG_INET |