aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2023-12-19 11:02:05 +0000
committerJakub Kicinski <[email protected]>2024-01-02 23:27:35 +0000
commit8dc4c410006531ddad981ca9578f83cb93860819 (patch)
tree3056708a72bb02640b761f9f9b4daa3d44d19fee /net/unix/unix_bpf.c
parentRevert "net: mdio: get/put device node during (un)registration" (diff)
downloadkernel-8dc4c410006531ddad981ca9578f83cb93860819.tar.gz
kernel-8dc4c410006531ddad981ca9578f83cb93860819.zip
xsk: make struct xsk_cb_desc available outside CONFIG_XDP_SOCKETS
The ice driver fails to build when CONFIG_XDP_SOCKETS is disabled. drivers/net/ethernet/intel/ice/ice_base.c:533:21: error: variable has incomplete type 'struct xsk_cb_desc' struct xsk_cb_desc desc = {}; ^ include/net/xsk_buff_pool.h:15:8: note: forward declaration of 'struct xsk_cb_desc' struct xsk_cb_desc; ^ Fixes: d68d707dcbbf ("ice: Support XDP hints in AF_XDP ZC mode") Closes: https://lore.kernel.org/netdev/[email protected]/ Signed-off-by: Vladimir Oltean <[email protected]> Acked-by: Larysa Zaremba <[email protected]> Reviewed-by: Maciej Fijalkowski <[email protected]> Acked-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> # build-tested Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions