aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorMina Almasry <[email protected]>2024-08-22 05:51:54 +0000
committerDavid S. Miller <[email protected]>2024-08-24 14:27:22 +0000
commit7d3aed652d090508990d245f9d80dcc481910d02 (patch)
tree9659be1ae50c1baf88a35bfc492e3abee902d038 /drivers/net/xen-netback/interface.c
parentMerge branch 'net-redundant-judgments' (diff)
downloadkernel-7d3aed652d090508990d245f9d80dcc481910d02.tar.gz
kernel-7d3aed652d090508990d245f9d80dcc481910d02.zip
net: refactor ->ndo_bpf calls into dev_xdp_propagate
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. Suggested-by: Jakub Kicinski <[email protected]> Signed-off-by: Mina Almasry <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions