diff options
author | Martin Schiller <ms@dev.tdt.de> | 2020-01-21 09:00:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-21 13:41:36 +0300 |
commit | 953c4a08dfc9ffe763a8340ac10f459d6c6cc4eb (patch) | |
tree | e765ca351e3d2be8eab1d800752462b2a02cc83e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f362e5fe0f1f9774b28c5b4c9b07b0168575cf6e (diff) | |
download | linux-953c4a08dfc9ffe763a8340ac10f459d6c6cc4eb.tar.xz |
wan/hdlc_x25: fix skb handling
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions