commit | c98b0537f0d962b46c62c27b6c2d783257f7400f | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@codeaurora.org> | Thu Jul 13 15:45:41 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 14 08:55:32 2017 -0700 |
tree | 3c5848d0ddded930eb02991aeec1d21b08b5d31b | |
parent | a8f5cb9e79913a6918f87495d4969706f8817b8e [diff] |
net: qcom/emac: fix double free of SGMII IRQ during shutdown If the interface is not up, then don't try to close it during a shutdown. This avoids possible double free of the IRQ, which can happen during a shutdown. Fixes: 03eb3eb4d4d5 ("net: qcom/emac: add shutdown function") Signed-off-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>