diff options
author | Eric Dumazet <edumazet@google.com> | 2022-06-08 09:04:38 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-09 21:53:57 -0700 |
commit | fd9ea57f4e9514f9d0f0dec505eefd99a8faa148 (patch) | |
tree | 78722b3552044be2170fe2330968b9e7a8251f97 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ee2640df2393141a2975af726802b349d51713be (diff) |
net: add napi_get_frags_check() helper
This is a follow up of commit 3226b158e67c
("net: avoid 32 x truesize under-estimation for tiny skbs")
When/if we increase MAX_SKB_FRAGS, we better make sure
the old bug will not come back.
Adding a check in napi_get_frags() would be costly,
even if using DEBUG_NET_WARN_ON_ONCE().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions