commit | b0992eca00c490c0923044b7d8b853c212b3cacc | [log] [tgz] |
---|---|---|
author | Thomas Falcon <tlfalcon@linux.vnet.ibm.com> | Tue Feb 06 17:25:23 2018 -0600 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 07 21:55:52 2018 -0500 |
tree | e0354ccb0dbd5010fec741eea1838adc516a4cfc | |
parent | 3468656fd7599b0cb1092bb1ee717d1a984e93ee [diff] |
ibmvnic: Ensure that buffers are NULL after free This change will guard against a double free in the case that the buffers were previously freed at some other time, such as during a device reset. It resolves a kernel oops that occurred when changing the VNIC device's MTU. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>