linux-stable/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 net: ipa: rename a GSI error code 2022-05-20 11:12:23 +01:00
gsi.h net: ipa: remove command info pool 2022-05-22 20:46:12 +01:00
gsi_private.h
gsi_reg.h net: ipa: rename a GSI error code 2022-05-20 11:12:23 +01:00
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 net: ipa: rename a few endpoint config data types 2022-05-20 11:12:24 +01:00
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 net: ipa: don't proceed to out-of-bound write 2022-05-19 18:44:51 -07:00
ipa_interrupt.h net: ipa: set up IPA interrupts earlier 2021-07-26 23:09:18 +01:00
ipa_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-11-26 13:45:19 -08:00
ipa_mem.c net: ipa: Use 'for_each_clear_bit' when possible 2021-11-19 11:19:11 +00:00
ipa_mem.h
ipa_modem.c net: ipa: save a copy of endpoint default config 2022-05-20 11:12:24 +01:00
ipa_modem.h net: ipa: kill ipa_modem_init() 2021-11-25 19:37:33 -08:00
ipa_power.c net: ipa: use struct_size() for the interconnect array 2022-03-11 22:50:07 -08:00
ipa_power.h net: ipa: request IPA register values be retained 2022-02-03 08:03:43 -08:00
ipa_qmi.c net: ipa: get rid of a duplicate initialization 2022-05-13 12:01:42 +01:00
ipa_qmi.h net: ipa: kill ipa_modem_setup() 2021-07-26 23:09:18 +01:00
ipa_qmi_msg.c
ipa_qmi_msg.h
ipa_reg.c
ipa_reg.h net: ipa: use WARN_ON() rather than assertions 2021-07-26 22:38:11 +01:00
ipa_resource.c net/ipa: ipa_resource: Fix wrong for loop range 2021-11-12 19:59:45 -08:00
ipa_resource.h
ipa_smp2p.c net: ipa: separate disabling setup from modem stop 2021-11-23 12:06:40 +00:00
ipa_smp2p.h net: ipa: separate disabling setup from modem stop 2021-11-23 12:06:40 +00:00
ipa_sysfs.c
ipa_sysfs.h
ipa_table.c net: ipa: zero unused portions of filter table memory 2021-11-25 19:37:33 -08:00
ipa_table.h net: ipa: always validate filter and route tables 2021-07-26 22:38:11 +01:00
ipa_uc.c net: ipa: request IPA register values be retained 2022-02-03 08:03:43 -08:00
ipa_uc.h net: ipa: rename ipa_clock_* symbols 2021-08-22 09:44:17 +01:00
ipa_version.h
Kconfig net: ipa: add an interconnect dependency 2022-03-02 22:14:05 -08:00
Makefile net: ipa: rename "ipa_clock.c" 2021-08-22 09:44:17 +01:00