linux-xiaomi-chiron/drivers/net/ipa
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: 6a606b9015 ("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
..
gsi.c
gsi.h net: ipa: remove command info pool 2022-05-22 20:46:12 +01:00
gsi_private.h
gsi_reg.h
gsi_trans.c net: ipa: remove command info pool 2022-05-22 20:46:12 +01:00
gsi_trans.h net: ipa: use data space for command opcodes 2022-05-22 20:46:12 +01:00
ipa.h net: ipa: count the number of modem TX endpoints 2022-05-22 20:46:12 +01:00
ipa_cmd.c net: ipa: remove command info pool 2022-05-22 20:46:12 +01:00
ipa_cmd.h net: ipa: remove command info pool 2022-05-22 20:46:12 +01:00
ipa_data-v3.1.c net: ipa: specify RX aggregation time limit in config data 2022-05-22 20:46:12 +01:00
ipa_data-v3.5.1.c net: ipa: specify RX aggregation time limit in config data 2022-05-22 20:46:12 +01:00
ipa_data-v4.2.c net: ipa: specify RX aggregation time limit in config data 2022-05-22 20:46:12 +01:00
ipa_data-v4.5.c net: ipa: specify RX aggregation time limit in config data 2022-05-22 20:46:12 +01:00
ipa_data-v4.9.c net: ipa: specify RX aggregation time limit in config data 2022-05-22 20:46:12 +01:00
ipa_data-v4.11.c net: ipa: specify RX aggregation time limit in config data 2022-05-22 20:46:12 +01:00
ipa_data.h
ipa_endpoint.c net: ipa: fix page free in ipa_endpoint_replenish_one() 2022-05-27 18:29:50 -07:00
ipa_endpoint.h net: ipa: specify RX aggregation time limit in config data 2022-05-22 20:46:12 +01:00
ipa_gsi.c
ipa_gsi.h
ipa_interrupt.c
ipa_interrupt.h
ipa_main.c
ipa_mem.c
ipa_mem.h
ipa_modem.c
ipa_modem.h
ipa_power.c
ipa_power.h
ipa_qmi.c
ipa_qmi.h
ipa_qmi_msg.c
ipa_qmi_msg.h
ipa_reg.c
ipa_reg.h
ipa_resource.c
ipa_resource.h
ipa_smp2p.c
ipa_smp2p.h
ipa_sysfs.c
ipa_sysfs.h
ipa_table.c
ipa_table.h
ipa_uc.c
ipa_uc.h
ipa_version.h
Kconfig
Makefile