commit | 637f81d164a5347ee3325f106f815c7969c032b5 | [log] [tgz] |
---|---|---|
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | Mon Feb 26 18:10:57 2018 -0600 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 27 14:31:19 2018 -0500 |
tree | 414aac998aee6222ca3ff51e67360adce1092872 | |
parent | 53cc7721fdf12e649994cfb7d8f562acb0e4510b [diff] |
ibmvnic: Harden TX/RX pool cleaning If the driver releases resources after a failed reset or some other error, the driver might attempt to clean up and free memory that isn't there anymore. Include some additional checks that RX/TX queues along with their associated structures are still there before cleaning. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>