Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 5.4-2.1.x-imx to v5.4.80 from stable #182

Merged
merged 159 commits into from
Nov 24, 2020
Merged
Changes from 1 commit
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
b2f95ff
ah6: fix error return code in ah6_input()
Nov 17, 2020
362bd03
atm: nicstar: Unmap DMA on send error
Nov 16, 2020
bedb089
bnxt_en: read EEPROM A2h address using page 0
Nov 16, 2020
2894a07
devlink: Add missing genlmsg_cancel() in devlink_nl_sb_port_pool_fill()
Nov 13, 2020
e5fe052
Exempt multicast addresses from five-second neighbor lifetime
jdike Nov 13, 2020
0e8b021
inet_diag: Fix error path to cancel the meseage in inet_req_diag_fill()
Nov 16, 2020
88a5a3e
ipv6: Fix error path to cancel the meseage
Nov 12, 2020
5c7a00a
lan743x: fix issue causing intermittent kernel log warnings
Nov 12, 2020
c35a7de
lan743x: prevent entire kernel HANG on open, for some platforms
Nov 12, 2020
78b9c4a
mlxsw: core: Use variable timeout for EMAD retries
idosch Nov 17, 2020
fa03d61
net: b44: fix error return code in b44_init_one()
Nov 17, 2020
805dfdb
net: bridge: add missing counters to ndo_get_stats64 callback
hkallweit Nov 13, 2020
27e9ca6
net: dsa: mv88e6xxx: Avoid VTU corruption on 6097
wkz Nov 12, 2020
bd17af3
net: ethernet: ti: cpsw: fix error return code in cpsw_probe()
Nov 13, 2020
99ddc32
net: Have netpoll bring-up DSA management interface
ffainelli Nov 17, 2020
d970489
netlabel: fix our progress tracking in netlbl_unlabel_staticlist()
pcmoore Nov 8, 2020
65a596e
netlabel: fix an uninitialized warning in netlbl_unlabel_staticlist()
pcmoore Nov 13, 2020
75b2b0d
net: lantiq: Wait for the GPHY firmware to be ready
xdarklight Nov 15, 2020
782a503
net/mlx4_core: Fix init_hca fields offset
ayalevin Nov 18, 2020
ab1e4b3
net: qualcomm: rmnet: Fix incorrect receive packet handling during cl…
Nov 13, 2020
9e90995
net/smc: fix direct access to ib_gid_addr->ndev in smc_ib_determine_g…
karstengr Nov 18, 2020
9ecfcf4
net/tls: fix corrupted data in recvmsg
vvfedorenko Nov 15, 2020
f6f751c
net: x25: Increase refcnt of "struct x25_neigh" in x25_rx_call_request
Nov 12, 2020
f8e5578
page_frag: Recover from memory pressure
Nov 15, 2020
5241fa6
qed: fix error return code in qed_iwarp_ll2_start()
Nov 16, 2020
3179068
qlcnic: fix error return code in qlcnic_83xx_restart_hw()
Nov 13, 2020
04b7fd7
sctp: change to hold/put transport for proto_unreach_timer
lxin Nov 14, 2020
3d6c81f
tcp: only postpone PROBE_RTT if RTT is < current min_rtt estimate
sharpelletti Nov 16, 2020
3f9f112
net/mlx5: Add handling of port type in rule deletion
mikijoy Nov 2, 2020
7204f0b
net/mlx5: Disable QoS when min_rates on all VFs are zero
Hoommus Oct 21, 2020
9a1ac76
net: usb: qmi_wwan: Set DTR quirk for MR400
Nov 17, 2020
3f0ccca
net/ncsi: Fix netlink registration
shenki Nov 12, 2020
9865a26
net: ftgmac100: Fix crash when removing driver
shenki Nov 17, 2020
e06dfd5
pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq
jayxurockchip Oct 13, 2020
8ebc414
scsi: ufs: Fix unbalanced scsi_block_reqs_cnt caused by ufshcd_hold()
Nov 3, 2020
58ced37
selftests: kvm: Fix the segment descriptor layout to match the actual…
suomilewis Oct 12, 2020
e6f6e52
ACPI: button: Add DMI quirk for Medion Akoya E2228T
jwrdegoede Nov 7, 2020
71eea3d
arm64: errata: Fix handling of 1418040 with late CPU onlining
willdeacon Nov 6, 2020
e8df8c2
arm64: psci: Avoid printing in cpu_psci_cpu_die()
willdeacon Nov 6, 2020
54d1198
arm64: smp: Tell RCU about CPUs that fail to come online
willdeacon Nov 6, 2020
195f9e1
vfs: remove lockdep bogosity in __sb_start_write
djwong Nov 11, 2020
e240b43
gfs2: fix possible reference leak in gfs2_check_blk_type
Nov 8, 2020
8afc6e0
hwmon: (pwm-fan) Fix RPM calculation
pbrkr Nov 11, 2020
79de663
arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay
clementperon Oct 18, 2020
ba6ebc2
arm64: dts: allwinner: Pine H64: Enable both RGMII RX/TX delay
montjoie Oct 19, 2020
96bde11
arm64: dts: allwinner: a64: OrangePi Win: Fix ethernet node
jernejsk Oct 22, 2020
345d06f
arm64: dts: allwinner: a64: Pine64 Plus: Fix ethernet node
jernejsk Oct 22, 2020
31c4a41
arm64: dts: allwinner: h5: OrangePi PC2: Fix ethernet node
jernejsk Oct 23, 2020
1446255
ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix ethernet node
jernejsk Oct 25, 2020
260ceb0
Revert "arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to activ…
wens Oct 24, 2020
b55bc15
ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Etherne…
wens Oct 24, 2020
3036915
ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY
wens Oct 24, 2020
ec268dd
ARM: dts: sun7i: bananapi-m1-plus: Enable RGMII RX/TX delay on Ethern…
wens Oct 24, 2020
cecaad1
ARM: dts: sun8i: h3: orangepi-plus2e: Enable RGMII RX/TX delay on Eth…
wens Oct 24, 2020
6cb5054
ARM: dts: sun8i: a83t: Enable both RGMII RX/TX delay on Ethernet PHY
wens Oct 24, 2020
c6e7f6b
ARM: dts: sun9i: Enable both RGMII RX/TX delay on Ethernet PHY
wens Oct 24, 2020
794a130
ARM: dts: sunxi: bananapi-m2-plus: Enable RGMII RX/TX delay on Ethern…
wens Oct 24, 2020
29dea2b
arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on…
wens Oct 24, 2020
93f2368
Input: adxl34x - clean up a data type in adxl34x_probe()
Oct 27, 2020
cab227c
MIPS: export has_transparent_hugepage() for modules
rddunlap Oct 23, 2020
b944791
arm64: dts: allwinner: h5: OrangePi Prime: Fix ethernet node
nenadperic Oct 28, 2020
a8d6ae1
arm64: dts imx8mn: Remove non-existent USB OTG2
aford173 Oct 8, 2020
cfee233
arm: dts: imx6qdl-udoo: fix rgmii phy-mode for ksz9031 phy
geomatsi Oct 24, 2020
fd278c6
swiotlb: using SIZE_MAX needs limits.h included
sfrothwell Nov 2, 2020
58e4f34
arm64: dts: imx8mm: fix voltage for 1.6GHz CPU operating point
lynxeye-dev Nov 5, 2020
9a4b4a0
ARM: dts: imx50-evk: Fix the chip select 1 IOMUX
fabioestevam Nov 5, 2020
6490ecd
Input: resistive-adc-touch - fix kconfig dependency on IIO_BUFFER
necipfazil Nov 12, 2020
1b1ddde
rfkill: Fix use-after-free in rfkill_resume()
Nov 10, 2020
1a358c4
RDMA/pvrdma: Fix missing kfree() in pvrdma_register_device()
Nov 11, 2020
4c954fe
RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs
Nov 6, 2020
6eadbc3
perf lock: Don't free "lock_seq_stat" if read_count isn't zero
Nov 4, 2020
f5d6b6c
tools, bpftool: Add missing close before bpftool net attach exit
Nov 13, 2020
ef097e9
ip_tunnels: Set tunnel option flag when tunnel metadata is present
YiHungWei Nov 11, 2020
5970c08
can: af_can: prevent potential access of uninitialized member in can_…
thazhemadam Nov 3, 2020
247b03e
can: af_can: prevent potential access of uninitialized member in canf…
thazhemadam Nov 3, 2020
85854e4
can: dev: can_restart(): post buffer from the right context
Nov 5, 2020
85c48dc
can: ti_hecc: Fix memleak in ti_hecc_probe
Nov 14, 2020
4a6891e
can: mcba_usb: mcba_usb_start_xmit(): first fill skb, then pass to ca…
marckleinebudde Aug 28, 2019
73788e8
can: peak_usb: fix potential integer overflow on shift of a int
Nov 5, 2020
f0c8508
can: flexcan: fix failure handling of pm_runtime_get_sync()
Nov 8, 2020
8408920
can: tcan4x5x: replace depends on REGMAP_SPI with depends on SPI
Apr 13, 2020
d527bb8
can: tcan4x5x: tcan4x5x_can_probe(): add missing error checking for d…
marckleinebudde Jan 3, 2020
6985148
can: tcan4x5x: tcan4x5x_can_remove(): fix order of deregistration
marckleinebudde Aug 10, 2020
9b0596c
can: m_can: m_can_handle_state_change(): fix state change
wushifu32 Jan 29, 2020
db2f557
can: m_can: m_can_class_free_dev(): introduce new function
Feb 27, 2020
24ce39b
can: m_can: m_can_stop(): set device to software init mode before clo…
Faiz-Abbas Aug 25, 2020
32ebbc8
ASoC: qcom: lpass-platform: Fix memory leak
Nov 15, 2020
cb5ad04
selftests/bpf: Fix error return code in run_getsockopt_test()
Nov 16, 2020
5e7f422
MIPS: Alchemy: Fix memleak in alchemy_clk_setup_cpu
Nov 13, 2020
a5a1db7
drm/sun4i: dw-hdmi: fix error return code in sun8i_dw_hdmi_bind()
fenghusthu Nov 16, 2020
401afa5
net/mlx5: E-Switch, Fail mlx5_esw_modify_vport_rate if qos disabled
elic307i Nov 9, 2020
58f45da
bpf, sockmap: Fix partial copy_page_to_iter so progress can still be …
jrfastab Nov 16, 2020
9df3884
bpf, sockmap: Ensure SO_RCVBUF memory is observed on ingress redirect
jrfastab Nov 16, 2020
987bd79
can: kvaser_pciefd: Fix KCAN bittiming limits
Nov 15, 2020
6d184f8
can: kvaser_usb: kvaser_usb_hydra: Fix KCAN bittiming limits
Nov 15, 2020
964b02d
iommu/vt-d: Move intel_iommu_gfx_mapped to Intel IOMMU header
andy-shev Aug 28, 2020
58f1657
iommu/vt-d: Avoid panic if iommu init fails in tboot system
Nov 10, 2020
a3c9420
can: flexcan: flexcan_chip_start(): fix erroneous flexcan_transceiver…
marckleinebudde Nov 18, 2020
56588c1
can: m_can: process interrupt only when not runtime suspended
jhnikula Sep 15, 2020
388ca4a
xfs: fix the minrecs logic when dealing with inode root child blocks
djwong Nov 9, 2020
738ec76
xfs: strengthen rmap record flags checking
djwong Nov 9, 2020
ad3c4c9
xfs: return corresponding errcode if xfs_initialize_perag() fail
YuKuai-huawei Nov 18, 2020
b9589cb
regulator: ti-abb: Fix array out of bound read access on the first tr…
nmenon Nov 18, 2020
989d275
fail_function: Remove a redundant mutex unlock
Nov 18, 2020
4983ffd
xfs: revert "xfs: fix rmap key and record comparison functions"
djwong Nov 19, 2020
329c844
bpf, sockmap: Skb verdict SK_PASS to self already checked rmem limits
jrfastab Oct 9, 2020
e8b1de6
bpf, sockmap: On receive programs try to fast track SK_PASS ingress
jrfastab Oct 9, 2020
a9f3670
bpf, sockmap: Use truesize with sk_rmem_schedule()
jrfastab Nov 16, 2020
95fafa1
bpf, sockmap: Avoid returning unneeded EAGAIN when redirecting to self
jrfastab Nov 16, 2020
9d1b5a8
efi/x86: Free efi_pgd with free_pages()
nivedita76 Nov 10, 2020
8a411bb
libfs: fix error cast of negative value in simple_attr_write()
Nov 22, 2020
770a550
HID: logitech-hidpp: Add PID for MX Anywhere 2
HarryCutts Oct 21, 2020
4e23e32
HID: logitech-dj: Handle quad/bluetooth keyboards with a builtin trac…
jwrdegoede Nov 2, 2020
0da75d3
HID: logitech-dj: Fix Dinovo Mini when paired with a MX5x00 receiver
jwrdegoede Nov 14, 2020
3b78db2
speakup: Do not let the line discipline be used several times
sthibaul Nov 10, 2020
090ac65
ALSA: firewire: Clean up a locking issue in copy_resp_to_buf()
Nov 13, 2020
16a5e37
ALSA: usb-audio: Add delay quirk for all Logitech USB devices
joakim-tjernlund Nov 17, 2020
b9a69e5
ALSA: ctl: fix error path at adding user-defined element set
takaswie Nov 13, 2020
c70c1b9
ALSA: mixart: Fix mutex deadlock
tiwai Nov 19, 2020
659f673
ALSA: hda/realtek - Add supported for Lenovo ThinkPad Headset Button
KailangYang Nov 2, 2020
a3ac3d2
ALSA: hda/realtek: Add some Clove SSID in the ALC293(ALC1220)
Nov 11, 2020
663f70f
tty: serial: imx: fix potential deadlock
Nov 9, 2020
772ff2c
tty: serial: imx: keep console clocks always on
fugangduan Nov 11, 2020
d73d010
HID: logitech-dj: Fix an error in mse_bluetooth_descriptor
jwrdegoede Nov 14, 2020
f59ef9e
efivarfs: fix memory leak in efivarfs_create()
Oct 23, 2020
2ba693e
staging: rtl8723bs: Add 024c:0627 to the list of SDIO device-ids
Nov 6, 2020
7f76c60
iio: light: fix kconfig dependency bug for VCNL4035
necipfazil Nov 2, 2020
308a06a
ext4: fix bogus warning in ext4_update_dx_flag()
jankara Nov 18, 2020
9f99cc3
iio: accel: kxcjk1013: Replace is_smo8500_device with an acpi_type enum
jwrdegoede Nov 10, 2020
d3e27c6
iio: accel: kxcjk1013: Add support for KIOX010A ACPI DSM for setting …
jwrdegoede Nov 10, 2020
760d4e3
iio: adc: mediatek: fix unset field
Fabo Oct 18, 2020
11bb6ae
spi: lpspi: Fix use-after-free on unbind
l1k Nov 8, 2020
3e04a49
spi: Introduce device-managed SPI controller allocation
l1k Nov 11, 2020
2737549
spi: npcm-fiu: Don't leak SPI master in probe error path
l1k Nov 16, 2020
53a9502
spi: bcm2835aux: Fix use-after-free on unbind
l1k Nov 11, 2020
4cab55d
regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200}
sknsean Nov 10, 2020
65205df
regulator: fix memory leak with repeated set_machine_constraints()
osctobe Nov 13, 2020
0d233d5
regulator: avoid resolve_supply() infinite recursion
osctobe Nov 13, 2020
e7ea18d
regulator: workaround self-referent regulators
osctobe Nov 13, 2020
747467f
xtensa: fix TLBTEMP area placement
jcmvbkbc Nov 16, 2020
713f903
xtensa: disable preemption around cache alias management calls
jcmvbkbc Nov 16, 2020
336c331
mac80211: minstrel: remove deferred sampling code
nbd168 Nov 11, 2020
945c10a
mac80211: minstrel: fix tx status processing corner case
nbd168 Nov 11, 2020
89d73a9
mac80211: free sta in sta_info_insert_finish() on errors
jmberg-intel Nov 12, 2020
e6e76a2
s390/cpum_sf.c: fix file permission for cpum_sfb_size
Nov 11, 2020
7411c05
s390/dasd: fix null pointer dereference for ERP requests
Nov 16, 2020
1c1add9
Drivers: hv: vmbus: Allow cleanup of VMBUS_CONNECT_CPU if disconnected
christopherco Nov 10, 2020
51cc709
drm/amd/display: Add missing pflip irq for dcn2.0
alexdeucher Nov 13, 2020
5b73801
drm/i915: Handle max_bpc==16
vsyrjala Nov 10, 2020
d514813
mmc: sdhci-pci: Prefer SDR25 timing for High Speed mode for BYT-based…
ahunter6 Nov 12, 2020
fa9ccc1
ptrace: Set PF_SUPERPRIV when checking capability
l0kod Oct 30, 2020
09652eb
seccomp: Set PF_SUPERPRIV when checking capability
l0kod Oct 30, 2020
fc82fd7
x86/microcode/intel: Check patch signature before saving microcode fo…
yu-chen-surf Nov 13, 2020
173e373
mm: memcg/slab: fix root memcg vmstats
Nov 22, 2020
a276147
mm/userfaultfd: do not access vma->vm_mm after calling handle_userfau…
gerald-schaefer Nov 22, 2020
10ca291
mm, page_alloc: skip ->waternark_boost for atomic order-0 allocations
Aug 7, 2020
a88f08e
sched/fair: Fix overutilized update in enqueue_task_fair()
Nov 12, 2020
9f4b26f
Linux 5.4.80
gregkh Nov 24, 2020
0e711d7
Merge tag 'v5.4.80' into 5.4-2.1.x-imx
zandrey Nov 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
atm: nicstar: Unmap DMA on send error
[ Upstream commit 6dceaa9 ]

The `skb' is mapped for DMA in ns_send() but does not unmap DMA in case
push_scqe() fails to submit the `skb'. The memory of the `skb' is
released so only the DMA mapping is leaking.

Unmap the DMA mapping in case push_scqe() failed.

Fixes: 864a3ff ("atm: [nicstar] remove virt_to_bus() and support 64-bit platforms")
Cc: Chas Williams <3chas3@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sebastian Andrzej Siewior authored and gregkh committed Nov 24, 2020
commit 362bd03af5893f28e754d832df9d90bf89aee092
2 changes: 2 additions & 0 deletions drivers/atm/nicstar.c
Original file line number Diff line number Diff line change
@@ -1706,6 +1706,8 @@ static int ns_send(struct atm_vcc *vcc, struct sk_buff *skb)

if (push_scqe(card, vc, scq, &scqe, skb) != 0) {
atomic_inc(&vcc->stats->tx_err);
dma_unmap_single(&card->pcidev->dev, NS_PRV_DMA(skb), skb->len,
DMA_TO_DEVICE);
dev_kfree_skb_any(skb);
return -EIO;
}