Re: [PATCH v2 net-next] tcp: expose sk_state in tcp_retransmit_skb tracepoint

From: David Miller
Date: Wed Sep 26 2018 - 23:07:41 EST


From: Yafang Shao <laoar.shao@xxxxxxxxx>
Date: Mon, 24 Sep 2018 20:57:29 +0800

> After sk_state exposed, we can get in which state this retransmission
> occurs. That could give us more detail for dignostic.
> For example, if this retransmission occurs in SYN_SENT state, it may
> also indicates that the syn packet may be dropped on the remote peer due
> to syn backlog queue full and then we could check the remote peer.
>
> BTW,SYNACK retransmission is traced in tcp_retransmit_synack tracepoint.
>
> Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx>

Applied.