Re: [PATCH V2] smp: Give WARN()ing when calling smp_call_function_many()/single() in serving irq

2013-02-17 Thread Fengguang Wu
Chuansheng, It works fine on tip/next. Thanks for the fix! Tested-by: Fengguang Wu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [PATCH RFC 10/12] userns: Convert xfs to use kuid/kgid/kprojid where appropriate

2013-02-17 Thread Eric W. Biederman
Dave Chinner writes: > On Wed, Feb 13, 2013 at 10:13:16AM -0800, Eric W. Biederman wrote: > >> The crazy thing is that is that xfs appears to >> directly write their incore inode structure into their journal. > > Off topic, but it's actually a very sane thing to do. It's called > logical object

[PATCH v2 2/2] cgroup: fix cgroup_path() vs rename() race, take 2

2013-02-17 Thread Li Zefan
rename() will change dentry->d_name. The result of this race can be worse than seeing partially rewritten name, but we might access a stale pointer because rename() will re-allocate memory to hold a longer name. As accessing dentry->name must be protected by dentry->d_lock or parent inode's

linux-next: manual merge of the pm tree with the pci tree

2013-02-17 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in drivers/acpi/scan.c between commits 668192b67820 ("PCI: acpiphp: Move host bridge hotplug to pci_root.c") and ab1a2e038ff2 ("ACPI / PCI: Make pci_slot built-in only, not a module") from the pci tree and commits 4daeaf68379f

[PATCH review 05/16] xfs: Update xfs_ioctl_setattr to handle projids in any user namespace

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" - Convert the userspace value in fa->fsx_projid into a kprojid and store it in the variable projid. - Verify that xfs can store the projid after it is converted into xfs's user namespace. - Replace uses of fa->fsx_projid with projid throughout xfs_ioctl_setattr.

[PATCH review 13/16] xfs: Use q_id instead of q_core.d_id.

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" - Use qid_lt on q_id when compariting two quota entries for order. - Use qid_eq or !qid_eq when comparing a quota entry for equality or inequality. - Use is_superquota when testing for the magic quota id of 0. - Use make_kqid_uid, make_kqid_gid, and make_kqid_projid

[PATCH review 06/16] xfs: Use kuids and kgids in xfs_setattr_nonsize

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: Ben Myers Cc: Alex Elder Cc: Dave Chinner Signed-off-by: "Eric W. Biederman" --- fs/xfs/xfs_iops.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/xfs/xfs_iops.c b/fs/xfs/xfs_iops.c index 235a48c..0edacbe 100644 ---

[PATCH review 11/16] xfs: Modify xfs_qm_dqget to take a struct kqid.

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" - Modify xfs_qm_dqget, xfs_qm_dqattach_one, and xfs_qm_qutoacheck_dqadjust to take a struct kqid instead of an id and type pair. - Modify their callers to pass them a struct kqid. - Move xfs_qutoa_type into xfs_dquot.c where it is now used. Cc: Ben Myers Cc: Alex

[PATCH review 14/16] xfs: Enable building with user namespaces enabled.

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" Not that all of the types holding uids, gids, and projectids have been converted it is safe to allow users in different user namespaces to access an xfs filesystem. Cc: Ben Myers Cc: Alex Elder Cc: Dave Chinner Signed-off-by: "Eric W. Biederman" --- init/Kconfig |

[PATCH review 16/16] userns: Remove the EXPERMINTAL kconfig tag

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" While there is more work to be done in the form of allowing more to happen when you have root inside of a user namespace there is nothing experimental about them. Signed-off-by: "Eric W. Biederman" --- init/Kconfig |3 +-- 1 files changed, 1 insertions(+), 2

[PATCH review 15/16] userns: Now that everything has been converted remove the unnecessary infrastructure

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" In particular kill UIDGID_CONVERTED and UIDGID_STRICT_TYPE_CHECKS and have the code treat them as always true. Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman --- include/linux/posix_acl.h |3 --- include/linux/projid.h| 15 ---

[PATCH review 10/16] xfs: Push struct kqid into xfs_qm_scall_qmlim and xfs_qm_scall_getquota

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" - In xfs_qm_scall_getquota map the quota id into the callers user namespace in the returned struct fs_disk_quota - Add a helper is_superquota and use it in xfs_qm_scall_setqlimi to see if we are setting the superusers quota limit. Setting the superuses quota

[PATCH review 12/16] xfs: Remember the kqid for a quota

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" - Add q_id to struct xfs_quota - Modify xfs_qm_dqread to take a struct kqid, allowing xfs_qm_dqread to set q_id on fresh quota structures. - Modify xfs_qm_dqget and xfs_qm_init_quota_info to pass a kqid to xfs_qm_dqread Cc: Ben Myers Cc: Alex Elder Cc: Dave

[PATCH review 08/16] xfs: Use kprojids when allocating inodes.

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" In xfs_create and xfs_symlink compute the desired kprojid and pass it down into xfs_ialloc. Cc: Ben Myers Cc: Alex Elder Cc: Dave Chinner Signed-off-by: "Eric W. Biederman" --- fs/xfs/xfs_inode.c|5 +++-- fs/xfs/xfs_inode.h|2 +- fs/xfs/xfs_qm.c

[PATCH review 09/16] xfs: Modify xfs_qm_vop_dqalloc to take kuids, kgids, and kprojids.

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" Cc: Ben Myers Cc: Alex Elder Cc: Dave Chinner Signed-off-by: "Eric W. Biederman" --- fs/xfs/xfs_qm.c|6 +++--- fs/xfs/xfs_quota.h |4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index

[PATCH review 07/16] xfs: Update ioctl(XFS_IOC_FREE_EOFBLOCKS) to handle callers in any userspace

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" - Modify the ioctl to convert from uids, gid, and projids in the current user namespace to kuids, kgids, and kprojids, and to report an error if the conversion fails. - Create struct xfs_internal_eofblocks to hold the same information as struct xfs_eofblocks but

[PATCH review 03/16] xfs: Always read uids and gids from the vfs inode

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" Add xfs_set_uid and xfs_set_gid to encapsulate the double write needed when updating uid and gids, and uset them for all uid and gid writes. Update VFS()->i_uid and VFS_I()->i_gid immediately after reading on-disk inode values so that all of the cached uid and gid

[PATCH review 04/16] xfs: Update inode uids, gids, and projids to be kuids, kgids, and kprojids

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" Update i_projid on struct xfs_inode to be of type kprojid_t. Update the logic in xfs_iread when the values are read from disk to convert their on-disk values into the internal kernel representation. Update xfs_set_projid, xfs_set_uid, and xfs_set_gid to convert from

[PATCH review 01/16] xfs: Convert uids and gids in xfs acls to/from kuids and kgids

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" - When reading from disk convert on disk uids and gids to kuids and kgids - When writing to the disk convert in memory kuids and kgids to uids and gids. - Don't write e_id as that field only exists when user namespace support is disabled. - Use uid_eq when testing to

[PATCH review 02/16] xfs: Store projectid as a single variable.

2013-02-17 Thread Eric W. Biederman
From: "Eric W. Biederman" xfs_get_projid is torturous to read and it will not work at all when project ids are stored in a kprojid_t. So add a i_projid to xfs_inode, that is cheap to read and can handle future needs, and update all callers of xfs_get_projid to use i_projid. Retain

linux-next: manual merge of the pm tree with the pci tree

2013-02-17 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in drivers/acpi/internal.h between commits 668192b67820 ("PCI: acpiphp: Move host bridge hotplug to pci_root.c") and ab1a2e038ff2 ("ACPI / PCI: Make pci_slot built-in only, not a module") from the pci tree and commit 00c43b968250

Re: [RFC] ARM: sa1100: collie-battery.c: include platform_device.h directly

2013-02-17 Thread Anton Vorontsov
On Mon, Feb 18, 2013 at 01:13:46AM +0100, Andrea Adami wrote: > On Sun, Feb 17, 2013 at 12:00 AM, Anton Vorontsov wrote: > > Hi Andrea, > > > > On Sat, Feb 16, 2013 at 07:16:00PM +0100, Andrea Adami wrote: > >> Initial try to fix compilation error > > > > Things are a bit more complex... > > > >>

[PATCH review 00/16] userns: Completion of kuid/kgid/kprojid pushdown.

2013-02-17 Thread Eric W. Biederman
I have spent some more time with the xfs code and finally figured out what needed to be done to safely add kuid/kgid support without significant logic changes. My first two xfs changes make the small logical adjustments required of xfs to get the primary inode uid, gid, and projid fields that

[ANNOUNCE] Git v1.8.2-rc0

2013-02-17 Thread Junio C Hamano
An early preview Git v1.8.2-rc0 for the upcoming release is now available for testing at the usual places. The preview includes contributions from 80+ people, totaling some 570+ no-merge changes since v1.8.1 and should give you more or less a complete picture of what the upcoming 1.8.2 would look

Re: [GIT PULL] at91: more DT changes related to MTD for 3.9

2013-02-17 Thread Olof Johansson
On Wed, Feb 13, 2013 at 12:28:05PM +0100, Nicolas Ferre wrote: > Hi Olof, Arnd, > > I would like you to consider this little pull request for modification of some > AT91 Device Tree files. > We have had a discussion about this material earlier and now that Artem has > queued > the driver

Re: [PATCH] NET: ath5k, check ath5k_eeprom_mode_from_channel retval

2013-02-17 Thread Nick Kossifidis
2013/2/7 Jiri Slaby : > It can, if invalid argument given, return a negative value. In that > case we would access arrays out-of-bounds and such. Check the value > and yell loudly if that happened as it would be a bug in the > implementation. (Instead of silently corrupting memory.) > >

Re: BUG in find_pid_ns

2013-02-17 Thread Eric W. Biederman
Adding Oleg since he knows about as much about signals and pids as anyone. Sasha Levin writes: > Hi all, > > While fuzzing with trinity inside a KVM tools guest, running latest -next > kernel, > I've stumbled on the following spew: To my knowledge there are no in progress patches to this

RE: [PATCH 00/13] kdump, vmcore: support mmap() on /proc/vmcore

2013-02-17 Thread Hatayama, Daisuke
From: Atsushi Kumagai Subject: Re: [PATCH 00/13] kdump, vmcore: support mmap() on /proc/vmcore Date: Fri, 15 Feb 2013 12:57:01 +0900 > On Thu, 14 Feb 2013 19:11:43 +0900 > HATAYAMA Daisuke wrote: >> TODO >> >> >> - fix makedumpfile to use mmap() on /proc/vmcore and benchmark it to >>

Re: [RFC] ARM: sa1100: collie-battery.c: include platform_device.h directly

2013-02-17 Thread Andrea Adami
On Sun, Feb 17, 2013 at 12:00 AM, Anton Vorontsov wrote: > Hi Andrea, > > On Sat, Feb 16, 2013 at 07:16:00PM +0100, Andrea Adami wrote: >> Initial try to fix compilation error > > Things are a bit more complex... > >> linux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has >>

[PATCH v2 3/3] ARM: S3C24XX: Add devicetree support and dt-board file for s3c2416 SoCs

2013-02-17 Thread Heiko Stübner
This adds a board file and the devicetree source files to support boards using the Samsung S3C2416 SoC. The dt source files contain the definitions generic to all S3C24XX SoCs in the s3c24xx.dtsi file which then gets extendes with S3C2416 specific definitions. Signed-off-by: Heiko Stuebner ---

[PATCH v2 2/3] irqchip: irq-s3c24xx: add devicetree support

2013-02-17 Thread Heiko Stübner
This adds devicetree parsing of the controller-data for the interrupt controllers on S3C24XX architectures. As the interrupts and their parent differ on all s3c24xx SoCs the interrupt-list and parent-relationship is read from a list in the devicetree data. Signed-off-by: Heiko Stuebner ---

[PATCH v2 1/3] ARM: S3C24XX: move irq driver to drivers/irqchip

2013-02-17 Thread Heiko Stübner
This move is necessary to make use of the irqchip infrastructure for the following devicetree support for s3c24xx architectures. Signed-off-by: Heiko Stuebner --- arch/arm/mach-s3c24xx/Makefile |2 +- drivers/irqchip/Makefile |1 + .../irq.c

[PATCH v2 0/3] ARM: S3C24XX: Add devicetree support for s3c2416

2013-02-17 Thread Heiko Stübner
This is the second installment of beginning devicetree support the Samsung S3C24xx architectures and focuses on the s3c2416 for now. Included is the devicetree support for the s3c24xx irq controller and basic support for smdk2416 boards, which can sucessfully boot. After the discussion with

Re: linux-next: build failure after merge of the mips tree

2013-02-17 Thread Hauke Mehrtens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/18/2013 12:43 AM, Stephen Rothwell wrote: > Hi Ralf, > > After merging the mips tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/ssb/driver_gpio.c: In function 'ssb_gpio_chipco_to_irq': >

Re: extra free kbytes tunable

2013-02-17 Thread dormando
On Fri, 15 Feb 2013, Rik van Riel wrote: > On 02/15/2013 05:21 PM, Seiji Aguchi wrote: > > Rik, Satoru, > > > > Do you have any comments? > > IIRC at the time the patch was rejected as too inelegant. > > However, nobody else seems to have come up with a better plan, and > there are users in

[PATCH] add extra free kbytes tunable

2013-02-17 Thread dormando
From: Rik van Riel Add a userspace visible knob to tell the VM to keep an extra amount of memory free, by increasing the gap between each zone's min and low watermarks. This is useful for realtime applications that call system calls and have a bound on the number of allocations that happen in

Re: [PATCH 0/9] System Framebuffer Bus (sysfb)

2013-02-17 Thread Dave Airlie
>> I'm unsure if I like this or not, and I don't see why its greatly more >> useful than the interface we have now. > > This interface at least solves the problem with having vesafb, > uvesafb, vgacon, vga16fb, efifb, dvbe, defi and all other similar > drivers from accessing the system framebuffer

linux-next: build failure after merge of the mips tree

2013-02-17 Thread Stephen Rothwell
Hi Ralf, After merging the mips tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/ssb/driver_gpio.c: In function 'ssb_gpio_chipco_to_irq': drivers/ssb/driver_gpio.c:82:3: error: implicit declaration of function 'ssb_mips_irq' [-Werror=implicit-function-declaration]

Re: [PATCH 0/9] System Framebuffer Bus (sysfb)

2013-02-17 Thread David Herrmann
Hi Dave On Sun, Feb 17, 2013 at 11:02 PM, Dave Airlie wrote: >> >> This series tries to fix the mess with global system framebuffer access in >> device drivers. Currently, architecture initialization sets the "screen_info" >> object according to the system framebuffer that was detected during

[ 02/66] xhci: Fix isoc TD encoding.

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 760973d2a74b93eb1697981f7448f0e62767cfc4 upstream. An isochronous TD is comprised of one isochronous TRB chained to zero or more normal TRBs. Only the isoc TRB has the TBC

[ 05/66] usb: Prevent dead ports when xhci is not enabled

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: David Moore commit 58b2939b4d5a030eaec469d29812ab8477ee7e76 upstream. When the xHCI driver is not available, actively switch the ports to EHCI mode since some BIOSes leave them in xHCI mode

[ 08/66] drm/radeon: add quirk for RV100 board

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 9200ee4941a6e5d1ec5df88982243686882dff3f upstream. vbios says external TMDS while the board is actually internal TMDS. fixes:

[ 12/66] USB: EHCI: fix bug in scheduling periodic split transfers

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 3e619d04159be54b3daa0b7036b0ce9e067f4b5d upstream. This patch (as1654) fixes a very old bug in ehci-hcd, connected with scheduling of periodic split transfers. The

[ 01/66] drm/i915: Fix misplaced intel_mark_page_flip_active()

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings In commit 28c4566d30b8, backport of commit e7d841ca03b7 ('drm/i915: Close race between processing unpin task and queueing the flip') I somehow added two calls to

[ 20/66] USB: ftdi_sio: add Zolix FTDI PID

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Petr Kubánek commit 0ba3b2ccc72b3df5c305d61f59d93ab0f0e87991 upstream. Add support for Zolix Omni 1509 monochromator custom USB-RS232 converter. Signed-off-by: Petr Kubánek Signed-off-by:

[ 09/66] USB: qcserial: add Telit Gobi QDL device

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniele Palmas commit 78796ae17eacedcdcaaeb03ba73d2e532a4c8f83 upstream. Add VID and PID for Telit Gobi QDL device Signed-off-by: Daniele Palmas Signed-off-by: Greg Kroah-Hartman

[ 10/66] USB: option: add support for Telit LE920

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniele Palmas commit 03eb466f276ceef9dcf023dc5474db02af68aad9 upstream. Add PID and special handling for Telit LE920 Signed-off-by: Daniele Palmas Signed-off-by: Greg Kroah-Hartman

[ 17/66] can: c_can: Set reserved bit in IFx_MASK2 to 1 on write

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Stein commit 2bd3bc4e8472424f1a6009825397639a8968920a upstream. According to C_CAN documentation, the reserved bit in IFx_MASK2 register is fixed 1. Signed-off-by: Alexander Stein

[ 15/66] drm/radeon: Calling object_unrefer() when creating fb failure

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: liu chuansheng commit f2d68cf4daa4de97d400d94836b907e35228e54f upstream. When kzalloc() failed in radeon_user_framebuffer_create(), need to call object_unreference() to match the

[ 07/66] rtlwifi: Fix the usage of the wrong variable in usb.c

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 0a06ad8e3a1cb5311b7dbafde45410aa1bce9d40 upstream. In routine _rtl_rx_pre_process(), skb_dequeue() is called to get an skb; however, the wrong variable name is used in

[ 19/66] USB: option: add Changhong CH690

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit d4fa681541aa7bf8570d03426dd7ba663a71c467 upstream. New device with 3 serial interfaces: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend) Sub=ff Prot=ff If#= 1 Alt= 0 #EPs= 2

[ 14/66] Bluetooth: Fix handling of unexpected SMP PDUs

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hedberg commit 8cf9fa1240229cbdd888236c0c43fcbad680cf00 upstream. The conn->smp_chan pointer can be NULL if SMP PDUs arrive at unexpected moments. To avoid NULL pointer dereferences the

[ 00/66] 3.2.39-stable review

2013-02-17 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.39 release. There are 66 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Feb 19 23:00:00 UTC 2013. Anything

[ 06/66] sched/rt: Use root_domain of rt_rq not current processor

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Shawn Bohrer commit aa7f67304d1a03180f463258aa6f15a8b434e77d upstream. When the system has multiple domains do_sched_rt_period_timer() can run on any CPU and may iterate over all rt_rq in

[ 13/66] x86-64: Replace left over sti/cli in ia32 audit exit code

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 40a1ef95da85843696fc3ebe5fce39b0db32669f upstream. For some reason they didn't get replaced so far by their paravirt equivalents, resulting in code to be run with interrupts

[ 66/66] x86/xen: dont assume %ds is usable in xen_iret for 32-bit PVOPS.

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 13d2b4d11d69a92574a55bfd985cfb0ca77aebdc upstream. This fixes CVE-2013-0228 / XSA-42 Drew Jones while working on CVE-2013-0190 found that that unprivileged guest user in

[ 04/66] USB: XHCI: fix memory leak of URB-private data

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 48c3375c5f69b1c2ef3d1051a0009cb9bce0ce24 upstream. This patch (as1640) fixes a memory leak in xhci-hcd. The urb_priv data structure isn't always deallocated in the

[ 51/66] packet: fix leakage of tx_ring memory

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Phil Sutter [ Upstream commit 9665d5d62487e8e7b1f546c00e11107155384b9a ] When releasing a packet socket, the routine packet_set_ring() is reused to free rings instead of allocating them. But

[ 60/66] tcp: frto should not set snd_cwnd to 0

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 2e5f421211ff76c17130b4597bc06df4eeead24f ] Commit 9dc274151a548 (tcp: fix ABC in tcp_slow_start()) uncovered a bug in FRTO code : tcp_process_frto() is setting

[ 48/66] net: loopback: fix a dst refcounting issue

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 794ed393b707f01858f5ebe2ae5eabaf89d00022 ] Ben Greear reported crashes in ip_rcv_finish() on a stress test involving many macvlans. We tracked the bug to a dst

[ 50/66] ipv6: do not create neighbor entries for local delivery

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner [ Upstream commit bd30e947207e2ea0ff2c08f5b4a03025ddce48d3 ] They will be created at output, if ever needed. This avoids creating empty neighbor entries when

[ 56/66] xen/netback: shutdown the ring if it contains garbage.

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ian Campbell [ Upstream commit 48856286b64e4b66ec62b94e504d0b29c1ade664 ] A buggy or malicious frontend should not be able to confuse netback. If we spot anything which is not as it should be

[ 53/66] sctp: refactor sctp_outq_teardown to insure proper re-initalization

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Neil Horman [ Upstream commit 2f94aabd9f6c925d77aecb3ff020f1cc12ed8f86 ] Jamie Parsons reported a problem recently, in which the re-initalization of an association (The duplicate init case),

[ 57/66] xen/netback: dont leak pages on failure in xen_netbk_tx_check_gop.

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Daley [ Upstream commit 7d5145d8eb2b9791533ffe4dc003b129b9696c48 ] Signed-off-by: Matthew Daley Reviewed-by: Konrad Rzeszutek Wilk Acked-by: Ian Campbell Acked-by: Jan Beulich

[ 49/66] pktgen: correctly handle failures when adding a device

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 604dfd6efc9b79bce432f2394791708d8e8f6efc ] The return value of pktgen_add_device() is not checked, so even if we fail to add some device, for example, non-exist

[ 47/66] r8169: remove the obsolete and incorrect AMD workaround

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Timo Teräs [ Upstream commit 5d0feaff230c0abfe4a112e6f09f096ed99e0b2d ] This was introduced in commit 6dccd16 "r8169: merge with version 6.001.00 of Realtek's r8169 driver". I did not find

[ 52/66] atm/iphase: rename fregt_t -> ffreg_t

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens [ Upstream commit ab54ee80aa7585f9666ff4dd665441d7ce41f1e8 ] We have conflicting type qualifiers for "freg_t" in s390's ptrace.h and the iphase atm device driver, which causes

[ 62/66] tcp: fix MSG_SENDPAGE_NOTLAST logic

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ae62ca7b03217be5e74759dc6d7698c95df498b3 ] commit 35f9c09fe9c72e (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag : MSG_SENDPAGE_NOTLAST

[ 55/66] net: sctp: sctp_endpoint_free: zero out secret key data

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit b5c37fe6e24eec194bb29d22fdd55d73bcc709bf ] On sctp_endpoint_destroy, previously used sensitive keying material should be zeroed out before the memory is

[ 54/66] net: sctp: sctp_setsockopt_auth_key: use kzfree instead of kfree

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 6ba542a291a5e558603ac51cda9bded347ce7627 ] In sctp_setsockopt_auth_key, we create a temporary copy of the user passed shared auth key for the endpoint or

[ 58/66] xen/netback: free already allocated memory on failure in xen_netbk_get_requests

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ian Campbell [ Upstream commit 4cc7c1cb7b11b6f3515bd9075527576a1eecc4aa ] Signed-off-by: Ian Campbell Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings ---

[ 63/66] bridge: Pull ip header into skb->data before looking into ip header.

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sarveshwar Bandi [ Upstream commit 6caab7b0544e83e6c160b5e80f5a4a7dd69545c7 ] If lower layer driver leaves the ip header in the skb fragment, it needs to be first pulled into skb->data before

[ 61/66] tcp: fix for zero packets_in_flight was too broad

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ilpo Järvinen [ Upstream commit 6731d2095bd4aef18027c72ef845ab1087c3ba63 ] There are transients during normal FRTO procedure during which the packets_in_flight can go to zero between

[ 59/66] netback: correct netbk_tx_err to handle wrap around.

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ian Campbell [ Upstream commit b9149729ebdcfce63f853aa54a404c6a8f6ebbf3 ] Signed-off-by: Ian Campbell Acked-by: Jan Beulich Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings ---

[ 39/66] HID: usbhid: quirk for Formosa IR receiver

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Santos commit 320cde19a4e8f122b19d2df7a5c00636e11ca3fb upstream. Patch to add the Formosa Industrial Computing, Inc. Infrared Receiver [IR605A/Q] to hid-ids.h and hid-quirks.c. This

[ 37/66] wake_up_process() should be never used to wakeup a TASK_STOPPED/TRACED task

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 9067ac85d533651b98c2ff903182a20cbb361fcb upstream. wake_up_process() should never wakeup a TASK_STOPPED/TRACED task. Change it to use TASK_NORMAL and add the WARN_ON().

[ 44/66] ipv6: fix header length calculation in ip6_append_data()

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Romain KUNTZ [ Upstream commit 7efdba5bd9a2f3e2059beeb45c9fa55eefe1bced ] Commit 299b0767 (ipv6: Fix IPsec slowpath fragmentation problem) has introduced a error in the header length

[ 42/66] ipv6: fix the noflags test in addrconf_get_prefix_route

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Romain Kuntz [ Upstream commit 85da53bf1c336bb07ac038fb951403ab0478d2c5 ] The tests on the flags in addrconf_get_prefix_route() does no make much sense: the 'noflags' parameter contains the

[ 41/66] net: prevent setting ttl=0 via IP_TTL

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit c9be4a5c49cf51cc70a993f004c5bb30067a65ce ] A regression is introduced by the following commit: commit 4d52cfbef6266092d535237ba5a4b981458ab171

[ 45/66] isdn/gigaset: fix zero size border case in debug dump

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tilman Schmidt [ Upstream commit d721a1752ba544df8d7d36959038b26bc92bdf80 ] If subtracting 12 from l leaves zero we'd do a zero size allocation, leading to an oops later when we try to set the

[ 35/66] ptrace: introduce signal_wake_up_state() and ptrace_signal_wake_up()

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 910ffdb18a6408e14febbb6e4b6840fd2c928c82 upstream. Cleanup and preparation for the next change. signal_wake_up(resume => true) is overused. None of ptrace/jctl callers

[ 43/66] MAINTAINERS: Stephen Hemminger email change

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Hemminger [ Upstream commit adbbf69d1a54abf424e91875746a610dcc80017d ] I changed my email because the vyatta.com mail server is now redirected to brocade.com; and the Brocade mail

[ 32/66] [libata] ahci: Add support for Enmotus Bobcat device.

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Daschbach commit 7f9c9f8e24590e7dcd26ca408458c43df5b83e61 upstream. Silicon does not support standard AHCI BAR assignment. Add vendor/device exception to force BAR 2. Signed-off-by:

[ 36/66] ptrace: ensure arch_ptrace/ptrace_request can never race with SIGKILL

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 9899d11f654474d2d54ea52ceaa2a1f4db3abd68 upstream. putreg() assumes that the tracee is not running and pt_regs_access() can safely play with its stack. However a killed

[ 64/66] tg3: Avoid null pointer dereference in tg3_interrupt in netconsole mode

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Nithin Nayak Sujir [ Upstream commit 9c13cb8bb477a83b9a3c9e5a5478a4e21294a760 ] When netconsole is enabled, logging messages generated during tg3_open can result in a null pointer dereference

[ 34/66] ptrace/x86: Partly fix set_task_blockstep()->update_debugctlmsr() logic

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 95cf00fa5d5e2a200a2c044c84bde8389a237e02 upstream. Afaics the usage of update_debugctlmsr() and TIF_BLOCKSTEP in step.c was always very wrong. 1. update_debugctlmsr() was

[ 31/66] ahci: support the STA2X11 I/O Hub

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alessandro Rubini commit 318893e1429a9d50569a0379d1e20b0ecc45c555 upstream. The AHCI controller found in the STA2X11 chip uses BAR number 0 instead of 5. Also, the chip's fixup code sets a

[ 28/66] Wireless: rt2x00: Add device id for Sweex LW323 to rt2800usb.c

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jaume Delclòs commit 36f318bb124b231c01db6965a009f46d5731f012 upstream. This patch adds detection for the Sweex LW323 USB wireless network card in the rt2x00 driver (just one line in

[ 38/66] Bluetooth: Fix sending HCI commands after reset

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Szymon Janc commit dbccd791a3fbbdac12c33834b73beff3984988e9 upstream. After sending reset command wait for its command complete event before sending next command. Some chips sends CC event for

[ 33/66] ptrace/x86: Introduce set_task_blockstep() helper

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 848e8f5f0ad3169560c516fff6471be65f76e69f upstream. No functional changes, preparation for the next fix and for uprobes single-step fixes. Move the code playing with

[ 46/66] netxen: fix off by one bug in netxen_release_tx_buffer()

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit a05948f296ce103989b28a2606e47d2e287c3c89 ] Christoph Paasch found netxen could trigger a BUG in its dismantle phase, in netxen_release_tx_buffer(), using full

[ 40/66] kernel/resource.c: fix stack overflow in __reserve_region_with_split()

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: T Makphaibulchoke commit 4965f5667f36a95b41cda6638875bc992bd7d18b upstream. Using a recursive call add a non-conflicting region in __reserve_region_with_split() could result in a stack

[ 29/66] rt2800usb: Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Maia Kozheva commit fd7b9270120ca7e53fbf0469febe0c68acf6a0a2 upstream. D-Link DWA-125/B1 is a relatively new USB Wi-Fi adapter, using a Ralink chipset supported by the rt2800usb driver.

[ 27/66] wireless: rt2x00: rt{2500,73}usb.c put back duplicate id

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Xose Vazquez Perez commit 8f35f787b75e9b6435ea37dabcae2d40dc72d31c upstream. put back 0x050d,0x7050 to rt73usb, same usb_id for two chips: K7SF5D7050A ver 2xxx is rt2500 K7SF5D7050B ver 3xxx

[ 65/66] tg3: Fix crc errors on jumbo frame receive

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Nithin Nayak Sujir [ Upstream commit daf3ec688e057f6060fb9bb0819feac7a8bbf45c ] TG3_PHY_AUXCTL_SMDSP_ENABLE/DISABLE macros do a blind write to the phy auxiliary control register and overwrite

[ 24/66] drivers/rtc/rtc-isl1208.c: call rtc_update_irq() from the alarm irq handler

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Luebbe commit 72fca4a4b32dc778b5b885c3498700e42b610d49 upstream. Previously the alarm event was not propagated into the RTC subsystem. By adding a call to rtc_update_irq, this fixes a

[ 26/66] virtio_console: Dont access uninitialized data.

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sjur Brændeland commit aded024a12b32fc1ed9a80639681daae2d07ec25 upstream. Don't access uninitialized work-queue when removing device. The work queue is initialized only if the device

[ 23/66] nilfs2: fix fix very long mount time issue

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Vyacheslav Dubeyko commit a9bae189542e71f91e61a4428adf6e5a7dfe8063 upstream. There exists a situation when GC can work in background alone without any other filesystem activity during

[ 11/66] mwifiex: fix incomplete scan in case of IE parsing error

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bing Zhao commit 8a7d7cbf7b5ff9912ef50b3e94c9ad9f37b1c75f upstream. A scan request is split into multiple scan commands queued in scan_pending_q. Each scan command will be sent to firmware and

[ 22/66] USB: storage: optimize to match the Huawei USB storage devices and support new switch command

2013-02-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: fangxiaozhi commit 200e0d994d9d1919b28c87f1a5fb99a8e13b8a0f upstream. 1. Optimize the match rules with new macro for Huawei USB storage devices, to avoid to load USB storage driver for the

<    1   2   3   4   5   6   7   >