aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-03-28 17:00:13 -0700
committerJakub Kicinski <[email protected]>2023-03-29 21:29:31 -0700
commit8c495270845d6b4854607e946baef3637a8259ed (patch)
treee8ac6ca519218518a2a82d58dd5aacfb00b806ed /scripts/generate_rust_analyzer.py
parent6c75dc94f2b27fff57b305af9236eea181a00b6c (diff)
bnx2x: use the right build_skb() helper
build_skb() no longer accepts slab buffers. Since slab use is fairly uncommon we prefer the drivers to call a separate slab_build_skb() function appropriately. bnx2x uses the old semantics where size of 0 meant buffer from slab. It sets the fp->rx_frag_size to 0 for MTUs which don't fit in a page. It needs to call slab_build_skb(). This fixes the WARN_ONCE() of incorrect API use seen with bnx2x. Reported-by: Thomas Voegtle <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Fixes: ce098da1497c ("skbuff: Introduce slab_build_skb()") Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions