Commit 1b3462f2 authored by Dan Carpenter's avatar Dan Carpenter Committed by Chenbo Feng
Browse files

UPSTREAM: ipx: call ipxitf_put() in ioctl error path



We should call ipxitf_put() if the copy_to_user() fails.

Reported-by: default avatar李强 <liqiang6-s@360.cn>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>

(Cherry-pick from commit ee0d8d84)
Bug: 62070688
parent 664c7d3f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment