stable.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, Yishai Hadas <yishaih@mellanox.com>,
	Shachar Raindel <raindel@mellanox.com>,
	Jason Gunthorpe <jgunthorpe@obsidianresearch.com>,
	Doug Ledford <dledford@redhat.com>
Subject: [PATCH 4.1 100/159] IB/uverbs: Fix race between ib_uverbs_open and remove_one
Date: Sat, 26 Sep 2015 13:55:46 -0700	[thread overview]
Message-ID: <20150926205319.543733379@linuxfoundation.org> (raw)
In-Reply-To: <20150926205313.363686083@linuxfoundation.org>

4.1-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Yishai Hadas <yishaih@mellanox.com>

commit 35d4a0b63dc0c6d1177d4f532a9deae958f0662c upstream.

Fixes: 2a72f212263701b927559f6850446421d5906c41 ("IB/uverbs: Remove dev_table")

Before this commit there was a device look-up table that was protected
by a spin_lock used by ib_uverbs_open and by ib_uverbs_remove_one. When
it was dropped and container_of was used instead, it enabled the race
with remove_one as dev might be freed just after:
dev = container_of(inode->i_cdev, struct ib_uverbs_device, cdev) but
before the kref_get.

In addition, this buggy patch added some dead code as
container_of(x,y,z) can never be NULL and so dev can never be NULL.
As a result the comment above ib_uverbs_open saying "the open method
will either immediately run -ENXIO" is wrong as it can never happen.

The solution follows Jason Gunthorpe suggestion from below URL:
https://www.mail-archive.com/linux-rdma@vger.kernel.org/msg25692.html

cdev will hold a kref on the parent (the containing structure,
ib_uverbs_device) and only when that kref is released it is
guaranteed that open will never be called again.

In addition, fixes the active count scheme to use an atomic
not a kref to prevent WARN_ON as pointed by above comment
from Jason.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Shachar Raindel <raindel@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/infiniband/core/uverbs.h      |    3 +-
 drivers/infiniband/core/uverbs_main.c |   43 +++++++++++++++++++++++-----------
 2 files changed, 32 insertions(+), 14 deletions(-)

--- a/drivers/infiniband/core/uverbs.h
+++ b/drivers/infiniband/core/uverbs.h
@@ -85,7 +85,7 @@
  */
 
 struct ib_uverbs_device {
-	struct kref				ref;
+	atomic_t				refcount;
 	int					num_comp_vectors;
 	struct completion			comp;
 	struct device			       *dev;
@@ -94,6 +94,7 @@ struct ib_uverbs_device {
 	struct cdev			        cdev;
 	struct rb_root				xrcd_tree;
 	struct mutex				xrcd_tree_mutex;
+	struct kobject				kobj;
 };
 
 struct ib_uverbs_event_file {
--- a/drivers/infiniband/core/uverbs_main.c
+++ b/drivers/infiniband/core/uverbs_main.c
@@ -129,14 +129,18 @@ static int (*uverbs_ex_cmd_table[])(stru
 static void ib_uverbs_add_one(struct ib_device *device);
 static void ib_uverbs_remove_one(struct ib_device *device);
 
-static void ib_uverbs_release_dev(struct kref *ref)
+static void ib_uverbs_release_dev(struct kobject *kobj)
 {
 	struct ib_uverbs_device *dev =
-		container_of(ref, struct ib_uverbs_device, ref);
+		container_of(kobj, struct ib_uverbs_device, kobj);
 
-	complete(&dev->comp);
+	kfree(dev);
 }
 
+static struct kobj_type ib_uverbs_dev_ktype = {
+	.release = ib_uverbs_release_dev,
+};
+
 static void ib_uverbs_release_event_file(struct kref *ref)
 {
 	struct ib_uverbs_event_file *file =
@@ -302,13 +306,19 @@ static int ib_uverbs_cleanup_ucontext(st
 	return context->device->dealloc_ucontext(context);
 }
 
+static void ib_uverbs_comp_dev(struct ib_uverbs_device *dev)
+{
+	complete(&dev->comp);
+}
+
 static void ib_uverbs_release_file(struct kref *ref)
 {
 	struct ib_uverbs_file *file =
 		container_of(ref, struct ib_uverbs_file, ref);
 
 	module_put(file->device->ib_dev->owner);
-	kref_put(&file->device->ref, ib_uverbs_release_dev);
+	if (atomic_dec_and_test(&file->device->refcount))
+		ib_uverbs_comp_dev(file->device);
 
 	kfree(file);
 }
@@ -742,9 +752,7 @@ static int ib_uverbs_open(struct inode *
 	int ret;
 
 	dev = container_of(inode->i_cdev, struct ib_uverbs_device, cdev);
-	if (dev)
-		kref_get(&dev->ref);
-	else
+	if (!atomic_inc_not_zero(&dev->refcount))
 		return -ENXIO;
 
 	if (!try_module_get(dev->ib_dev->owner)) {
@@ -765,6 +773,7 @@ static int ib_uverbs_open(struct inode *
 	mutex_init(&file->mutex);
 
 	filp->private_data = file;
+	kobject_get(&dev->kobj);
 
 	return nonseekable_open(inode, filp);
 
@@ -772,13 +781,16 @@ err_module:
 	module_put(dev->ib_dev->owner);
 
 err:
-	kref_put(&dev->ref, ib_uverbs_release_dev);
+	if (atomic_dec_and_test(&dev->refcount))
+		ib_uverbs_comp_dev(dev);
+
 	return ret;
 }
 
 static int ib_uverbs_close(struct inode *inode, struct file *filp)
 {
 	struct ib_uverbs_file *file = filp->private_data;
+	struct ib_uverbs_device *dev = file->device;
 
 	ib_uverbs_cleanup_ucontext(file, file->ucontext);
 
@@ -786,6 +798,7 @@ static int ib_uverbs_close(struct inode
 		kref_put(&file->async_file->ref, ib_uverbs_release_event_file);
 
 	kref_put(&file->ref, ib_uverbs_release_file);
+	kobject_put(&dev->kobj);
 
 	return 0;
 }
@@ -881,10 +894,11 @@ static void ib_uverbs_add_one(struct ib_
 	if (!uverbs_dev)
 		return;
 
-	kref_init(&uverbs_dev->ref);
+	atomic_set(&uverbs_dev->refcount, 1);
 	init_completion(&uverbs_dev->comp);
 	uverbs_dev->xrcd_tree = RB_ROOT;
 	mutex_init(&uverbs_dev->xrcd_tree_mutex);
+	kobject_init(&uverbs_dev->kobj, &ib_uverbs_dev_ktype);
 
 	spin_lock(&map_lock);
 	devnum = find_first_zero_bit(dev_map, IB_UVERBS_MAX_DEVICES);
@@ -911,6 +925,7 @@ static void ib_uverbs_add_one(struct ib_
 	cdev_init(&uverbs_dev->cdev, NULL);
 	uverbs_dev->cdev.owner = THIS_MODULE;
 	uverbs_dev->cdev.ops = device->mmap ? &uverbs_mmap_fops : &uverbs_fops;
+	uverbs_dev->cdev.kobj.parent = &uverbs_dev->kobj;
 	kobject_set_name(&uverbs_dev->cdev.kobj, "uverbs%d", uverbs_dev->devnum);
 	if (cdev_add(&uverbs_dev->cdev, base, 1))
 		goto err_cdev;
@@ -941,9 +956,10 @@ err_cdev:
 		clear_bit(devnum, overflow_map);
 
 err:
-	kref_put(&uverbs_dev->ref, ib_uverbs_release_dev);
+	if (atomic_dec_and_test(&uverbs_dev->refcount))
+		ib_uverbs_comp_dev(uverbs_dev);
 	wait_for_completion(&uverbs_dev->comp);
-	kfree(uverbs_dev);
+	kobject_put(&uverbs_dev->kobj);
 	return;
 }
 
@@ -963,9 +979,10 @@ static void ib_uverbs_remove_one(struct
 	else
 		clear_bit(uverbs_dev->devnum - IB_UVERBS_MAX_DEVICES, overflow_map);
 
-	kref_put(&uverbs_dev->ref, ib_uverbs_release_dev);
+	if (atomic_dec_and_test(&uverbs_dev->refcount))
+		ib_uverbs_comp_dev(uverbs_dev);
 	wait_for_completion(&uverbs_dev->comp);
-	kfree(uverbs_dev);
+	kobject_put(&uverbs_dev->kobj);
 }
 
 static char *uverbs_devnode(struct device *dev, umode_t *mode)



  parent reply	other threads:[~2015-09-26 21:17 UTC|newest]

Thread overview: 186+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-26 20:54 [PATCH 4.1 000/159] 4.1.9-stable review Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 001/159] NFC: st21nfca: fix use of uninitialized variables in error path Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 002/159] nfc: nci: hci: Add check on skb nci_hci_send_cmd parameter Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 003/159] blk-mq: fix buffer overflow when reading sysfs file of pending Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 004/159] unshare: Unsharing a thread does not require unsharing a vm Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 005/159] rtlwifi: rtl8192cu: Add new device ID Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 006/159] rtlwifi: rtl8821ae: Fix an expression that is always false Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 007/159] igb: Fix oops caused by missing queue pairing Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 008/159] tg3: Fix temperature reporting Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 009/159] MIPS: math-emu: Allow m{f,t}hc emulation on MIPS R6 Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 010/159] MIPS: math-emu: Emulate missing BC1{EQ,NE}Z instructions Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 011/159] mac80211: enable assoc check for mesh interfaces Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 012/159] cxl: Remove racy attempt to force EEH invocation in reset Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 013/159] cxl: Fix unbalanced pci_dev_get in cxl_probe Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 014/159] ext4: dont manipulate recovery flag when freezing no-journal fs Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 015/159] Revert "ext4: remove block_device_ejected" Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 016/159] arm64: kconfig: Move LIST_POISON to a safe value Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 017/159] arm64: flush FP/SIMD state correctly after execve() Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 018/159] of/fdt: make memblock maximum physical address arch configurable Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 019/159] arm64: set MAX_MEMBLOCK_ADDR according to linear region size Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 020/159] arm64: compat: fix vfp save/restore across signal handlers in big-endian Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 021/159] arm64: head.S: initialise mdcr_el2 in el2_setup Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 022/159] arm64: errata: add module build workaround for erratum #843419 Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 023/159] arm/arm64: KVM: vgic: Check for !irqchip_in_kernel() when mapping resources Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 024/159] KVM: arm64: add workaround for Cortex-A57 erratum #852523 Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 025/159] arm64: KVM: Disable virtual timer even if the guest is not using it Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 026/159] Input: synaptics - fix handling of disabling gesture mode Greg Kroah-Hartman
2015-09-29 12:27   ` Josh Boyer
2015-09-29 12:53     ` Greg Kroah-Hartman
2015-09-29 13:36       ` Josh Boyer
2015-09-29 13:44         ` Greg Kroah-Hartman
2015-09-29 13:56           ` Dmitry Torokhov
2015-09-26 20:54 ` [PATCH 4.1 027/159] Input: evdev - do not report errors form flush() Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 028/159] ALSA: usb-audio: correct the value cache check Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 029/159] ALSA: hda - Enable headphone jack detect on old Fujitsu laptops Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 030/159] ALSA: hda - Use ALC880_FIXUP_FUJITSU for FSC Amilo M1437 Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 031/159] ALSA: hda - Add some FIXUP quirks for white noise on Dell laptop Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 032/159] ALSA: hda - Fix white noise on Dell M3800 Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 033/159] pinctrl: at91: fix null pointer dereference Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 034/159] powerpc/pseries: Fix corrupted pdn list Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 035/159] powerpc/eeh: Probe after unbalanced kref check Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 036/159] powerpc/eeh: Fix fenced PHB caused by eeh_slot_error_detail() Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 037/159] powerpc/mm: Fix pte_pagesize_index() crash on 4K w/64K hash Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 038/159] powerpc/rtas: Introduce rtas_get_sensor_fast() for IRQ handlers Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 039/159] powerpc: Uncomment and make enable_kernel_vsx() routine available Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 040/159] crypto: vmx - Adding enable_kernel_vsx() to access VSX instructions Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 041/159] powerpc/boot: Specify ABI v2 when building an LE boot wrapper Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 042/159] powerpc/mm: Recompute hash value after a failed update Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 043/159] CIFS: fix type confusion in copy offload ioctl Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 044/159] Add radeon suspend/resume quirk for HP Compaq dc5750 Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 045/159] mm: check if section present during memory block registering Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 046/159] x86/mm: Initialize pmd_idx in page_table_range_init_count() Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 047/159] mm: make page pfmemalloc check more robust Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 049/159] [media] v4l: omap3isp: Fix sub-device power management code Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 050/159] [media] media: am437x-vpfe: Requested frame size and fmt overwritten by current sensor setting Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 051/159] [media] media: am437x-vpfe: Fix a race condition during release Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 052/159] Btrfs: check if previous transaction aborted to avoid fs corruption Greg Kroah-Hartman
2015-09-26 20:54 ` [PATCH 4.1 053/159] NFSv4/pnfs: Ensure we dont miss a file extension Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 054/159] nfsd: Fix an FS_LAYOUT_TYPES/LAYOUT_TYPES encode bug Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 055/159] nfsd: ensure that the ol stateid hash reference is only put once Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 056/159] nfsd: ensure that delegation stateid hash references are " Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 057/159] NFSv4: dont set SETATTR for O_RDONLY|O_EXCL Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 058/159] NFS: Dont let the ctime override attribute barriers Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 059/159] NFSv4.1/pNFS: Fix borken function _same_data_server_addrs_locked() Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 060/159] NFS: Fix a NULL pointer dereference of migration recovery ops for v4.2 client Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 061/159] NFS: nfs_set_pgio_error sometimes misses errors Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 062/159] NFS41/flexfiles: update inode after write finishes Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 063/159] NFSv4: Force a post-op attribute update when holding a delegation Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 064/159] NFS41/flexfiles: zero out DS write wcc Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 065/159] NFSv4.1/flexfiles: Fix a protocol error in layoutreturn Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 066/159] NFSv4.1: Fix a protocol issue with CLOSE stateids Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 067/159] Revert "NFSv4: Remove incorrect check in can_open_delegated()" Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 068/159] net: sunrpc: fix tracepoint Warning: unknown op -> Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 069/159] SUNRPC: Fix a thinko in xs_connect() Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 070/159] SUNRPC: xs_reset_transport must mark the connection as disconnected Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 071/159] SUNRPC: Ensure that we wait for connections to complete before retrying Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 072/159] SUNRPC: Lock the transport layer on shutdown Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 073/159] rtc: s3c: fix disabled clocks for alarm Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 074/159] rtc: s5m: fix to update ctrl register Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 075/159] rtc: abx80x: fix RTC write bit Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 076/159] PCI,parisc: Enable 64-bit bus addresses on PA-RISC Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 077/159] parisc: Use double word condition in 64bit CAS operation Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 078/159] parisc: Filter out spurious interrupts in PA-RISC irq handler Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 079/159] vmscan: fix increasing nr_isolated incurred by putback unevictable pages Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 080/159] fs: if a coredump already exists, unlink and recreate with O_EXCL Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 081/159] fs: Dont dump core if the corefile would become world-readable Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 082/159] mmc: sdhci-pci: set the clear transfer mode register quirk for O2Micro Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 083/159] mmc: sdhci: also get preset value and driver type for MMC_DDR52 Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 084/159] mmc: core: fix race condition in mmc_wait_data_done Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 085/159] md/raid5: avoid races when changing cache size Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 086/159] md/raid5: dont let shrink_slab shrink too far Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 087/159] md/raid10: always set reshape_safe when initializing reshape_position Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 088/159] md: flush ->event_work before stopping array Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 089/159] iommu/fsl: Really fix init section(s) content Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 090/159] iommu/io-pgtable-arm: Unmap and free table when overwriting with block Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 091/159] iommu/tegra-smmu: Parameterize number of TLB lines Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 092/159] iommu/vt-d: Really use upper context table when necessary Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 093/159] eCryptfs: Invalidate dcache entries when lower i_nlink is zero Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 094/159] hfs: fix B-tree corruption after insertion at position 0 Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 095/159] ideapad-laptop: Add Lenovo Yoga 3 14 to no_hw_rfkill dmi list Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 096/159] IB/srp: Handle partial connection success correctly Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 097/159] IB/srp: Stop the scsi_eh_<n> and scsi_tmf_<n> threads if login fails Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 098/159] IB/qib: Change lkey table allocation to support more MRs Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 099/159] IB/uverbs: reject invalid or unknown opcodes Greg Kroah-Hartman
2015-09-26 20:55 ` Greg Kroah-Hartman [this message]
2015-09-26 20:55 ` [PATCH 4.1 101/159] IB/iser: Fix missing return status check in iser_send_data_out Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 102/159] IB/iser: Fix possible bogus DMA unmapping Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 103/159] IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 104/159] IB/mlx4: Fix potential deadlock when sending mad to wire Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 105/159] IB/mlx4: Forbid using sysfs to change RoCE pkeys Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 106/159] IB/mlx4: Use correct SL on AH query under RoCE Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 107/159] IB/mlx4: Fix incorrect cq flushing in error state Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 108/159] stmmac: fix check for phydev being open Greg Kroah-Hartman
2015-09-30 11:25   ` Sergei Shtylyov
2015-10-01  3:04     ` Greg Kroah-Hartman
2015-10-01 11:01       ` Sergei Shtylyov
2015-09-26 20:55 ` [PATCH 4.1 109/159] stmmac: troubleshoot unexpected bits in des0 & des1 Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 110/159] net: stmmac: dwmac-rk: Fix clk rate when provided by soc Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 111/159] hfs,hfsplus: cache pages correctly between bnode_create and bnode_free Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 112/159] lib/decompressors: use real out buf size for gunzip with kernel Greg Kroah-Hartman
2015-09-26 20:55 ` [PATCH 4.1 113/159] jbd2: avoid infinite loop when destroying aborted journal Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 114/159] ipv6: Make MLD packets to only be processed locally Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 115/159] rhashtable: fix for resize events during table walk Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 116/159] net: graceful exit from netif_alloc_netdev_queues() Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 117/159] Revert "dev: set iflink to 0 for virtual interfaces" Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 118/159] rtnetlink: verify IFLA_VF_INFO attributes before passing them to driver Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 120/159] net/tipc: initialize security state for new connection socket Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 121/159] bridge: mdb: zero out the local br_ip variable before use Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 122/159] net: pktgen: fix race between pktgen_thread_worker() and kthread_stop() Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 123/159] bridge: fix potential crash in __netdev_pick_tx() Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 124/159] net: do not process device backlog during unregistration Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 125/159] net: call rcu_read_lock early in process_backlog Greg Kroah-Hartman
2015-09-29  2:12   ` Andre Tomt (LKML)
2015-09-29  7:40     ` Julian Anastasov
2015-09-29  8:39       ` Andre Tomt (LKML)
2015-09-29 10:21         ` Andre Tomt
2015-09-29 10:48           ` Andre Tomt
2015-09-30  0:25             ` Zdenek Kaspar
2015-10-01 11:29             ` kernel 4.1.9: networking hangs with rcu_preempt self-detected stall, 4.1.8 works; was: " Wolfgang Walter
2015-10-01 11:32               ` Holger Hoffstätte
2015-09-29 19:21           ` Julian Anastasov
2015-09-26 20:56 ` [PATCH 4.1 126/159] net/xen-netback: off by one in BUG_ON() condition Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 127/159] net: Clone skb before setting peeked flag Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 128/159] net: Fix skb csum races when peeking Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 129/159] net: Fix skb_set_peeked use-after-free bug Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 130/159] bridge: mdb: fix double add notification Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 131/159] fq_codel: fix a use-after-free Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 132/159] isdn/gigaset: reset tty->receive_room when attaching ser_gigaset Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 133/159] ipv6: lock socket in ip6_datagram_connect() Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 134/159] bonding: fix destruction of bond with devices different from arphrd_ether Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 135/159] Revert "sit: Add gro callbacks to sit_offload" Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 136/159] bonding: correct the MAC address for "follow" fail_over_mac policy Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 137/159] sched: cls_bpf: fix panic on filter replace Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 138/159] sched: cls_flow: " Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 139/159] inet: frags: fix defragmented packets IP header for af_packet Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 140/159] netlink: dont hold mutex in rcu callback when releasing mmapd ring Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 141/159] virtio_net: dont require ANY_LAYOUT with VERSION_1 Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 142/159] bridge: netlink: fix slave_changelink/br_setport race conditions Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 143/159] net/mlx4_core: Fix wrong index in propagating port change event to VFs Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 144/159] fib_trie: Drop unnecessary calls to leaf_pull_suffix Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 145/159] packet: missing dev_put() in packet_do_bind() Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 146/159] packet: tpacket_snd(): fix signed/unsigned comparison Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 147/159] act_bpf: fix memory leaks when replacing bpf programs Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 148/159] net: sched: fix refcount imbalance in actions Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 149/159] rocker: free netdevice during netdevice removal Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 150/159] rds: fix an integer overflow test in rds_info_getsockopt() Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 152/159] bridge: netlink: account for the IFLA_BRPORT_PROXYARP attribute size and policy Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 153/159] bridge: netlink: account for the IFLA_BRPORT_PROXYARP_WIFI " Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 154/159] bna: fix interrupts storm caused by erroneous packets Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 155/159] netlink: make sure -EBUSY wont escape from netlink_insert Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 156/159] inet: fix possible request socket leak Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 157/159] inet: fix races with reqsk timers Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 158/159] net: dsa: Do not override PHY interface if already configured Greg Kroah-Hartman
2015-09-26 20:56 ` [PATCH 4.1 159/159] ipv4: off-by-one in continuation handling in /proc/net/route Greg Kroah-Hartman
2015-09-27  0:33 ` [PATCH 4.1 000/159] 4.1.9-stable review (build error) Guenter Roeck
2015-09-27  6:48   ` [PATCH] cxl: Don't remove AFUs/vPHBs in cxl_reset Sudip Mukherjee
2015-09-27 15:32     ` Greg Kroah-Hartman
2015-09-29  5:27     ` Daniel Axtens
2015-09-27 19:09 ` [PATCH 4.1 000/159] 4.1.9-stable review Guenter Roeck
2015-09-27 19:39   ` Greg Kroah-Hartman
2015-09-28  5:08 ` Sudip Mukherjee
2015-09-28 14:01   ` Greg Kroah-Hartman
2015-09-28 17:31 ` Shuah Khan
2015-09-28 21:31   ` Greg Kroah-Hartman
2015-09-29  0:41 ` Andre Tomt (LKML)
2015-09-29  1:18   ` Holger Hoffstätte

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=20150926205319.543733379@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=dledford@redhat.com \
    --cc=jgunthorpe@obsidianresearch.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=raindel@mellanox.com \
    --cc=stable@vger.kernel.org \
    --cc=yishaih@mellanox.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).