Hi! First 3 patches of my recent RFC. The first one make the check against real_num_rx_queues slightly more reliable, while the latter two redefine XDP_QUERY_XSK_UMEM slightly to disallow replacing UMEM in the driver at the stack level.
I'm not sure where this lays on the bpf vs net trees scale, but there should be no conflicts with either tree. Jakub Kicinski (3): net: update real_num_rx_queues even when !CONFIG_SYSFS xsk: refactor xdp_umem_assign_dev() xsk: don't allow umem replace at stack level include/linux/netdevice.h | 10 +++--- net/xdp/xdp_umem.c | 70 +++++++++++++++++++++++---------------- 2 files changed, 47 insertions(+), 33 deletions(-) -- 2.17.1