diff options
author | qumingguang <qumingguang@huawei.com> | 2017-11-02 20:45:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-02 21:28:35 +0900 |
commit | ae064e6123f89f90af7e4ea190cc0c612643ca93 (patch) | |
tree | 5aaa655a9abd4287b554be24b3bd9d508cc3800c /net/ipv6/sysctl_net_ipv6.c | |
parent | bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 (diff) | |
download | linux-ae064e6123f89f90af7e4ea190cc0c612643ca93.tar.bz2 |
net: hns3: Fix a misuse to devm_free_irq
we should use free_irq to free the nic irq during the unloading time.
because we use request_irq to apply it when nic up. It will crash if
up net device after reset the port. This patch fixes the issue.
Signed-off-by: qumingguang <qumingguang@huawei.com>
Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
0 files changed, 0 insertions, 0 deletions