Re: [PATCH net-next] drivers/net/wan/x25_asy: Remove an unnecessary x25_type_trans call

From: David Miller
Date: Mon Sep 14 2020 - 17:41:45 EST


From: Xie He <xie.he.0141@xxxxxxxxx>
Date: Fri, 11 Sep 2020 19:18:07 -0700

> x25_type_trans only needs to be called before we call netif_rx to pass
> the skb to upper layers.
>
> It does not need to be called before lapb_data_received. The LAPB module
> does not need the fields that are set by calling it.
>
> In the other two X.25 drivers - lapbether and hdlc_x25. x25_type_trans
> is only called before netif_rx and not before lapb_data_received.
>
> Cc: Martin Schiller <ms@xxxxxxxxxx>
> Signed-off-by: Xie He <xie.he.0141@xxxxxxxxx>

Applied to net-next, thanks.