lkml.org 
[lkml]   [2020]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 2/2] wan/hdlc_x25: fix skb handling
From
From: Martin Schiller <ms@dev.tdt.de>
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@dev.tdt.de>

Applied to net-next

\
 
 \ /
  Last update: 2020-01-21 11:43    [W:0.389 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site