Re: [PATCH] bnx2: Use dev_kfree_skb_any() in bnx2_tx_int()

2013-11-01 Thread David Miller
From: Ben Hutchings Date: Fri, 1 Nov 2013 23:34:50 + > As you've said, the ndo_start_xmit and NAPI poll operations are intended > to be called in softirq context, so everything that interlocks with them > will use spin_lock_bh(). Calling them from hardirq context obviously > opens the

Re: [PATCH 1/3] perf/x86/amd: AMD support for bp_len > HW_BREAKPOINT_LEN_8

2013-11-01 Thread Borislav Petkov
On Thu, Oct 31, 2013 at 12:23:30PM +0100, Frederic Weisbecker wrote: > Ok we can keep that naming then, at least on the feature symbol. But > add a comment on it. Great, in the latest F16h BKDG the CPUID bit is called "DataBreakpointExtension". So BPEXT could mean anything :) So the comment is

Re: [RFC 4/9] of/irq: Refactor interrupt-map parsing

2013-11-01 Thread Ming Lei
On Sat, Nov 2, 2013 at 2:54 AM, Grant Likely wrote: > > That one was broken. Try this instead. > > From bcbffc3d16f49451ef505dc021480aa061465a15 Mon Sep 17 00:00:00 2001 > From: Grant Likely > Date: Fri, 1 Nov 2013 10:50:50 -0700 > Subject: [PATCH] of: Fixup interrupt parsing failure. > >

Re: [PATCH] drivers: w1: make w1_slave::flags long to avoid casts

2013-11-01 Thread Рустафа Джамурахметов
Hi 01.11.2013, 23:30, "Andrew Morton" : > set_bit() operates on longs.  So if we do > > struct foo { > u32 a; > u32 b; > } f; > > ... > set_bit(0, (long *)); > ... > > then we'll scribble on f.b on a big-endian 64-bit machine. Argh, why would we just

Re: [PATCH v2 05/13] uprobes: add arch write opcode hook

2013-11-01 Thread David Long
On 10/29/13 15:59, Oleg Nesterov wrote: On 10/28, Oleg Nesterov wrote: Yes, yes, sorry for confusion. What I actually tried to suggest is something like the trivial patch below. Then arm can do: uprobe_opcode_t arch_uprobe_swbp_insn(struct arch_uprobe *auprobe) {

Re: [PATCH 0/4] per anon_vma lock and turn anon_vma rwsem lock to rwlock_t

2013-11-01 Thread Davidlohr Bueso
On Fri, 2013-11-01 at 11:55 -0700, Linus Torvalds wrote: > On Fri, Nov 1, 2013 at 11:47 AM, Michel Lespinasse wrote: > > > > Should copy Andrea on this. I talked with him during KS, and there are > > no current in-tree users who are doing such sleeping; however there > > are prospective users for

Re: [PATCH 0/4] per anon_vma lock and turn anon_vma rwsem lock to rwlock_t

2013-11-01 Thread Davidlohr Bueso
On Fri, 2013-11-01 at 18:16 +0800, Yuanhan Liu wrote: > On Fri, Nov 01, 2013 at 09:21:46AM +0100, Ingo Molnar wrote: > > > > * Yuanhan Liu wrote: > > > > > > Btw., another _really_ interesting comparison would be against > > > > the latest rwsem patches. Mind doing such a comparison? > > > >

Re: zram/zsmalloc issues in very low memory conditions

2013-11-01 Thread Bob Liu
Hi Olav, On 11/02/2013 08:59 AM, Olav Haugan wrote: > > I tried the above suggestion but it does not seem to have any noticeable > impact. The system is still trying to swap out at a very high rate after > zram reported failure to swap out. The error logging is actually so much > that my system

Re: [PATCH 2/8] trace/trace_stat: use rbtree postorder iteration helper instead of opencoding

2013-11-01 Thread Steven Rostedt
On Fri, 1 Nov 2013 15:38:46 -0700 Cody P Schafer wrote: > Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead > of opencoding an alternate postorder iteration that modifies the tree > > Signed-off-by: Cody P Schafer > --- > kernel/trace/trace_stat.c | 42

Re: [PATCH 3.11 00/66] 3.11.7-stable review

2013-11-01 Thread Guenter Roeck
On Fri, Nov 01, 2013 at 03:06:36PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.11.7 release. > There are 66 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 3.10 00/54] 3.10.18-stable review

2013-11-01 Thread Guenter Roeck
On Fri, Nov 01, 2013 at 03:03:28PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.18 release. > There are 54 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [ 00/32] 3.4.68-stable review

2013-11-01 Thread Guenter Roeck
On Fri, Nov 01, 2013 at 02:43:11PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.68 release. > There are 32 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [RFC PATCH] PCI: export MSI mode using attributes, not kobjects

2013-11-01 Thread Neil Horman
On Fri, Nov 01, 2013 at 05:40:02PM -0600, Bjorn Helgaas wrote: > On Tue, Oct 29, 2013 at 3:46 PM, Greg Kroah-Hartman > wrote: > > From: Greg Kroah-Hartman > > > > The PCI MSI sysfs code is a mess with kobjects for things that don't > > really need to be kobjects. This patch creates attributes

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-11-01 Thread Neil Horman
On Fri, Nov 01, 2013 at 01:26:52PM -0700, Joe Perches wrote: > On Fri, 2013-11-01 at 15:58 -0400, Neil Horman wrote: > > On Fri, Nov 01, 2013 at 12:45:29PM -0700, Joe Perches wrote: > > > On Fri, 2013-11-01 at 13:37 -0400, Neil Horman wrote: > > > > > > > I think it would be better if we just did

[PULL] symbol fix for ARM kallsyms

2013-11-01 Thread Rusty Russell
The following changes since commit 12aee278b50c4a94a93fa0b4d201ae35d792c696: Merge branch 'akpm' (fixes from Andrew Morton) (2013-10-30 14:27:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/fixes-for-linus for you to

Re: [PATCH] Make efi-pstore return a unique id

2013-11-01 Thread Madper Xie
rich...@nod.at writes: > Am 01.11.2013 20:22, schrieb Seiji Aguchi: > +{ > + char id_str[64]; > + u64 id = 0; > + > + sprintf(id_str, "%lu%u%d", timestamp, part, count); > + if (kstrtoull(id_str, 10, )) > + pr_warn("efi-pstore:

Re: [PATCH] KVM: IOMMU: hva align mapping page size

2013-11-01 Thread Marcelo Tosatti
On Fri, Nov 01, 2013 at 10:08:55AM -0600, Greg Edwards wrote: > When determining the page size we could use to map with the IOMMU, the > page size should be aligned with the hva, not the gfn. The gfn may not > reflect the real alignment within the hugetlbfs file. > > Most of the time, this works

Re: [PATCH 02/11] devicetree: bindings: Document Qualcomm cpus and enable-method

2013-11-01 Thread Rob Herring
On Fri, Nov 1, 2013 at 5:08 PM, Stephen Boyd wrote: > From: Rohit Vaswani > > Scorpion and Krait are Qualcomm cpus. These cpus don't use the > spin-table enable-method. Instead they rely on mmio register > accesses to enable power and clocks to bring CPUs out of reset. > > Cc: > Signed-off-by:

Re: [PATCH 01/11] devicetree: bindings: Document cpu enable-method for ARM CPUs

2013-11-01 Thread Rob Herring
On Fri, Nov 1, 2013 at 5:08 PM, Stephen Boyd wrote: > From: Rohit Vaswani > > According to the ePAPR CPUs should have an enable method. On ARM > the enable-method property has not been used so far, so document > this property as an optional property and add the spin-table > method as one value >

Re: zram/zsmalloc issues in very low memory conditions

2013-11-01 Thread Olav Haugan
On 10/25/2013 2:19 AM, Minchan Kim wrote: > Hello, > > I had no enough time to think over your great questions since I should enjoy > in Edinburgh so if I miss something, Sorry! > > On Wed, Oct 23, 2013 at 02:51:34PM -0700, Olav Haugan wrote: >> I am trying to use zram in very low memory

Re: [RESEND PATCH 1/4] i2c: i2c-bcm-kona: Introduce Broadcom I2C Driver

2013-11-01 Thread Tim Kryger
On Fri, Nov 1, 2013 at 5:49 AM, Wolfram Sang wrote: > On Wed, Oct 16, 2013 at 03:01:46PM -0700, Tim Kryger wrote: >> Introduce support for Broadcom Serial Controller (BSC) I2C bus found >> in the Kona family of Mobile SoCs. FIFO hardware is utilized but only >> standard mode (100kHz), fast mode

Correct parameter size for BLKSSZGET ioctl.

2013-11-01 Thread Jason Cipriani
In blkdiscard in util-linux, at least since version 2.23, the following code is used to retrieve a device's physical sector size: uint64_t secsize; ioctl(fd, BLKSSZGET, ); On my machine (Ubuntu 12.04 -- 3.2.0-55-generic-pae #85-Ubuntu SMP Wed Oct 2 14:03:15 UTC 2013 i686 i686 i386 GNU/Linux)

Re: [PATCH] Make efi-pstore return a unique id

2013-11-01 Thread Tony Luck
On Fri, Nov 1, 2013 at 1:57 PM, Seiji Aguchi wrote: >> What about feeding the bytes of all three integers into a non-cryptographic >> hash function? >> Using this way you get a cheap unique id. > > It is reasonable to me. How does efivars backend handle "unlink(2)" in the pstore file system.

Re: Strange location and name for platform devices when device-tree is used.

2013-11-01 Thread NeilBrown
On Sat, 02 Nov 2013 10:10:25 +1100 Benjamin Herrenschmidt wrote: > On Fri, 2013-11-01 at 13:47 -0700, Greg Kroah-Hartman wrote: > > > > > On my device I seem to have some platform devices registered through > > > > device-tree, and some registered through platform_device_add (e.g. > > > >

Re: [RFC PATCH] PCI: export MSI mode using attributes, not kobjects

2013-11-01 Thread Bjorn Helgaas
On Tue, Oct 29, 2013 at 3:46 PM, Greg Kroah-Hartman wrote: > From: Greg Kroah-Hartman > > The PCI MSI sysfs code is a mess with kobjects for things that don't > really need to be kobjects. This patch creates attributes dynamically > for the MSI interrupts instead of using kobjects. > > Note,

Re: [PATCH] bnx2: Use dev_kfree_skb_any() in bnx2_tx_int()

2013-11-01 Thread Ben Hutchings
On Fri, 2013-11-01 at 18:01 -0400, David Miller wrote: > From: Cong Wang > Date: Thu, 31 Oct 2013 21:19:16 -0700 > > > 2013年10月30日 下午9:26于 "David Miller" 写道: > >> > >> We have to provide a softint compatible environment for this callback > >> to run in else everything is completely broken. > >>

Re: [PATCH] extcon-gpio: add devicetree support.

2013-11-01 Thread NeilBrown
On Fri, 1 Nov 2013 10:16:44 -0700 Mark Rutland wrote: > Hi Neil, > > While I'm not fundamentally opposed to this binding, I have some issues with > its current form and would not want to see this version hit mainline. > Thanks for the review. > On Fri, Nov 01, 2013 at 09:50:05AM +,

Re: linux-next: manual merge of the dt-rh tree with the powerpc tree

2013-11-01 Thread Benjamin Herrenschmidt
On Fri, 2013-11-01 at 17:24 -0500, Rob Herring wrote: > On 11/01/2013 12:20 AM, Stephen Rothwell wrote: > > Hi Rob, > > > > Today's linux-next merge of the dt-rh tree got a conflict in > > arch/powerpc/include/asm/prom.h between commit a3e31b458844 ("of: > > Move definition of

Re: Strange location and name for platform devices when device-tree is used.

2013-11-01 Thread Benjamin Herrenschmidt
On Fri, 2013-11-01 at 13:47 -0700, Greg Kroah-Hartman wrote: > > > On my device I seem to have some platform devices registered through > > > device-tree, and some registered through platform_device_add (e.g. > > > 'alarmtimer'). Guaranteeing they remain disjoint sets if the kernel is > > >

Re: Strange location and name for platform devices when device-tree is used.

2013-11-01 Thread Benjamin Herrenschmidt
On Fri, 2013-11-01 at 13:47 -0700, Greg Kroah-Hartman wrote: > > > On my device I seem to have some platform devices registered through > > > device-tree, and some registered through platform_device_add (e.g. > > > 'alarmtimer'). Guaranteeing they remain disjoint sets if the kernel is > > >

Re: [PATCH v2 1/4] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2013-11-01 Thread Tomasz Figa
Hi Rob, On Friday 01 of November 2013 16:52:44 Rob Herring wrote: > On 10/14/2013 10:08 AM, Vyacheslav Tyrtov wrote: > > From: Tarek Dakhran > > > > EXYNOS5410 is SoC in Samsung's Exynos5 SoC series. > > Add initial support for this SoC. > > I think this entire patch is mostly unnecessary and

Re: [PATCH v2 7/9] phy: add Broadcom Kona USB2 PHY DT binding

2013-11-01 Thread Matt Porter
On Fri, Nov 01, 2013 at 09:54:10PM +0100, Arend van Spriel wrote: > On 11/01/2013 08:45 PM, Matt Porter wrote: > >Add a binding that describes the Broadcom Kona USB2 PHY found > >on the BCM281xx family of SoCs. > > > >Signed-off-by: Matt Porter > >--- > >

Re: [PATCH] power: Add legacy pm ops usage warning

2013-11-01 Thread Rafael J. Wysocki
On Friday, November 01, 2013 09:07:04 AM Shuah Khan wrote: > Add legacy pm_ops usage checks to device_pm_add() when a device gets added > to PM core's list of active devices. If legacy pm_ops usage is found at its > class, bus, driver level, print warning message to indicate the driver code >

Re: [PATCH v2 9/9] ARM: dts: add usb udc support to bcm281xx

2013-11-01 Thread Matt Porter
On Fri, Nov 01, 2013 at 11:56:33PM +0300, Sergei Shtylyov wrote: > Hello. > > On 11/01/2013 10:45 PM, Matt Porter wrote: > > >Adds USB OTG/PHY and clock support to BCM281xx and enables > >UDC support on the bcm11351-brt and bcm28155-ap boards. > > >Signed-off-by: Matt Porter > >Reviewed-by:

[PATCH 3.10 01/54] tcp: TSO packets automatic sizing

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commits 6d36824e730f247b602c90e8715a792003e3c5a7, 02cf4ebd82ff0ac7254b88e466820a290ed8289a, and parts of 7eec4174ff29cd42f2acfae8112f51c228545d40 ] After hearing

[PATCH 3.10 00/54] 3.10.18-stable review

2013-11-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.10.18 release. There are 54 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun Nov 3 22:00:53 UTC 2013. Anything

[PATCH 3.10 02/54] tcp: TSQ can use a dynamic limit

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit c9eeec26e32e087359160406f96e0949b3cc6f10 ] When TCP Small Queues was added, we used a sysctl to limit amount of packets queues on Qdisc/device queues for a

[PATCH 3.10 14/54] can: dev: fix nlmsg size calculation in can_get_size()

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde [ Upstream commit fe119a05f8ca481623a8d02efcc984332e612528 ] This patch fixes the calculation of the nlmsg size, by adding the missing nla_total_size(). Signed-off-by: Marc

[PATCH 2/8] trace/trace_stat: use rbtree postorder iteration helper instead of opencoding

2013-11-01 Thread Cody P Schafer
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- kernel/trace/trace_stat.c | 42 ++ 1 file changed, 6 insertions(+), 36

[PATCH 3/8] fs/ubifs: use rbtree postorder iteration helper instead of opencoding

2013-11-01 Thread Cody P Schafer
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- fs/ubifs/debug.c| 22 +++--- fs/ubifs/log.c | 21 ++--- fs/ubifs/orphan.c |

[PATCH 4/8] fs/ext4: use rbtree postorder iteration helper instead of opencoding

2013-11-01 Thread Cody P Schafer
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- fs/ext4/block_validity.c | 33 - fs/ext4/dir.c| 35

[PATCH 1/8] net ipset: use rbtree postorder iteration instead of opencoding

2013-11-01 Thread Cody P Schafer
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- net/netfilter/ipset/ip_set_hash_netiface.c | 27 --- 1 file changed, 4 insertions(+), 23

[PATCH 6/8] fs/ext3: use rbtree postorder iteration helper instead of opencoding

2013-11-01 Thread Cody P Schafer
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- fs/ext3/dir.c | 36 +--- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git

[PATCH 8/8] sh/dwarf: use rbtree postorder iteration helper instead of solution using repeated rb_erase()

2013-11-01 Thread Cody P Schafer
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of using repeated rb_erase() calls Signed-off-by: Cody P Schafer --- arch/sh/kernel/dwarf.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/arch/sh/kernel/dwarf.c

[PATCH 7/8] mtd/ubi: use rbtree postorder iteration helper instead of opencoding

2013-11-01 Thread Cody P Schafer
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- drivers/mtd/ubi/attach.c | 49 +++- drivers/mtd/ubi/wl.c | 25

[PATCH 3.10 07/54] l2tp: fix kernel panic when using IPv4-mapped IPv6 addresses

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: François CACHEREUL [ Upstream commit e18503f41f9b12132c95d7c31ca6ee5155e44e5c ] IPv4 mapped addresses cause kernel panic. The patch juste check whether the IPv6 address is an IPv4 mapped

[PATCH 5/8] fs/jffs2: use rbtree postorder iteration helper instead of opencoding

2013-11-01 Thread Cody P Schafer
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- fs/jffs2/nodelist.c | 28 ++-- fs/jffs2/readinode.c | 26 +++--- 2 files

[PATCH 3.10 04/54] tcp: do not forget FIN in tcp_shifted_skb()

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 5e8a402f831dbe7ee831340a91439e46f0d38acd ] Yuchung found following problem : There are bugs in the SACK processing code, merging part in

[PATCH 3.10 13/54] ipv4: fix ineffective source address selection

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Benc [ Upstream commit 0a7e22609067ff524fc7bbd45c6951dd08561667 ] When sending out multicast messages, the source address in inet->mc_addr is ignored and rewritten by an autoselected

[PATCH 3.10 08/54] l2tp: Fix build warning with ipv6 disabled.

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 8d8a51e26a6d415e1470759f2cf5f3ee3ee86196 ] net/l2tp/l2tp_core.c: In function ‘l2tp_verify_udp_checksum’: net/l2tp/l2tp_core.c:499:22: warning: unused

[PATCH 3.10 05/54] tcp: fix incorrect ca_state in tail loss probe

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Yuchung Cheng [ Upstream commit 031afe4990a7c9dbff41a3a742c44d3e740ea0a1 ] On receiving an ACK that covers the loss probe sequence, TLP immediately sets the congestion state to Open, even

[PATCH 3.10 09/54] net: mv643xx_eth: update statistics timer from timer context only

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Hesselbarth [ Upstream commit 041b4ddb84989f06ff1df0ca869b950f1ee3cb1c ] Each port driver installs a periodic timer to update port statistics by calling mib_counters_update. As

[PATCH 3.10 11/54] net: heap overflow in __audit_sockaddr()

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 1661bf364ae9c506bc8795fef70d1532931be1e8 ] We need to cap ->msg_namelen or it leads to a buffer overflow when we to the memcpy() in __audit_sockaddr(). It

[PATCH 3.10 12/54] proc connector: fix info leaks

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit e727ca82e0e9616ab4844301e6bae60ca7327682 ] Initialize event_data for all possible message types to prevent leaking kernel stack contents to userland (up to 20

[PATCH 3.10 06/54] net: do not call sock_put() on TIMEWAIT sockets

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 80ad1d61e72d626e30ebe8529a0455e660ca4693 ] commit 3ab5aee7fe84 ("net: Convert TCP & DCCP hash tables to use RCU / hlist_nulls") incorrectly used sock_put() on

[PATCH 3.10 10/54] net: mv643xx_eth: fix orphaned statistics timer crash

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Hesselbarth [ Upstream commit f564412c935111c583b787bcc18157377b208e2e ] The periodic statistics timer gets started at port _probe() time, but is stopped on _stop() only. In a

[PATCH 3.10 16/54] xen-netback: Dont destroy the netdev until the vif is shut down

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Paul Durrant [ upstream commit id: 279f438e36c0a70b23b86d2090aeec50155034a9 ] Without this patch, if a frontend cycles through states Closing and Closed (which Windows frontends need to do)

[PATCH 3.10 03/54] tcp: must unclone packets before mangling them

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit c52e2421f7368fd36cbe330d2cf41b10452e39a9 ] TCP stack should make sure it owns skbs before mangling them. We had various crashes using bnx2x, and it turned out

[PATCH 3.10 19/54] l2tp: must disable bh before calling l2tp_xmit_skb()

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 455cc32bf128e114455d11ad919321ab89a2c312 ] François Cachereul made a very nice bug report and suspected the bh_lock_sock() / bh_unlok_sock() pair used in

[PATCH 3.10 18/54] vti: get rid of nf mark rule in prerouting

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Gouault [ Upstream commit 7263a5187f9e9de45fcb51349cf0e031142c19a1 ] This patch fixes and improves the use of vti interfaces (while lightly changing the way of configuring them).

[PATCH 3.10 17/54] net: vlan: fix nlmsg size calculation in vlan_get_size()

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde [ Upstream commit c33a39c575068c2ea9bffb22fd6de2df19c74b89 ] This patch fixes the calculation of the nlmsg size, by adding the missing nla_total_size(). Cc: Patrick McHardy

[PATCH 3.10 22/54] connector: use nlmsg_len() to check message length

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit 162b2bedc084d2d908a04c93383ba02348b648b0 ] The current code tests the length of the whole netlink message to be at least as long to fit a cn_msg. This is

[PATCH 3.10 20/54] farsync: fix info leak in ioctl

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Salva=20Peir=C3=B3?= [ Upstream commit 96b340406724d87e4621284ebac5e059d67b2194 ] The fst_get_iface() code fails to initialize the two padding bytes of struct sync_serial_settings

[PATCH 3.10 21/54] unix_diag: fix info leak

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit 6865d1e834be84ddd5808d93d5035b492346c64a ] When filling the netlink message we miss to wipe the pad field, therefore leak one byte of heap memory to userland.

[PATCH 3.10 15/54] net: secure_seq: Fix warning when CONFIG_IPV6 and CONFIG_INET are not selected

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam [ Upstream commit cb03db9d0e964568407fb08ea46cc2b6b7f67587 ] net_secret() is only used when CONFIG_IPV6 or CONFIG_INET are selected. Building a defconfig with both of these

[PATCH 3.10 26/54] virtio-net: refill only when device is up during setting queues

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 35ed159bfd96a7547ec277ed8b550c7cbd9841b6 ] We used to schedule the refill work unconditionally after changing the number of queues. This may lead an issue if the

[PATCH 3.10 27/54] bridge: Correctly clamp MAX forward_delay when enabling STP

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich [ Upstream commit 4b6c7879d84ad06a2ac5b964808ed599187a188d ] Commit be4f154d5ef0ca147ab6bcd38857a774133f5450 bridge: Clamp forward_delay when enabling STP had a typo

[PATCH 3.10 25/54] virtio-net: fix the race between channels setting and refill

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 9b9cd8024a2882e896c65222aa421d461354e3f2 ] Commit 55257d72bd1c51f25106350f4983ec19f62ed1fa (virtio-net: fill only rx queues which are being used) tries to refill

[PATCH 3.10 39/54] ipv6: probe routes asynchronous in rt6_probe

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa [ Upstream commit c2f17e827b419918c856131f592df9521e1a38e3 ] Routes need to be probed asynchronous otherwise the call stack gets exhausted when the kernel attemps to

[PATCH 3.10 38/54] netfilter: nf_conntrack: fix rt6i_gateway checks for H.323 helper

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov [ Upstream commit 56e42441ed54b092d6c7411138ce60d049e7c731 ] Now when rt6_nexthop() can return nexthop address we can use it for proper nexthop comparison of directly

[PATCH 3.10 30/54] sctp: Perform software checksum if packet has to be fragmented.

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich [ Upstream commit d2dbbba77e95dff4b4f901fee236fef6d9552072 ] IP/IPv6 fragmentation knows how to compute only TCP/UDP checksum. This causes problems if SCTP packets has to be

[PATCH 3.10 24/54] virtio-net: dont respond to cpu hotplug notifier if were not ready

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 3ab098df35f8b98b6553edc2e40234af512ba877 ] We're trying to re-configure the affinity unconditionally in cpu hotplug callback. This may lead the issue during

[PATCH 3.10 34/54] net: fix cipso packet validation when !NETLABEL

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Seif Mazareeb [ Upstream commit f2e5ddcc0d12f9c4c7b254358ad245c9dddce13b ] When CONFIG_NETLABEL is disabled, the cipso_v4_validate() function could loop forever in the main loop if

[PATCH 3.10 31/54] wanxl: fix info leak in ioctl

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Salva Peiró [ Upstream commit 2b13d06c9584b4eb773f1e80bbaedab9a1c344e1 ] The wanxl_ioctl() code fails to initialize the two padding bytes of struct sync_serial_settings after the ->loopback

[PATCH 3.10 29/54] sctp: Use software crc32 checksum when xfrm transform will happen.

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Fan Du [ Upstream commit 27127a82561a2a3ed955ce207048e1b066a80a2a ] igb/ixgbe have hardware sctp checksum support, when this feature is enabled and also IPsec is armed to protect sctp

[PATCH 3.10 32/54] be2net: pass if_id for v1 and V2 versions of TX_CREATE cmd

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Vasundhara Volam [ Upstream commit 0fb88d61bc60779dde88b0fc268da17eb81d0412 ] It is a required field for all TX_CREATE cmd versions > 0. This fixes a driver initialization failure, caused by

[PATCH 3.10 37/54] ipv6: fill rt6i_gateway with nexthop address

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov [ Upstream commit 550bab42f83308c9d6ab04a980cc4333cef1c8fa ] Make sure rt6i_gateway contains nexthop information in all routes returned from lookup or when routes are

[PATCH 3.10 50/54] wireless: radiotap: fix parsing buffer overrun

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit f5563318ff1bde15b10e736e97ffce13be08bc1a upstream. When parsing an invalid radiotap header, the parser can overrun the buffer that is passed in because it doesn't

[PATCH 3.10 33/54] net: unix: inherit SOCK_PASS{CRED, SEC} flags from socket to fix race

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 90c6bd34f884cd9cee21f1d152baf6c18bcac949 ] In the case of credentials passing in unix stream sockets (dgram sockets seem not affected), we get a rather

[PATCH 3.10 28/54] net: dst: provide accessor function to dst->xfrm

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich [ Upstream commit e87b3998d795123b4139bc3f25490dd236f68212 ] dst->xfrm is conditionally defined. Provide accessor funtion that is always available. Signed-off-by: Vlad

[PATCH 3.10 41/54] ARM: 7851/1: check for number of arguments in syscall_get/set_arguments()

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: AKASHI Takahiro commit 3c1532df5c1b54b5f6246cdef94eeb73a39fe43a upstream. In ftrace_syscall_enter(), syscall_get_arguments(..., 0, n, ...) if (i == 0) { ...; n--;}

[PATCH 3.10 52/54] USB: serial: ti_usb_3410_5052: add Abbott strip port ID to combined table as well.

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Diego Elio Pettenò commit c9d09dc7ad106492c17c587b6eeb99fe3f43e522 upstream. Without this change, the USB cable for Freestyle Option and compatible glucometers will not be detected by the

[PATCH 3.10 51/54] serial: vt8500: add missing braces

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Roel Kluin commit d969de8d83401683420638c8107dcfedb2146f37 upstream. Due to missing braces on an if statement, in presence of a device_node a port was always assigned -1, regardless of any

[PATCH 3.10 35/54] inet: fix possible memory corruption with UDP_CORK and UFO

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa [ This is a simplified -stable version of a set of upstream commits. ] This is a replacement patch only for stable which does fix the problems handled by the following

[PATCH 3.10 42/54] ARM: integrator: deactivate timer0 on the Integrator/CP

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit 29114fd7db2fc82a34da8340d29b8fa413e03dca upstream. This fixes a long-standing Integrator/CP regression from commit 870e2928cf3368ca9b06bc925d0027b0a56bcd8e "ARM:

[PATCH 3.11 00/66] 3.11.7-stable review

2013-11-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.11.7 release. There are 66 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun Nov 3 22:04:49 UTC 2013. Anything

[PATCH 3.10 36/54] ipv6: always prefer rt6i_gateway if present

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov [ Upstream commit 96dc809514fb2328605198a0602b67554d8cce7b ] In v3.9 6fd6ce2056de2709 ("ipv6: Do not depend on rt->n in ip6_finish_output2()." changed the behaviour of

[PATCH 3.11 02/66] tcp: TSQ can use a dynamic limit

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit c9eeec26e32e087359160406f96e0949b3cc6f10 ] When TCP Small Queues was added, we used a sysctl to limit amount of packets queues on Qdisc/device queues for a

[PATCH 3.11 01/66] tcp: TSO packets automatic sizing

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commits 6d36824e730f247b602c90e8715a792003e3c5a7, 02cf4ebd82ff0ac7254b88e466820a290ed8289a, and parts of 7eec4174ff29cd42f2acfae8112f51c228545d40 ] After hearing

[PATCH 3.11 04/66] tcp: do not forget FIN in tcp_shifted_skb()

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 5e8a402f831dbe7ee831340a91439e46f0d38acd ] Yuchung found following problem : There are bugs in the SACK processing code, merging part in

[PATCH 3.11 03/66] tcp: must unclone packets before mangling them

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit c52e2421f7368fd36cbe330d2cf41b10452e39a9 ] TCP stack should make sure it owns skbs before mangling them. We had various crashes using bnx2x, and it turned out

[PATCH 3.10 43/54] gpio/lynxpoint: check if the interrupt is enabled in IRQ handler

2013-11-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit 03d152d5582abc8a1c19cb107164c3724bbd4be4 upstream. Checking LP_INT_STAT is not enough in the interrupt handler because its contents get updated regardless of whether

[PATCH 3.11 06/66] net: do not call sock_put() on TIMEWAIT sockets

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 80ad1d61e72d626e30ebe8529a0455e660ca4693 ] commit 3ab5aee7fe84 ("net: Convert TCP & DCCP hash tables to use RCU / hlist_nulls") incorrectly used sock_put() on

[PATCH 3.11 07/66] batman-adv: set up network coding packet handlers during module init

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Matthias Schiffer [ Upstream commit 6c519bad7b19a2c14a075b400edabaa630330123 ] batman-adv saves its table of packet handlers as a global state, so handlers must be set up only once (and

Re: linux-next: manual merge of the dt-rh tree with the powerpc tree

2013-11-01 Thread Stephen Rothwell
Hi Rob, On Fri, 01 Nov 2013 17:24:42 -0500 Rob Herring wrote: > > On 11/01/2013 12:20 AM, Stephen Rothwell wrote: > > > > Today's linux-next merge of the dt-rh tree got a conflict in > > arch/powerpc/include/asm/prom.h between commit a3e31b458844 ("of: > > Move definition of

[PATCH 3.11 09/66] l2tp: Fix build warning with ipv6 disabled.

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 8d8a51e26a6d415e1470759f2cf5f3ee3ee86196 ] net/l2tp/l2tp_core.c: In function ‘l2tp_verify_udp_checksum’: net/l2tp/l2tp_core.c:499:22: warning: unused

[PATCH 3.11 10/66] net: mv643xx_eth: update statistics timer from timer context only

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Hesselbarth [ Upstream commit 041b4ddb84989f06ff1df0ca869b950f1ee3cb1c ] Each port driver installs a periodic timer to update port statistics by calling mib_counters_update. As

[PATCH 3.11 15/66] ipv4: fix ineffective source address selection

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Benc [ Upstream commit 0a7e22609067ff524fc7bbd45c6951dd08561667 ] When sending out multicast messages, the source address in inet->mc_addr is ignored and rewritten by an autoselected

[PATCH 3.11 11/66] net: mv643xx_eth: fix orphaned statistics timer crash

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Hesselbarth [ Upstream commit f564412c935111c583b787bcc18157377b208e2e ] The periodic statistics timer gets started at port _probe() time, but is stopped on _stop() only. In a

[PATCH 3.11 14/66] proc connector: fix info leaks

2013-11-01 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit e727ca82e0e9616ab4844301e6bae60ca7327682 ] Initialize event_data for all possible message types to prevent leaking kernel stack contents to userland (up to 20

  1   2   3   4   5   6   7   8   9   10   >