net: mvpp2: set SKBTX_IN_PROGRESS
Subsystems (3)
PATCH 1/1 net: mvpp2: set SKBTX_IN_PROGRESS
Richard Cochran points out that SKBTX_IN_PROGRESS should be set when the skbuff is queued for timestamping. Add this.
Signed-off-by Russell King <[email protected]>
--- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +2 -0
@@ -3701,6 +3701,8 @@ static bool mvpp2_tx_hw_tstamp(struct mvpp2_port *port,if (!hdr)return false; +skb_shinfo (skb)->tx_flags |=SKBTX_IN_PROGRESS ; + ptpdesc =MVPP22_PTP_MACTIMESTAMPINGEN |MVPP22_PTP_ACTION_CAPTURE ; queue = &port->tx_hwtstamp_queue[0 ];
Signature · 1 line
2.20.1
Quoted 4 lines · Russell King
Richard Cochran points out that
SKBTX_IN_PROGRESSshould be set when the skbuff is queued for timestamping. Add this.Signed-off-by Russell King <[email protected]>
Acked-by Richard Cochran <[email protected]>
From: Russell King <[email protected]>
Date: Sun, 13 Sep 2020 08:05:52 +0100
Quoted 4 lines
Richard Cochran points out that
SKBTX_IN_PROGRESSshould be set when the skbuff is queued for timestamping. Add this.Signed-off-by Russell King <[email protected]>
Applied.