commit | a2c0f039bbd0f9ebf375176d05b056e3f3b5c4f7 | [log] [tgz] |
---|---|---|
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | Wed Feb 21 18:18:30 2018 -0600 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 22 14:45:42 2018 -0500 |
tree | eeabc314339ef97d4912345ecf1f6d0b560e84c8 | |
parent | 83090e7d35caaabc8daa65fd698275951455bbec [diff] |
ibmvnic: Fix early release of login buffer The login buffer is released before the driver can perform sanity checks between resources the driver requested and what firmware will provide. Don't release the login buffer until the sanity check is performed. Fixes: 34f0f4e3f488 ("ibmvnic: Fix login buffer memory leaks") Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>