linux/net/ipx
Dan Carpenter c64988b55a ipx: call ipxitf_put() in ioctl error path
commit ee0d8d8482 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2017-06-05 21:17:23 +01:00
..
af_ipx.c ipx: call ipxitf_put() in ioctl error path 2017-06-05 21:17:23 +01:00
ipx_proc.c net: proc_fs: trivial: print UIDs as unsigned int 2013-08-15 14:37:46 -07:00
ipx_route.c net: Split sk_no_check into sk_no_check_{rx,tx} 2014-05-23 16:28:53 -04:00
Kconfig ipx: remove the BKL 2011-03-05 10:55:58 +01:00
Makefile ipx: move peII functions 2012-07-19 10:48:00 -07:00
pe2.c ipx: move peII functions 2012-07-19 10:48:00 -07:00
sysctl_net_ipx.c net: Convert all sysctl registrations to register_net_sysctl 2012-04-20 21:22:30 -04:00