diff options
| author | Jakub Kicinski <[email protected]> | 2024-04-10 01:20:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-10 01:20:32 +0000 |
| commit | 811b836285779067cefa2285607f2fc508f3f2ee (patch) | |
| tree | 7137308fbcdba00cb1b087c1efd78be02fc5b1b8 /tools/testing/selftests/net/lib/py/nsim.py | |
| parent | Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/ne... (diff) | |
| parent | net: remove napi_frag_unref (diff) | |
| download | kernel-811b836285779067cefa2285607f2fc508f3f2ee.tar.gz kernel-811b836285779067cefa2285607f2fc508f3f2ee.zip | |
Merge branch 'minor-cleanups-to-skb-frag-ref-unref'
Mina Almasry says:
====================
Minor cleanups to skb frag ref/unref (part)
This series is largely motivated by a recent discussion where there was
some confusion on how to properly ref/unref pp pages vs non pp pages:
https://lore.kernel.org/netdev/CAHS8izOoO-EovwMwAm9tLYetwikNPxC0FKyVGu1TPJWSz4bGoA@mail.gmail.com/T/#t
There is some subtely there because pp uses page->pp_ref_count for
refcounting, while non-pp uses get_page()/put_page() for ref counting.
Getting the refcounting pairs wrong can lead to kernel crash.
[...]
https://lore.kernel.org/lkml/CAHS8izN436pn3SndrzsCyhmqvJHLyxgCeDpWXA4r1ANt3RCDLQ@mail.gmail.com/T/
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/nsim.py')
0 files changed, 0 insertions, 0 deletions
