Re: [PATCH v4 2/2] wan/hdlc_x25: fix skb handling

From: David Miller
Date: Tue Jan 21 2020 - 05:42:04 EST


From: Martin Schiller <ms@xxxxxxxxxx>
Date: Tue, 21 Jan 2020 07:00:34 +0100

> o call skb_reset_network_header() before hdlc->xmit()
> o change skb proto to HDLC (0x0019) before hdlc->xmit()
> o call dev_queue_xmit_nit() before hdlc->xmit()
>
> This changes make it possible to trace (tcpdump) outgoing layer2
> (ETH_P_HDLC) packets
>
> Additionally call skb_reset_network_header() after each skb_push() /
> skb_pull().
>
> Signed-off-by: Martin Schiller <ms@xxxxxxxxxx>

Applied to net-next