Alex Elder 70132763d5 net: ipa: fix page free in ipa_endpoint_replenish_one()
Currently the (possibly compound) pages used for receive buffers are
freed using __free_pages().  But according to this comment above the
definition of that function, that's wrong:
    If you want to use the page's reference count to decide
    when to free the allocation, you should allocate a compound
    page, and use put_page() instead of __free_pages().

Convert the call to __free_pages() in ipa_endpoint_replenish_one()
to use put_page() instead.

Fixes: 6a606b90153b8 ("net: ipa: allocate transaction in replenish loop")
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-05-27 18:29:50 -07:00
..
2022-05-20 11:12:23 +01:00
2022-05-22 20:46:12 +01:00
2022-05-20 11:12:23 +01:00
2022-05-22 20:46:12 +01:00
2022-05-22 20:46:12 +01:00
2022-05-22 20:46:12 +01:00
2020-07-13 17:11:53 -07:00
2021-11-25 19:37:33 -08:00
2021-07-26 23:09:18 +01:00
2021-06-11 14:13:18 -07:00
2021-06-11 14:13:18 -07:00
2021-08-22 09:44:17 +01:00
2021-06-11 14:13:18 -07:00
2021-08-22 09:44:17 +01:00