kernel_optimize_test/drivers
Alex Elder d27f0000d7 net: ipa: fix page free in ipa_endpoint_replenish_one()
commit 70132763d5d2e94cd185e3aa92ac6a3ba89068fa upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-09 10:21:29 +02:00
..
accessibility
acpi ACPI: property: Release subnode properties with data nodes 2022-06-09 10:21:23 +02:00
amba
android
ata
atm
auxdisplay
base drivers/base/memory: fix an unlikely reference counting issue in __add_memory_block() 2022-06-09 10:21:16 +02:00
bcma
block virtio_blk: fix the discard_granularity and discard_alignment queue limits 2022-06-09 10:21:05 +02:00
bluetooth
bus
cdrom
char hwrng: omap3-rom - fix using wrong clk_disable() in omap_rom_rng_runtime_resume() 2022-06-09 10:21:17 +02:00
clk
clocksource
connector
counter
cpufreq cpufreq: mediatek: Unregister platform device on exit 2022-06-09 10:21:19 +02:00
cpuidle
crypto crypto: sun8i-ss - handle zero sized sg 2022-06-09 10:21:17 +02:00
dax
dca
devfreq PM / devfreq: rk3399_dmc: Disable edev on remove() 2022-06-09 10:20:57 +02:00
dio
dma dmaengine: stm32-mdma: fix chan initialization in stm32_mdma_irq_handler() 2022-06-09 10:21:20 +02:00
dma-buf
edac EDAC/dmc520: Don't print an error for each unconfigured interrupt line 2022-06-09 10:21:02 +02:00
eisa
extcon
firewire
firmware firmware: arm_scmi: Fix list protocols enumeration in the base protocol 2022-06-09 10:21:15 +02:00
fpga
fsi
gnss
gpio gpiolib: of: Introduce hook for missing gpio-ranges 2022-06-09 10:21:15 +02:00
gpu gma500: fix an incorrect NULL check on list iterator 2022-06-09 10:21:28 +02:00
greybus
hid HID: elan: Fix potential double free in elan_input_configured 2022-06-09 10:21:02 +02:00
hsi
hv
hwmon
hwspinlock
hwtracing coresight: core: Fix coresight device probe failure issue 2022-06-09 10:21:29 +02:00
i2c i2c: rcar: fix PM ref counts in probe error paths 2022-06-09 10:21:20 +02:00
i3c
ide
idle
iio
infiniband RDMA/hfi1: Fix potential integer multiplication overflow errors 2022-06-09 10:21:25 +02:00
input Input: stmfts - do not leave device disabled in stmfts_input_open 2022-06-09 10:21:18 +02:00
interconnect
iommu iommu/msm: Fix an incorrect NULL check on list iterator 2022-06-09 10:21:26 +02:00
ipack
irqchip irqchip: irq-xtensa-mx: fix initial IRQ affinity 2022-06-09 10:21:26 +02:00
isdn
leds
lightnvm
macintosh macintosh: via-pmu and via-cuda need RTC_LIB 2022-06-09 10:21:18 +02:00
mailbox mailbox: forward the hrtimer if not queued and under a lock 2022-06-09 10:21:18 +02:00
mcb
md bcache: avoid journal no-space deadlock by reserving 1 journal bucket 2022-06-09 10:21:28 +02:00
media media: coda: Add more H264 levels for CODA960 2022-06-09 10:21:25 +02:00
memory memory: samsung: exynos5422-dmc: Avoid some over memory allocation 2022-06-09 10:21:12 +02:00
memstick
message
mfd mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe() 2022-06-09 10:21:18 +02:00
misc misc: ocxl: fix possible double free in ocxl_file_register_afu 2022-06-09 10:21:14 +02:00
mmc drivers: mmc: sdhci_am654: Add the quirk to set TESTCD bit 2022-06-09 10:20:52 +02:00
most
mtd mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N 2022-06-09 10:21:25 +02:00
mux
net net: ipa: fix page free in ipa_endpoint_replenish_one() 2022-06-09 10:21:29 +02:00
nfc NFC: hci: fix sleep in atomic context bugs in nfc_hci_hcp_message_tx 2022-06-09 10:21:11 +02:00
ntb
nubus
nvdimm nvdimm: Allow overwrite in the presence of disabled dimms 2022-06-09 10:21:15 +02:00
nvme nvme: set dma alignment to dword 2022-06-09 10:21:09 +02:00
nvmem
of of: overlay: do not break notify on NOTIFY_{OK|STOP} 2022-06-09 10:21:03 +02:00
opp OPP: call of_node_put() on error path in _bandwidth_supported() 2022-06-09 10:21:18 +02:00
oprofile
parisc
parport
pci PCI: qcom: Fix unbalanced PHY init on probe errors 2022-06-09 10:21:23 +02:00
pcmcia
perf
phy phy: qcom-qmp: fix reset-controller leak on probe errors 2022-06-09 10:21:29 +02:00
pinctrl pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources() 2022-06-09 10:21:16 +02:00
platform MIPS: Loongson: Use hwmon_device_register_with_groups() to register hwmon 2022-06-09 10:21:19 +02:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt 2022-06-09 10:21:07 +02:00
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi scsi: ufs: qcom: Add a readl() to make sure ref_clk gets enabled 2022-06-09 10:21:24 +02:00
sfi
sh
siox
slimbus
soc soc: qcom: llcc: Add MODULE_DEVICE_TABLE() 2022-06-09 10:21:13 +02:00
soundwire
spi spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname() 2022-06-09 10:21:06 +02:00
spmi
ssb
staging media: rkvdec: h264: Fix bit depth wrap in pps packet 2022-06-09 10:21:10 +02:00
target target: remove an incorrect unmap zeroes data deduction 2022-06-09 10:21:01 +02:00
tc
tee
thermal thermal/drivers/imx_sc_thermal: Fix refcount leak in imx_sc_thermal_probe 2022-06-09 10:21:11 +02:00
thunderbolt
tty serial: pch: don't overwrite xmit->buf[0] by x_char 2022-06-09 10:21:28 +02:00
uio
usb
vdpa vdpasim: allow to enable a vq repeatedly 2022-06-09 10:21:29 +02:00
vfio
vhost
video video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup 2022-06-09 10:21:20 +02:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile