Skip to content
Commit 32f928fa authored by Camelia Groza's avatar Camelia Groza Committed by Xiaolei Wang
Browse files

sdk_dpaa: release buffers that aren't owned by us

commit fc822288ff0431e66f41ce207fbca613b63dfd21 from
https://source.codeaurora.org/external/imx/linux-imx



FDs with buffers from unknown buffer pools might reach the driver. This
can happen if userspace doesn't implement error queues and sends us
their error traffic. Process these FDs and release the buffers to their
original buffer pools based on the buffer pool ID stored in the FD.

Signed-off-by: default avatarCamelia Groza <camelia.groza@nxp.com>
Signed-off-by: default avatarVineet Agarwal <vineet.agarwal@nxp.com>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent 5a0a7cbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment