]> Git Repo - J-linux.git/commit
ibmvnic: Fix early release of login buffer
authorThomas Falcon <[email protected]>
Thu, 22 Feb 2018 00:18:30 +0000 (18:18 -0600)
committerDavid S. Miller <[email protected]>
Thu, 22 Feb 2018 19:45:42 +0000 (14:45 -0500)
commita2c0f039bbd0f9ebf375176d05b056e3f3b5c4f7
treeeeabc314339ef97d4912345ecf1f6d0b560e84c8
parent83090e7d35caaabc8daa65fd698275951455bbec
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/ibm/ibmvnic.c
This page took 0.050597 seconds and 4 git commands to generate.