diff options
author | Florian Westphal <fw@strlen.de> | 2023-10-12 14:02:37 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-17 11:32:05 +0100 |
commit | 1b2d3b45c1941453703d70f46b70ab8985303b5d (patch) | |
tree | 3628157e040fd55f39391bf5f3c4554721480e98 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a3c2dd96487f1dd734c9443a3472c8dafa689813 (diff) |
net: gso_test: release each segment individually
consume_skb() doesn't walk the segment list, so segments other than
the first are leaked.
Move this skb_consume call into the loop.
Cc: Willem de Bruijn <willemb@google.com>
Fixes: b3098d32ed6e ("net: add skb_segment kunit test")
Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Willem de Bruijn <willemb@google.com>
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