summaryrefslogtreecommitdiff
path: root/include/linux/pps_kernel.h
diff options
context:
space:
mode:
authorDaniel Zahka <daniel.zahka@gmail.com>2026-09-22 12:53:28 -0700
committerPaolo Abeni <pabeni@redhat.com>2026-09-24 13:04:11 +0200
commit1c85ea5df86bed136589a2866c22f394020d3fdf (patch)
treebfc05702d567a426255d9b8aeeb1913683286e0f /include/linux/pps_kernel.h
parent6516ac5e6b164bf78fb34d36b4d84d495a07c844 (diff)
eth: fbnic: put back netmem reference when xdp_buff_add_frag() fails
fbnic_add_rx_frag() takes a page_pool reference out of the buffer's pagecnt_bias before handing the fragment to xdp_buff_add_frag(). If that call fails it has not taken ownership of the netmem: the fragment is not recorded in the shared info, and fbnic_put_pkt_buff() will not put the reference back. Put the netmem reference back on the failure path. Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com> Link: https://patch.msgid.link/20260922-fbnic-refcount-fix-v1-1-31e5862c9893@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions