aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXie He <[email protected]>2020-10-31 11:10:41 -0700
committerJakub Kicinski <[email protected]>2020-11-03 15:19:09 -0800
commitefc790394f8ac7645d80c44f9cc110779428fe7b (patch)
treecc817ed88a7eaa8fcdafe2c4df2d5bf1b4d41043 /tools/perf/scripts/python
parent14b20704a18062249903a7a930e27c4452bc56bc (diff)
net: hdlc_fr: Do skb_reset_mac_header for skbs received on normal PVC devices
When an skb is received on a normal (non-Ethernet-emulating) PVC device, call skb_reset_mac_header before we pass it to upper layers. This is because normal PVC devices don't have header_ops, so any header we have would not be visible to upper layer code when sending, so the header shouldn't be visible to upper layer code when receiving, either. Cc: Krzysztof Halasa <[email protected]> Cc: Willem de Bruijn <[email protected]> Signed-off-by: Xie He <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions