diff options
| author | Felix Fietkau <[email protected]> | 2022-04-20 14:29:00 +0200 |
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2022-05-13 09:39:35 +0200 |
| commit | bc98e7fdd80d215b4b55eea001023231eb8ce12e (patch) | |
| tree | da3000cf9602ff2d50e630b2b6eee1e744af4012 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 3968a66475b40691c37b5e6c76975f699671e10e (diff) | |
mt76: fix encap offload ethernet type check
The driver needs to check if the format is 802.2 vs 802.3 in order to set
a tx descriptor flag. skb->protocol can't be used, since it may not be properly
initialized for packets coming in from a packet socket.
Fix misdetection by checking the ethertype from the skb data instead
Reported-by: Thibaut VARĂˆNE <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions