aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2024-06-27 13:59:41 +0100
committerPaolo Abeni <[email protected]>2024-07-02 12:06:50 +0200
commit9e2db9d3993e270b24fbc4ce1ca7e09756e8df25 (patch)
treefdaec87eeed898d59101d4c99365db23ef88f88e /tools/perf/scripts/python/event_analyzing_sample.py
parent19e6ad2c75782bd15b3df24df7982da457d702c5 (diff)
net: always try to set ubuf in skb_zerocopy_iter_stream
skb_zcopy_set() does nothing if there is already a ubuf_info associated with an skb, and since ->link_skb should have set it several lines above the check here essentially does nothing and can be removed. It's also safer this way, because even if the callback is faulty we'll have it set. Signed-off-by: Pavel Begunkov <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions