]> Git Repo - linux.git/commit - net/ipx/af_ipx.c
ipx: call ipxitf_put() in ioctl error path
authorDan Carpenter <[email protected]>
Tue, 2 May 2017 10:58:53 +0000 (13:58 +0300)
committerDavid S. Miller <[email protected]>
Tue, 2 May 2017 19:34:53 +0000 (15:34 -0400)
commitee0d8d8482345ff97a75a7d747efc309f13b0d80
tree3f717a7aa3a5595cf6b3a08b0658dcd4fb87f1c6
parent9da3242e6a83b6f315aa9c394c939da8e4ad7774
ipx: call ipxitf_put() in ioctl error path

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

Reported-by: 李强 <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipx/af_ipx.c
This page took 0.052883 seconds and 4 git commands to generate.