mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
Issue: MACSEC is not enabled in DT for eqos_1 and mgbe2_1 interfaces which makes macsec_pdata pointer to NULL. During suspend/resume macsec_pdata pointer accessed without NULL check which resulted in crash. Fix: o Add NULL pointer checks for macsec_pdata in suspend and resume. o Remove unnecessary checks for macsec in suspend and resume. Bug 4060718 Change-Id: I00e042d979e115c088696a8964496ed0054360e5 Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2888289 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>