commit | f1db5c101cd48b5555ed9e061dcc49ed329812ea | [log] [tgz] |
---|---|---|
author | Tobias Regnery <tobias.regnery@gmail.com> | Tue Jan 24 14:34:22 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 24 15:27:58 2017 -0500 |
tree | 1de63dbbeb69250983d3d8b7d3e21d2d18f768d1 | |
parent | 5b9f57516337b523f7466a53939aaaea7b78141b [diff] |
alx: fix wrong condition to free descriptor memory The condition to free the descriptor memory is wrong, we want to free the memory if it is set and not if it is unset. Invert the test to fix this issue. Fixes: b0999223f224b ("alx: add ability to allocate and free alx_napi structures") Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>