commit | 20610f5bbd23fd1bafa3c6d91c558ad9b08e346a | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | Wed Oct 18 17:40:17 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Dec 16 16:25:44 2017 +0100 |
tree | a15ece8969de4b9328c7abd543dc3c3ae011d25d | |
parent | 32436bf375b07e9126bcb0d46b7242bdea239286 [diff] |
s390/qeth: fix early exit from error path [ Upstream commit 83cf79a2fec3cf499eb6cb9eb608656fc2a82776 ] When the allocation of the addr buffer fails, we need to free our refcount on the inetdevice before returning. Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>