aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-07-28 03:20:08 +0000
committerDaniel Borkmann <[email protected]>2018-07-31 00:03:19 +0000
commit2d55d614fcf58187e2937dba11643b9471cd64d7 (patch)
tree13e619294a4c02605b7f4f8782bfa9fea4058f5a /fs/btrfs/dev-replace.c
parenttools/bpftool: fix a percpu_array map dump problem (diff)
downloadkernel-2d55d614fcf58187e2937dba11643b9471cd64d7.tar.gz
kernel-2d55d614fcf58187e2937dba11643b9471cd64d7.zip
net: xsk: don't return frames via the allocator on error
xdp_return_buff() is used when frame has been successfully handled (transmitted) or if an error occurred during delayed processing and there is no way to report it back to xdp_do_redirect(). In case of __xsk_rcv_zc() error is propagated all the way back to the driver, so there is no need to call xdp_return_buff(). Driver will recycle the frame anyway after seeing that error happened. Fixes: 173d3adb6f43 ("xsk: add zero-copy support for Rx") Signed-off-by: Jakub Kicinski <[email protected]> Acked-by: Björn Töpel <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions