Commit 4ab3e498 authored by Vadim Fedorenko's avatar Vadim Fedorenko Committed by Andrew Lunn
Browse files

bnxt_en: replace ptp_lock with irqsave variant



In netpoll configuration the completion processing can happen in hard
irq context which will break with spin_lock_bh() for fullfilling RX
timestamp in case of all packets timestamping. Replace it with
spin_lock_irqsave() variant.

Fixes: 7f5515d1 ("bnxt_en: Get the RX packet timestamp")
Reviewed-by: default avatarMichael Chan <michael.chan@broadcom.com>
Signed-off-by: default avatarVadim Fedorenko <vadfed@meta.com>
Message-ID: <20241016195234.2622004-1-vadfed@meta.com>
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
parent de96f6a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment