linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, Xie He <xie.he.0141@gmail.com>,
	Martin Schiller <ms@dev.tdt.de>,
	"David S. Miller" <davem@davemloft.net>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 4.9 139/240] net: lapbether: Prevent racing when checking whether the netif is running
Date: Thu, 20 May 2021 11:22:11 +0200	[thread overview]
Message-ID: <20210520092113.314064013@linuxfoundation.org> (raw)
In-Reply-To: <20210520092108.587553970@linuxfoundation.org>

From: Xie He <xie.he.0141@gmail.com>

[ Upstream commit 5acd0cfbfbb5a688da1bfb1a2152b0c855115a35 ]

There are two "netif_running" checks in this driver. One is in
"lapbeth_xmit" and the other is in "lapbeth_rcv". They serve to make
sure that the LAPB APIs called in these functions are called before
"lapb_unregister" is called by the "ndo_stop" function.

However, these "netif_running" checks are unreliable, because it's
possible that immediately after "netif_running" returns true, "ndo_stop"
is called (which causes "lapb_unregister" to be called).

This patch adds locking to make sure "lapbeth_xmit" and "lapbeth_rcv" can
reliably check and ensure the netif is running while doing their work.

Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Acked-by: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/net/wan/lapbether.c | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c
index 666bbacb8cb4..24daa1d0e9c5 100644
--- a/drivers/net/wan/lapbether.c
+++ b/drivers/net/wan/lapbether.c
@@ -56,6 +56,8 @@ struct lapbethdev {
 	struct list_head	node;
 	struct net_device	*ethdev;	/* link to ethernet device */
 	struct net_device	*axdev;		/* lapbeth device (lapb#) */
+	bool			up;
+	spinlock_t		up_lock;	/* Protects "up" */
 };
 
 static LIST_HEAD(lapbeth_devices);
@@ -103,8 +105,9 @@ static int lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packe
 	rcu_read_lock();
 	lapbeth = lapbeth_get_x25_dev(dev);
 	if (!lapbeth)
-		goto drop_unlock;
-	if (!netif_running(lapbeth->axdev))
+		goto drop_unlock_rcu;
+	spin_lock_bh(&lapbeth->up_lock);
+	if (!lapbeth->up)
 		goto drop_unlock;
 
 	len = skb->data[0] + skb->data[1] * 256;
@@ -119,11 +122,14 @@ static int lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packe
 		goto drop_unlock;
 	}
 out:
+	spin_unlock_bh(&lapbeth->up_lock);
 	rcu_read_unlock();
 	return 0;
 drop_unlock:
 	kfree_skb(skb);
 	goto out;
+drop_unlock_rcu:
+	rcu_read_unlock();
 drop:
 	kfree_skb(skb);
 	return 0;
@@ -151,13 +157,11 @@ static int lapbeth_data_indication(struct net_device *dev, struct sk_buff *skb)
 static netdev_tx_t lapbeth_xmit(struct sk_buff *skb,
 				      struct net_device *dev)
 {
+	struct lapbethdev *lapbeth = netdev_priv(dev);
 	int err;
 
-	/*
-	 * Just to be *really* sure not to send anything if the interface
-	 * is down, the ethernet device may have gone.
-	 */
-	if (!netif_running(dev))
+	spin_lock_bh(&lapbeth->up_lock);
+	if (!lapbeth->up)
 		goto drop;
 
 	/* There should be a pseudo header of 1 byte added by upper layers.
@@ -188,6 +192,7 @@ static netdev_tx_t lapbeth_xmit(struct sk_buff *skb,
 		goto drop;
 	}
 out:
+	spin_unlock_bh(&lapbeth->up_lock);
 	return NETDEV_TX_OK;
 drop:
 	kfree_skb(skb);
@@ -279,6 +284,7 @@ static const struct lapb_register_struct lapbeth_callbacks = {
  */
 static int lapbeth_open(struct net_device *dev)
 {
+	struct lapbethdev *lapbeth = netdev_priv(dev);
 	int err;
 
 	if ((err = lapb_register(dev, &lapbeth_callbacks)) != LAPB_OK) {
@@ -286,13 +292,22 @@ static int lapbeth_open(struct net_device *dev)
 		return -ENODEV;
 	}
 
+	spin_lock_bh(&lapbeth->up_lock);
+	lapbeth->up = true;
+	spin_unlock_bh(&lapbeth->up_lock);
+
 	return 0;
 }
 
 static int lapbeth_close(struct net_device *dev)
 {
+	struct lapbethdev *lapbeth = netdev_priv(dev);
 	int err;
 
+	spin_lock_bh(&lapbeth->up_lock);
+	lapbeth->up = false;
+	spin_unlock_bh(&lapbeth->up_lock);
+
 	if ((err = lapb_unregister(dev)) != LAPB_OK)
 		pr_err("lapb_unregister error: %d\n", err);
 
@@ -350,6 +365,9 @@ static int lapbeth_new_device(struct net_device *dev)
 	dev_hold(dev);
 	lapbeth->ethdev = dev;
 
+	lapbeth->up = false;
+	spin_lock_init(&lapbeth->up_lock);
+
 	rc = -EIO;
 	if (register_netdevice(ndev))
 		goto fail;
-- 
2.30.2




  parent reply	other threads:[~2021-05-20 11:15 UTC|newest]

Thread overview: 245+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20  9:19 [PATCH 4.9 000/240] 4.9.269-rc1 review Greg Kroah-Hartman
2021-05-20  9:19 ` [PATCH 4.9 001/240] net: usb: ax88179_178a: initialize local variables before use Greg Kroah-Hartman
2021-05-20  9:19 ` [PATCH 4.9 002/240] iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd() Greg Kroah-Hartman
2021-05-20  9:19 ` [PATCH 4.9 003/240] ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX Greg Kroah-Hartman
2021-05-20  9:19 ` [PATCH 4.9 004/240] USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet Greg Kroah-Hartman
2021-05-20  9:19 ` [PATCH 4.9 005/240] USB: Add reset-resume quirk for WD19s Realtek Hub Greg Kroah-Hartman
2021-05-20  9:19 ` [PATCH 4.9 006/240] platform/x86: thinkpad_acpi: Correct thermal sensor allocation Greg Kroah-Hartman
2021-05-20  9:19 ` [PATCH 4.9 007/240] s390/disassembler: increase ebpf disasm buffer size Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 008/240] ACPI: custom_method: fix potential use-after-free issue Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 009/240] ACPI: custom_method: fix a possible memory leak Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 010/240] arm64: dts: mt8173: fix property typo of phys in dsi node Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 011/240] ecryptfs: fix kernel panic with null dev_name Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 012/240] mmc: core: Do a power cycle when the CMD11 fails Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 013/240] mmc: core: Set read only for SD cards with permanent write protect bit Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 014/240] btrfs: fix metadata extent leak after failure to create subvolume Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 015/240] fbdev: zero-fill colormap in fbcmap.c Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 016/240] staging: wimax/i2400m: fix byte-order issue Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 017/240] usb: gadget: uvc: add bInterval checking for HS mode Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 018/240] usb: dwc3: gadget: Ignore EP queue requests during bus reset Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 019/240] usb: xhci: Fix port minor revision Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 020/240] PCI: PM: Do not read power state in pci_enable_device_flags() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 021/240] x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS) Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 022/240] spi: dln2: Fix reference leak to master Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 023/240] spi: omap-100k: " Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 024/240] intel_th: Consistency and off-by-one fix Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 025/240] phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 026/240] btrfs: convert logic BUG_ON()s in replace_path to ASSERT()s Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 027/240] scsi: target: pscsi: Fix warning in pscsi_complete_cmd() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 028/240] media: ite-cir: check for receive overflow Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 029/240] extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 030/240] media: media/saa7164: fix saa7164_encoder_register() memory leak bugs Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 031/240] media: gspca/sq905.c: fix uninitialized variable Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 032/240] power: supply: Use IRQF_ONESHOT Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 033/240] scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 034/240] scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 035/240] media: em28xx: fix memory leak Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 036/240] clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 037/240] power: supply: generic-adc-battery: fix possible use-after-free in gab_remove() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 038/240] power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 039/240] media: adv7604: fix possible use-after-free in adv76xx_remove() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 040/240] media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 041/240] media: i2c: adv7842: fix possible use-after-free in adv7842_remove() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 042/240] media: dvb-usb: fix memory leak in dvb_usb_adapter_init Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 043/240] media: gscpa/stv06xx: fix memory leak Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 044/240] drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 045/240] drm/amdgpu: fix NULL pointer dereference Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 046/240] scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 047/240] scsi: libfc: Fix a format specifier Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 048/240] ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 049/240] ALSA: sb: Fix two use after free in snd_sb_qsound_build Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 050/240] arm64/vdso: Discard .note.gnu.property sections in vDSO Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 051/240] openvswitch: fix stack OOB read while fragmenting IPv4 packets Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 052/240] NFSv4: Dont discard segments marked for return in _pnfs_return_layout() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 053/240] jffs2: Fix kasan slab-out-of-bounds problem Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 054/240] powerpc/eeh: Fix EEH handling for hugepages in ioremap space Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 055/240] powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 056/240] jffs2: check the validity of dstlen in jffs2_zlib_compress() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 057/240] Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op") Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 058/240] ftrace: Handle commands when closing set_ftrace_filter file Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 059/240] ext4: fix check to prevent false positive report of incorrect used inodes Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 060/240] ext4: fix error code in ext4_commit_super Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 061/240] media: dvbdev: Fix memory leak in dvb_media_device_free() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 062/240] usb: gadget: dummy_hcd: fix gpf in gadget_setup Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 063/240] usb: gadget: Fix double free of device descriptor pointers Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 064/240] usb: gadget/function/f_fs string table fix for multiple languages Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 065/240] dm persistent data: packed struct should have an aligned() attribute too Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 066/240] dm space map common: fix division bug in sm_ll_find_free_block() Greg Kroah-Hartman
2021-05-20  9:20 ` [PATCH 4.9 067/240] dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 068/240] Bluetooth: verify AMP hci_chan before amp_destroy Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 069/240] hsr: use netdev_err() instead of WARN_ONCE() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 070/240] bluetooth: eliminate the potential race condition when removing the HCI controller Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 071/240] net/nfc: fix use-after-free llcp_sock_bind/connect Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 072/240] FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 073/240] misc: lis3lv02d: Fix false-positive WARN on various HP models Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 074/240] misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 075/240] misc: vmw_vmci: explicitly initialize vmci_datagram payload Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 076/240] tracing: Treat recording comm for idle task as a success Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 077/240] tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 078/240] tracing: Map all PIDs to command lines Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 079/240] tracing: Restructure trace_clock_global() to never block Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 080/240] md-cluster: fix use-after-free issue when removing rdev Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 081/240] md: factor out a mddev_find_locked helper from mddev_find Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 082/240] md: md_open returns -EBUSY when entering racing area Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 083/240] ipw2x00: potential buffer overflow in libipw_wx_set_encodeext() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 084/240] cfg80211: scan: drop entry from hidden_list on overflow Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 085/240] drm/radeon: fix copy of uninitialized variable back to userspace Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 086/240] ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 087/240] ALSA: hda/realtek: Re-order ALC882 Sony " Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 088/240] ALSA: hda/realtek: Re-order ALC269 " Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 089/240] ALSA: hda/realtek: Re-order ALC269 Lenovo " Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 090/240] ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 091/240] usb: gadget: pch_udc: Revert d3cb25a12138 completely Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 092/240] memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 093/240] ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250 Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 094/240] ARM: dts: exynos: correct PMIC interrupt trigger level on Snow Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 095/240] serial: stm32: fix incorrect characters on console Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 096/240] usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 097/240] usb: gadget: pch_udc: Check if driver is present before calling ->setup() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 098/240] usb: gadget: pch_udc: Check for DMA mapping error Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 099/240] crypto: qat - dont release uninitialized resources Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 100/240] crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 101/240] fotg210-udc: Fix DMA on EP0 for length > max packet size Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 102/240] fotg210-udc: Fix EP0 IN requests bigger than two packets Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 103/240] fotg210-udc: Remove a dubious condition leading to fotg210_done Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 104/240] fotg210-udc: Mask GRP2 interrupts we dont handle Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 105/240] fotg210-udc: Dont DMA more than the buffer can take Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 106/240] fotg210-udc: Complete OUT requests on short packets Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 107/240] mtd: require write permissions for locking and badblock ioctls Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 108/240] bus: qcom: Put child node before return Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 109/240] crypto: qat - fix error path in adf_isr_resource_alloc() Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 110/240] mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 111/240] staging: rtl8192u: Fix potential infinite loop Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 112/240] staging: greybus: uart: fix unprivileged TIOCCSERIAL Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 113/240] crypto: qat - Fix a double free in adf_create_ring Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 114/240] usb: gadget: r8a66597: Add missing null check on return from platform_get_resource Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 115/240] USB: cdc-acm: fix unprivileged TIOCCSERIAL Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 116/240] tty: actually undefine superseded ASYNC flags Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 117/240] tty: fix return value for unsupported ioctls Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 118/240] firmware: qcom-scm: Fix QCOM_SCM configuration Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 119/240] x86/platform/uv: Fix !KEXEC build failure Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 120/240] Drivers: hv: vmbus: Increase wait time for VMbus unload Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 121/240] ttyprintk: Add TTY hangup callback Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 122/240] media: vivid: fix assignment of dev->fbuf_out_flags Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 123/240] media: omap4iss: return error code when omap4iss_get() failed Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 124/240] media: m88rs6000t: avoid potential out-of-bounds reads on arrays Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 125/240] pata_arasan_cf: fix IRQ check Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 126/240] pata_ipx4xx_cf: " Greg Kroah-Hartman
2021-05-20  9:21 ` [PATCH 4.9 127/240] sata_mv: add IRQ checks Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 128/240] ata: libahci_platform: fix IRQ check Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 129/240] scsi: fcoe: Fix mismatched fcoe_wwn_from_mac declaration Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 130/240] media: dvb-usb-remote: fix dvb_usb_nec_rc_key_to_event type mismatch Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 131/240] clk: uniphier: Fix potential infinite loop Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 132/240] scsi: jazz_esp: Add IRQ check Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 133/240] scsi: sun3x_esp: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 134/240] scsi: sni_53c710: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 135/240] HSI: core: fix resource leaks in hsi_add_client_from_dt() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 136/240] x86/events/amd/iommu: Fix sysfs type mismatch Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 137/240] HID: plantronics: Workaround for double volume key presses Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 138/240] perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars Greg Kroah-Hartman
2021-05-20  9:22 ` Greg Kroah-Hartman [this message]
2021-05-20  9:22 ` [PATCH 4.9 140/240] powerpc/prom: Mark identical_pvr_fixup as __init Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 141/240] ALSA: core: remove redundant spin_lock pair in snd_card_disconnect Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 142/240] nfc: pn533: prevent potential memory corruption Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 143/240] ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 144/240] liquidio: Fix unintented sign extension of a left shift of a u16 Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 145/240] powerpc/perf: Fix PMU constraint check for EBB events Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 146/240] powerpc: iommu: fix build when neither PCI or IBMVIO is set Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 147/240] mac80211: bail out if cipher schemes are invalid Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 148/240] mt7601u: fix always true expression Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 149/240] net: thunderx: Fix unintentional sign extension issue Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 150/240] i2c: cadence: add IRQ check Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 151/240] i2c: emev2: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 152/240] i2c: jz4780: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 153/240] i2c: sh7760: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 154/240] MIPS: pci-legacy: stop using of_pci_range_to_resource Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 155/240] powerpc/pseries: extract host bridge from pci_bus prior to bus removal Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 156/240] i2c: sh7760: fix IRQ error path Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 157/240] mwl8k: Fix a double Free in mwl8k_probe_hw Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 158/240] vsock/vmci: log once the failed queue pair allocation Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 159/240] RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 160/240] net: davinci_emac: Fix incorrect masking of tx and rx error channel Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 161/240] ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 162/240] powerpc/52xx: Fix an invalid ASM expression (addi used instead of add) Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 163/240] net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 164/240] net:nfc:digital: Fix a double free in digital_tg_recv_dep_req Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 165/240] kfifo: fix ternary sign extension bugs Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 166/240] Revert "net/sctp: fix race condition in sctp_destroy_sock" Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 167/240] sctp: delay auto_asconf init until binding the first addr Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 168/240] Revert "of/fdt: Make sure no-map does not remove already reserved regions" Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 169/240] Revert "fdt: Properly handle "no-map" field in the memory region" Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 170/240] fs: dlm: fix debugfs dump Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 171/240] tipc: convert dest nodes address to network order Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 172/240] net: stmmac: Set FIFO sizes for ipq806x Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 173/240] ALSA: hdsp: dont disable if not enabled Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 174/240] ALSA: hdspm: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 175/240] ALSA: rme9652: " Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 176/240] Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 177/240] Bluetooth: initialize skb_queue_head at l2cap_chan_create() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 178/240] ip6_vti: proper dev_{hold|put} in ndo_[un]init methods Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 179/240] mac80211: clear the beacons CRC after channel switch Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 180/240] cuse: prevent clone Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 181/240] selftests: Set CC to clang in lib.mk if LLVM is set Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 182/240] kconfig: nconf: stop endless search loops Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 183/240] sctp: Fix out-of-bounds warning in sctp_process_asconf_param() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 184/240] ASoC: rt286: Generalize support for ALC3263 codec Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 185/240] samples/bpf: Fix broken tracex1 due to kprobe argument change Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 186/240] powerpc/pseries: Stop calling printk in rtas_stop_self() Greg Kroah-Hartman
2021-05-20  9:22 ` [PATCH 4.9 187/240] wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 188/240] wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 189/240] powerpc/iommu: Annotate nested lock for lockdep Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 190/240] net: ethernet: mtk_eth_soc: fix RX VLAN offload Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 191/240] ASoC: rt286: Make RT286_SET_GPIO_* readable and writable Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 192/240] f2fs: fix a redundant call to f2fs_balance_fs if an error occurs Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 193/240] PCI: Release OF node in pci_scan_device()s error path Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 194/240] ARM: 9064/1: hw_breakpoint: Do not directly check the events overflow_handler hook Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 195/240] NFSv4.2: Always flush out writes in nfs42_proc_fallocate() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 196/240] NFS: Deal correctly with attribute generation counter overflow Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 197/240] pNFS/flexfiles: fix incorrect size check in decode_nfs_fh() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 198/240] NFSv4.2 fix handling of sr_eof in SEEKs reply Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 199/240] sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 200/240] drm/radeon: Fix off-by-one power_state index heap overwrite Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 201/240] khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 202/240] mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 203/240] ksm: fix potential missing rmap_item for stable_node Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 204/240] kernel: kexec_file: fix error return code of kexec_calculate_store_digests() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 205/240] ARC: entry: fix off-by-one error in syscall number validation Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 206/240] powerpc/64s: Fix crashes when toggling entry flush barrier Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 207/240] squashfs: fix divide error in calculate_skip() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 208/240] iio: proximity: pulsedlight: Fix rumtime PM imbalance on error Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 209/240] usb: fotg210-hcd: Fix an error message Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 210/240] ACPI: scan: Fix a memory leak in an error handling path Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 211/240] usb: xhci: Increase timeout for HC halt Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 212/240] usb: dwc2: Fix gadget DMA unmap direction Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 213/240] usb: core: hub: fix race condition about TRSMRCY of resume Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 214/240] KVM: x86: Cancel pvclock_gtod_work on module removal Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 215/240] FDDI: defxx: Make MMIO the configuration default except for EISA Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 216/240] MIPS: Reinstate platform `__div64_32 handler Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 217/240] MIPS: Avoid DIVU in `__div64_32 is result would be zero Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 218/240] MIPS: Avoid handcoded DIVU in `__div64_32 altogether Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 219/240] thermal/core/fair share: Lock the thermal zone while looping over instances Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 220/240] dm ioctl: fix out of bounds array access when no devices Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 221/240] kobject_uevent: remove warning in init_uevent_argv() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 222/240] netfilter: conntrack: Make global sysctls readonly in non-init netns Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 223/240] clk: exynos7: Mark aclk_fsys1_200 as critical Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 224/240] x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 225/240] extcon: adc-jack: Fix incompatible pointer type warning Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 226/240] kgdb: fix gcc-11 warning on indentation Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 227/240] usb: sl811-hcd: improve misleading indentation Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 228/240] cxgb4: Fix the -Wmisleading-indentation warning Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 229/240] isdn: capi: fix mismatched prototypes Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 230/240] ARM: 9058/1: cache-v7: refactor v7_invalidate_l1 to avoid clobbering r5/r6 Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 231/240] ACPI / hotplug / PCI: Fix reference count leak in enable_slot() Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 232/240] Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 233/240] um: Mark all kernel symbols as local Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 234/240] ceph: fix fscache invalidation Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 235/240] ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 236/240] lib: stackdepot: turn depot_lock spinlock to raw_spinlock Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 237/240] sit: proper dev_{hold|put} in ndo_[un]init methods Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 238/240] ip6_tunnel: " Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 239/240] xhci: Do not use GFP_KERNEL in (potentially) atomic context Greg Kroah-Hartman
2021-05-20  9:23 ` [PATCH 4.9 240/240] ipv6: remove extra dev_hold() for fallback tunnels Greg Kroah-Hartman
2021-05-20 21:45 ` [PATCH 4.9 000/240] 4.9.269-rc1 review Shuah Khan
2021-05-20 22:52 ` Guenter Roeck
2021-05-21  9:48 ` Naresh Kamboju
2021-05-21 16:52 ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210520092113.314064013@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ms@dev.tdt.de \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=xie.he.0141@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).