Thread (3 messages) 3 messages, 3 authors, 2024-08-24

Re: [PATCH net-next v2] net: refactor ->ndo_bpf calls into dev_xdp_propagate

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-08-22 15:34:11
Also in: bpf, linux-hyperv, lkml

On Thu, 22 Aug 2024 05:51:54 +0000 Mina Almasry wrote:
When net devices propagate xdp configurations to slave devices,
we will need to perform a memory provider check to ensure we're
not binding xdp to a device using unreadable netmem.

Currently the ->ndo_bpf calls in a few places. Adding checks to all
these places would not be ideal.

Refactor all the ->ndo_bpf calls into one place where we can add this
check in the future.
LGTM! (if anyone is planning to review this please TAL, I'm thinking of
applying it a few hours before the full 24h period to let Mina post his
larger series today)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help