diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-05-28 04:29:53 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-28 04:29:54 +0300 |
commit | 9bae058ab57f88c7c1ad61797ee16a5abeda42c2 (patch) | |
tree | aded95c52a9545597adfef63abdc7af531efeb12 /net | |
parent | 4dc160a52da1330d54d561f9dac8a9e0ef333895 (diff) | |
parent | 70132763d5d2e94cd185e3aa92ac6a3ba89068fa (diff) |
Merge branch 'net-ipa-fix-page-free-in-two-spots'
Alex Elder says:
====================
net: ipa: fix page free in two spots
When a receive buffer is not wrapped in an SKB and passed to the
network stack, the (compound) page gets freed within the IPA driver.
This is currently quite rare.
The pages are freed using __free_pages(), but they should instead be
freed using page_put(). This series fixes this, in two spots.
These patches work for the current linus/master branch, but won't
apply cleanly to earlier stable branches. (Nevertheless, the fix is
a trivial substitution everwhere __free_pages() is called.)
====================
Link: https://lore.kernel.org/r/20220526152314.1405629-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions