mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
nvethernet: macsec secure and n_secure irq freeing
Issue: Observed a Kernel warning if we make enable MACSEC using sysfs once and disable twice Fix: Avoid freeing if macsec IRQ is already freed Bug 200772596 Change-Id: I9e2a018da7b0b6bcef79af895de2dbd04859aa55 Signed-off-by: Sanath Kumar Gampa <sgampa@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2593896 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
ceb7893c0e
commit
faf4382eb4
@@ -154,6 +154,8 @@ struct macsec_priv_data {
|
||||
int s_irq;
|
||||
/** Non secure irq */
|
||||
int ns_irq;
|
||||
/** is_irq_allocated BIT(0)for s_irq and BIT(1)for ns_irq*/
|
||||
unsigned int is_irq_allocated;
|
||||
/** pointer to ether private data struct */
|
||||
struct ether_priv_data *ether_pdata;
|
||||
/** macsec IRQ name strings */
|
||||
|
||||
Reference in New Issue
Block a user