aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2016-02-03 18:02:16 -0500
committerDavid S. Miller <[email protected]>2016-02-09 06:43:50 -0500
commit8d39b4a6b83c141acaf0b5e8f90fd5e67721ff90 (patch)
treea4ba273deffe97e83056747c0d0840805e04a4a4 /tools/perf/scripts/python/Perf-Trace-Util/lib
parent58d19b19cd99b438541eea4cdbf5c171900b25e5 (diff)
packet: parse tpacket header before skb alloc
GSO packet headers must be stored in the linear skb segment. Move tpacket header parsing before sock_alloc_send_skb. The GSO follow-on patch will later increase the skb linear argument to sock_alloc_send_skb if needed for large packets. The header parsing code does not require an allocated skb, so is safe to move. Later pass to tpacket_fill_skb the computed data start and length. Signed-off-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions