summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core_main.c
diff options
context:
space:
mode:
authorWei Yongjun2012-09-24 06:24:25 +0200
committerDavid S. Miller2012-09-24 21:45:17 +0200
commitf68bd07c41f93a4291d3605d5b5ac254340c439e (patch)
tree51f6c0294f6d52465827058413dd0e2aaf66e63e /drivers/s390/net/qeth_core_main.c
parentlcs: ensure proper ccw setup (diff)
downloadkernel-qcow2-linux-f68bd07c41f93a4291d3605d5b5ac254340c439e.tar.gz
kernel-qcow2-linux-f68bd07c41f93a4291d3605d5b5ac254340c439e.tar.xz
kernel-qcow2-linux-f68bd07c41f93a4291d3605d5b5ac254340c439e.zip
qeth: fix possible memory leak in qeth_l3_add_[vipa|rxip]()
ipaddr has been allocated in function qeth_l3_add_vipa() but does not free before leaving from the error handling cases. The same problem also exists in function qeth_l3_add_rxip(). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core_main.c')
0 files changed, 0 insertions, 0 deletions