diff options
| author | Jiawen Wu <[email protected]> | 2024-07-01 07:14:16 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-07-02 14:07:04 +0000 |
| commit | 935124dd5883b5de68dc5a94f582480a10643dc9 (patch) | |
| tree | e3cb63dc4367d55d04a06ba5c9747c36c1509788 /net/unix/garbage.c | |
| parent | net: txgbe: add extra handle for MSI/INTx into thread irq handle (diff) | |
| download | kernel-935124dd5883b5de68dc5a94f582480a10643dc9.tar.gz kernel-935124dd5883b5de68dc5a94f582480a10643dc9.zip | |
net: txgbe: free isb resources at the right time
When using MSI/INTx interrupt, the shared interrupts are still being
handled in the device remove routine, before free IRQs. So isb memory
is still read after it is freed. Thus move wx_free_isb_resources()
from txgbe_close() to txgbe_remove(). And fix the improper isb free
action in txgbe_open() error handling path.
Fixes: aefd013624a1 ("net: txgbe: use irq_domain for interrupt controller")
Signed-off-by: Jiawen Wu <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
