On Tue, Nov 5, 2024 at 11:07 AM <chia-yu.chang@xxxxxxxxxxxxxxxxxxx> wrote: > > From: Ilpo Järvinen <ij@xxxxxxxxxx> > > Rename tcp_ecn_check_ce to tcp_data_ecn_check as it is > called only for data segments, not for ACKs (with AccECN, > also ACKs may get ECN bits). > > The extra "layer" in tcp_ecn_check_ce() function just > checks for ECN being enabled, that can be moved into > tcp_ecn_field_check rather than having the __ variant. > > No functional changes. > > Signed-off-by: Ilpo Järvinen <ij@xxxxxxxxxx> > Signed-off-by: Chia-Yu Chang <chia-yu.chang@xxxxxxxxxxxxxxxxxxx> Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>