diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-05-02 13:58:53 +0300 |
|---|---|---|
| committer | Sean McCreary <mccreary@mcwest.org> | 2017-09-05 13:37:55 -0600 |
| commit | 7f4f6a546be28e45dfb2cd64609a17b2f1714545 (patch) | |
| tree | c38aa31f27dd1dd762214d1cf650d4a61d697ba1 /lib/mpi/mpi-inline.c | |
| parent | 9e20025f8bc4ff79dfbde96da9706048ed617e7a (diff) | |
ipx: call ipxitf_put() in ioctl error path
We should call ipxitf_put() if the copy_to_user() fails.
Reported-by: 李强 <liqiang6-s@360.cn>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Change-Id: Ib541c679cc5f4242713eb035aed458043b8ce97e
(cherry picked from commit ee0d8d8482345ff97a75a7d747efc309f13b0d80)
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
