[PATCH] drivers: mcb: fix memory leak in chameleon_parse_cells() error path

2014-04-11 Thread Johannes Thumshirn
From: Christoph Jaeger christophjae...@linux.com chameleon_parse_cells() bails out if chameleon descriptor type is invalid but does not free the storage 'header' points to. Signed-off-by: Christoph Jaeger christophjae...@linux.com Signed-off-by: Johannes Thumshirn johannes.thumsh...@men.de ---

[GIT PULL] remoteproc cleanups for 3.15

2014-04-11 Thread Ohad Ben-Cohen
The following changes since commit cfbf8d4857c26a8a307fb7cd258074c9dcd8c691: Linux 3.14-rc4 (2014-02-23 17:40:03 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git tags/remoteproc-3.15-cleanups for you to fetch changes up to

[PATCH 3.13 43/65] virtio-net: correct error handling of virtqueue_kick()

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang jasow...@redhat.com [ Upstream commit 681daee2443291419c57cccb0671f5f94a839005 ] Current error handling of virtqueue_kick() was wrong in two places: - The skb were freed immediately

[PATCH 3.13 41/65] ip_tunnel: Fix dst ref-count.

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Pravin B Shelar pshe...@nicira.com [ Upstream commit fbd02dd405d0724a0f25897ed4a6813297c9b96f ] Commit 10ddceb22ba (ip_tunnel:multicast process cause panic due to skb-_skb_refdst NULL pointer)

[PATCH 3.13 39/65] netpoll: fix the skb check in pkt_is_ns

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Li RongQing roy.qing...@gmail.com [ Not applicable upstream commit, the code here has been removed upstream. ] Neighbor Solicitation is ipv6 protocol, so we should check skb-protocol with

[PATCH 3.10 40/41] cpufreq: Fix governor start/stop race condition

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Xiaoguang Chen che...@marvell.com commit 95731ebb114c5f0c028459388560fc2a72fe5049 upstream. Cpufreq governors' stop and start operations should be carried out in sequence. Otherwise, there

[PATCH 3.13 38/65] net: micrel : ks8851-ml: add vdd-supply support

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Nishanth Menon n...@ti.com [ Upstream commit ebf4ad955d3e26d4d2a33709624fc7b5b9d3b969 ] Few platforms use external regulator to keep the ethernet MAC supplied. So, request and enable the

[PATCH 3.13 37/65] ip6mr: fix mfc notification flags

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com [ Upstream commit f518338b16038beeb73e155e60d0f70beb9379f4 ] Commit 812e44dd1829 (ip6mr: advertise new mfc entries via rtnl) reuses the function

[PATCH 3.13 35/65] rtnetlink: fix fdb notification flags

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com [ Upstream commit 1c104a6bebf3c16b6248408b84f91d09ac8a26b6 ] Commit 3ff661c38c84 (net: rtnetlink notify events for FDB NTF_SELF adds and deletes)

[PATCH 3.10 39/41] crypto: ghash-clmulni-intel - use C implementation for setkey()

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel ard.biesheu...@linaro.org commit 8ceee72808d1ae3fb191284afc2257a2be964725 upstream. The GHASH setkey() function uses SSE registers but fails to call

[PATCH 3.10 34/41] rds: prevent dereference of a NULL device in rds_iw_laddr_check

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin sasha.le...@oracle.com [ Upstream commit bf39b4247b8799935ea91d90db250ab608a58e50 ] Binding might result in a NULL device which is later dereferenced without checking.

[PATCH 3.13 32/65] vxlan: fix potential NULL dereference in arp_reduce()

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: David Stevens dlstev...@us.ibm.com [ Upstream commit 7346135dcd3f9b57f30a5512094848c678d7143e ] This patch fixes a NULL pointer dereference in the event of an skb allocation failure in

[PATCH 3.13 30/65] ipv6: ip6_append_data_mtu do not handle the mtu of the second fragment properly

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: lucien lucien@gmail.com [ Upstream commit e367c2d03dba4c9bcafad24688fadb79dd95b218 ] In ip6_append_data_mtu(), when the xfrm mode is not tunnel(such as transport),the ipsec header need to

[PATCH 3.13 27/65] bonding: set correct vlan id for alb xmit path

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: dingtianhong dingtianh...@huawei.com [ Upstream commit fb00bc2e6cd2046282ba4b03f4fe682aee70b2f8 ] The commit d3ab3ffd1d728d7ee77340e7e7e2c7cfe6a4013e (bonding: use rlb_client_info-vlan_id

[PATCH 3.13 28/65] eth: fec: Fix lost promiscuous mode after reconnecting cable

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren stefan.wah...@i2se.com [ Upstream commit 84fe61821e4ebab6322eeae3f3c27f77f0031978 ] If the Freescale fec is in promiscuous mode and network cable is reconnected then the

[PATCH 3.13 25/65] bridge: multicast: enable snooping on general queries only

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Linus=20L=C3=BCssing?= linus.luess...@web.de [ Upstream commit 20a599bec95a52fa72432b2376a2ce47c5bb68fb ] Without this check someone could easily create a denial of service by

[PATCH 3.13 26/65] net: socket: error on a negative msg_namelen

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Leach matthew.le...@arm.com [ Upstream commit dbb490b96584d4e958533fb637f08b557f505657 ] When copying in a struct msghdr from the user, if the user has set the msg_namelen parameter to

[PATCH 3.10 33/41] isdnloop: several buffer overflows

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com [ Upstream commit 7563487cbf865284dcd35e9ef5a95380da046737 ] There are three buffer overflows addressed in this patch. 1) In isdnloop_fake_err() we add

[PATCH 3.13 23/65] tcp: tcp_release_cb() should release socket ownership

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eric.duma...@gmail.com [ Upstream commit c3f9b01849ef3bc69024990092b9f42e20df7797 ] Lars Persson reported following deadlock : -000 |M:0x0:0x802B6AF8(asm) -- arch_spin_lock -001

[GIT PULL] Btrfs part two

2014-04-11 Thread Chris Mason
Hi Linus, Please grab my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus The most important changes here are from Josef, fixing a btrfs regression in 3.14 that can cause corruptions in the extent allocation tree when snapshots are in use. Josef

[PATCH 3.13 22/65] skbuff: skb_segment: orphan frags before copying

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin m...@redhat.com [ Upstream commit 1fd819ecb90cc9b822cd84d3056ddba315d3340f ] skb_segment copies frags around, so we need to copy them carefully to avoid accessing user

[PATCH 3.13 20/65] skbuff: skb_segment: s/skb/head_skb/

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin m...@redhat.com [ Upstream commit df5771ffefb13f8af5392bd54fd7e2b596a3a357 ] rename local variable to make it easier to tell at a glance that we are dealing with a head skb.

[PATCH 3.13 21/65] skbuff: skb_segment: s/fskb/list_skb/

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin m...@redhat.com [ Upstream commit 1a4cedaf65491e66e1e55b8428c89209da729209 ] fskb is unrelated to frag: it's coming from frag_list. Rename it list_skb to avoid confusion.

[PATCH 3.13 19/65] skbuff: skb_segment: s/skb_frag/frag/

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin m...@redhat.com [ Upstream commit 4e1beba12d094c6c761ba5c49032b9b9e46380e8 ] skb_frag can in fact point at either skb or fskb so rename it generally frag. Signed-off-by:

Re: [PATCH v2 03/14] dma: edma: Add support for DMA_PAUSE/RESUME operation

2014-04-11 Thread Vinod Koul
On Tue, Apr 01, 2014 at 04:06:04PM +0300, Peter Ujfalusi wrote: Pause/Resume can be used by the audio stack when the stream is paused/resumed The edma platform code has support for this and the legacy audio stack used this. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com ---

[PATCH 3.10 35/41] ARC: [nsimosci] Change .dts to use generic 8250 UART

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mischa Jonker mjon...@synopsys.com commit 6eda477b3c54b8236868c8784e5e042ff14244f0 upstream. The Synopsys APB DW UART has a couple of special features that are not in the System C model. In

[PATCH 3.13 14/65] bnx2: Fix shutdown sequence

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Michael Chan mc...@broadcom.com [ Upstream commit a8d9bc2e9f5d1c5a25e33cec096d2a1652d3fd52 ] The pci shutdown handler added in: bnx2: Add pci shutdown handler commit

[PATCH 3.13 18/65] skbuff: skb_segment: s/frag/nskb_frag/

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin m...@redhat.com [ Upstream commit 8cb19905e9287a93ce7c2cbbdf742a060b00e219 ] frag points at nskb, so name it appropriately Signed-off-by: Michael S. Tsirkin m...@redhat.com

[PATCH 3.13 16/65] Xen-netback: Fix issue caused by using gso_type wrongly

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Annie Li annie...@oracle.com [ Upstream commit 5bd076708664313f2bdbbc1cf71093313b7774a1 ] Current netback uses gso_type to check whether the skb contains gso offload, and this is wrong.

[PATCH 3.13 17/65] vlan: Set correct source MAC address with TX VLAN offload enabled

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Peter=20Bostr=C3=B6m?= peter.bost...@netrounds.com [ Upstream commit dd38743b4cc2f86be250eaf156cf113ba3dd531a ] With TX VLAN offload enabled the source MAC address for frames sent

Re: MCB fixes for 3.15-rc1

2014-04-11 Thread Johannes Thumshirn
On Fri, Apr 11, 2014 at 07:16:34AM -0700, Greg Kroah-Hartman wrote: On Fri, Apr 11, 2014 at 08:48:40AM +0200, Johannes Thumshirn wrote: Hi Greg, Please pull this change for drivers/mcb. Thanks Johannes -- The following changes since commit

[PATCH 3.13 24/65] bridge: multicast: add sanity check for general query destination

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Linus=20L=C3=BCssing?= linus.luess...@web.de [ Upstream commit 9ed973cc40c588abeaa58aea0683ea665132d11d ] General IGMP and MLD queries are supposed to have the multicast link-local

[PATCH 3.13 34/65] tcp: syncookies: do not use getnstimeofday()

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit 632623153196bf183a69686ed9c07eee98ff1bf8 ] While it is true that getnstimeofday() uses about 40 cycles if TSC is available, it can use 1600

[PATCH 3.13 36/65] ipmr: fix mfc notification flags

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com [ Upstream commit 65886f439ab0fdc2dff20d1fa87afb98c6717472 ] Commit 8cd3ac9f9b7b (ipmr: advertise new mfc entries via rtnl) reuses the function

[PATCH 3.13 15/65] pkt_sched: fq: do not hold qdisc lock while allocating memory

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit 2d8d40afd187bced0a3d056366fb58d66fe845e3 ] Resizing fq hash table allocates memory while holding qdisc spinlock, with BH disabled. This is

[PATCH 3.13 31/65] net: cdc_ncm: fix control message ordering

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= bj...@mork.no [ Upstream commit ff0992e9036e9810e7cd45234fa32ca1e79750e2 ] This is a context modified revert of commit 6a9612e2cb22 (net: cdc_ncm: remove ncm_parm

[PATCH 3.13 13/65] ipv6: dont set DST_NOCOUNT for remotely added routes

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca s...@queasysnail.net [ Upstream commit c88507fbad8055297c1d1e21e599f46960cbee39 ] DST_NOCOUNT should only be used if an authorized user adds routes locally. In case of routes

[PATCH 3.13 12/65] ipv6: Fix exthdrs offload registration.

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Anton Nayshtut an...@swortex.com [ Upstream commit d2d273ffabd315eecefce21a4391d44b6e156b73 ] Without this fix, ipv6_exthdrs_offload_init doesn't register IPPROTO_DSTOPTS offload, but returns

[PATCH 3.10 32/41] isdnloop: Validate NUL-terminated strings from user.

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: YOSHIFUJI Hideaki yoshf...@linux-ipv6.org [ Upstream commit 77bc6bed7121936bb2e019a8c336075f4c8eef62 ] Return -EINVAL unless all of user-given strings are correctly NUL-terminated.

[PATCH 3.13 11/65] net: unix: non blocking recvmsg() should not return -EINTR

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit de1443916791d75fdd26becb116898277bb0273f ] Some applications didn't expect recvmsg() on a non blocking socket could return -EINTR. This

[PATCH 3.13 10/65] inet: frag: make sure forced eviction removes all frags

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal f...@strlen.de [ Upstream commit e588e2f286ed7da011ed357c24c5b9a554e26595 ] Quoting Alexander Aring: While fragmentation and unloading of 6lowpan module I got this kernel

Re: [PATCH v2 08/14] DMA: edma: Use different eventq for cyclic channels

2014-04-11 Thread Vinod Koul
On Thu, Apr 10, 2014 at 11:36:30AM -0500, Joel Fernandes wrote: On 04/01/2014 08:06 AM, Peter Ujfalusi wrote: To improve latency with cyclic DMA operation it is preferred to use different eventq/tc than the default which is used by all other drivers (mmc, spi, i2c, etc). When preparing

[PATCH 3.13 07/65] tipc: drop subscriber connection id invalidation

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Erik Hugne erik.hu...@ericsson.com [ Upstream commit edcc0511b5ee7235282a688cd604e3ae7f9e1fc9 ] When a topology server subscriber is disconnected, the associated connection id is set to zero.

[PATCH 3.13 09/65] tipc: dont log disabled tasklet handler errors

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Erik Hugne erik.hu...@ericsson.com [ Upstream commit 2892505ea170094f982516bb38105eac45f274b1 ] Failure to schedule a TIPC tasklet with tipc_k_signal because the tasklet handler is disabled is

[PATCH 3.13 08/65] tipc: fix memory leak during module removal

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Erik Hugne erik.hu...@ericsson.com [ Upstream commit 1bb8dce57f4d15233688c68990852a10eb1cd79f ] When the TIPC module is removed, the tasklet handler is disabled before all other subsystems.

[PATCH 3.13 06/65] tipc: fix connection refcount leak

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Ying Xue ying@windriver.com [ Upstream commit 4652edb70e8a7eebbe47fa931940f65522c36e8f ] When tipc_conn_sendmsg() calls tipc_conn_lookup() to query a connection instance, its reference

[PATCH 3.13 05/65] tipc: allow connection shutdown callback to be invoked in advance

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Ying Xue ying@windriver.com [ Upstream commit 6d4ebeb4df0176b1973875840a9f7e91394c0685 ] Currently connection shutdown callback function is called when connection instance is released in

[PATCH 3.13 00/65] 3.13.10-stable review

2014-04-11 Thread Greg Kroah-Hartman
NOTE This is probably going to be the last 3.13.y kernel release. There _might_ be one more after this, but given my travel schedule for the next few weeks, don't count on it. Please move to the 3.14 kernel tree as soon as possible. This is

Re: [tip:x86/urgent] x86, CMCI: Add proper detection of end of CMCI storms

2014-04-11 Thread H. Peter Anvin
On 04/02/2014 12:55 AM, tip-bot for Chen, Gong wrote: @@ -614,6 +618,8 @@ void machine_check_poll(enum mcp_flags flags, mce_banks_t *b) if (!(m.status MCI_STATUS_VAL)) continue; + v = get_cpu_var(mce_polled_error); + set_bit(0,

Re: [PATCH v2 00/14] dma: edma: Fixes for cyclic (audio) operation

2014-04-11 Thread Vinod Koul
On Tue, Apr 01, 2014 at 04:06:01PM +0300, Peter Ujfalusi wrote: Hi, This is basically a resend of the previous series: https://lkml.org/lkml/2014/3/13/119 with removed ASoC patches (most of them are applied already). Changes since v1: - ASoC patches removed - Comments from Andriy

[PATCH 3.13 03/65] net: sctp: fix skb leakage in COOKIE ECHO path of chunk-auth_chunk

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann dbork...@redhat.com [ Upstream commit c485658bae87faccd7aed540fd2ca3ab37992310 ] While working on ec0223ec48a9 (net: sctp: fix sctp_sf_do_5_1D_ce to verify if we/peer is AUTH

[PATCH 3.13 01/65] selinux: correctly label /proc inodes in use before the policy is loaded

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore pmo...@redhat.com commit f64410ec665479d7b4b77b7519e814253ed0f686 upstream. This patch is based on an earlier patch by Eric Paris, he describes the problem below: If an inode is

[PATCH 3.13 02/65] net: fix for a race condition in the inet frag code

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov niko...@redhat.com [ Upstream commit 24b9bf43e93e0edd89072da51cf1fab95fc69dec ] I stumbled upon this very serious bug while hunting for another one, it's a very subtle race

[PATCH 3.13 04/65] bridge: multicast: add sanity check for query source addresses

2014-04-11 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Linus=20L=C3=BCssing?= linus.luess...@web.de [ Upstream commit 6565b9eeef194afbb3beec80d6dd2447f4091f8c ] MLD queries are supposed to have an IPv6 link-local source address according

[PATCH 3.10 28/41] vhost: validate vhost_get_vq_desc return value

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin m...@redhat.com [ Upstream commit a39ee449f96a2cd44ce056d8a0a112211a9b1a1f ] vhost fails to validate negative error code from vhost_get_vq_desc causing a crash: we are using

[PATCH 3.10 30/41] ipv6: some ipv6 statistic counters failed to disable bh

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa han...@stressinduktion.org [ Upstream commit 43a43b6040165f7b40b5b489fe61a4cb7f8c4980 ] After commit c15b1ccadb323ea (ipv6: move DAD and addrconf_verify processing to

[PATCH 3.10 29/41] xen-netback: remove pointless clause from if statement

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Paul Durrant paul.durr...@citrix.com [ Upstream commit 0576eddf24df716d8570ef8ca11452a9f98eaab2 ] This patch removes a test in start_new_rx_buffer() that checks whether a copy operation is

Re: [PATCH] tuntap: add flow control to support back pressure

2014-04-11 Thread Brian Adamson
To weigh in on the desire to have support (at least as an optional behavior) for the legacy flow control behavior, there are many existing uses of it. Many these are related to experimental purposes where the tuntap driver can be used (with a little user space code) as a surrogate for a

[PATCH 3.10 22/41] ip6mr: fix mfc notification flags

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com [ Upstream commit f518338b16038beeb73e155e60d0f70beb9379f4 ] Commit 812e44dd1829 (ip6mr: advertise new mfc entries via rtnl) reuses the function

[PATCH 3.10 27/41] vhost: fix total length when packets are too short

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin m...@redhat.com [ Upstream commit d8316f3991d207fe32881a9ac20241be8fa2bad0 ] When mergeable buffers are disabled, and the incoming packet is too large for the rx buffer,

[PATCH 3.10 26/41] vlan: Set hard_header_len according to available acceleration

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich vyase...@redhat.com [ Upstream commit fc0d48b8fb449ca007b2057328abf736cb516168 ] Currently, if the card supports CTAG acceleration we do not account for the vlan header even if

[PATCH 3.10 25/41] usbnet: include wait queue head in device structure

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum oneu...@suse.de [ Upstream commit 14a0d635d18d0fb552dcc979d6d25106e6541f2e ] This fixes a race which happens by freeing an object on the stack. Quoting Julius: The issue is

[PATCH 3.10 12/41] ipv6: Fix exthdrs offload registration.

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Anton Nayshtut an...@swortex.com [ Upstream commit d2d273ffabd315eecefce21a4391d44b6e156b73 ] Without this fix, ipv6_exthdrs_offload_init doesn't register IPPROTO_DSTOPTS offload, but returns

[PATCH 3.10 20/41] rtnetlink: fix fdb notification flags

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com [ Upstream commit 1c104a6bebf3c16b6248408b84f91d09ac8a26b6 ] Commit 3ff661c38c84 (net: rtnetlink notify events for FDB NTF_SELF adds and deletes)

[PATCH 3.10 21/41] ipmr: fix mfc notification flags

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com [ Upstream commit 65886f439ab0fdc2dff20d1fa87afb98c6717472 ] Commit 8cd3ac9f9b7b (ipmr: advertise new mfc entries via rtnl) reuses the function

[PATCH 3.10 23/41] netpoll: fix the skb check in pkt_is_ns

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Li RongQing roy.qing...@gmail.com [ Not applicable upstream commit, the code here has been removed upstream. ] Neighbor Solicitation is ipv6 protocol, so we should check skb-protocol with

[PATCH 3.10 19/41] vxlan: fix potential NULL dereference in arp_reduce()

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: David Stevens dlstev...@us.ibm.com [ Upstream commit 7346135dcd3f9b57f30a5512094848c678d7143e ] This patch fixes a NULL pointer dereference in the event of an skb allocation failure in

[PATCH 3.10 24/41] tg3: Do not include vlan acceleration features in vlan_features

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich vyase...@redhat.com [ Upstream commit 51dfe7b944998eaeb2b34d314f3a6b16a5fd621b ] Including hardware acceleration features in vlan_features breaks stacked vlans (Q-in-Q) by

[PATCH 3.10 18/41] ipv6: ip6_append_data_mtu do not handle the mtu of the second fragment properly

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: lucien lucien@gmail.com [ Upstream commit e367c2d03dba4c9bcafad24688fadb79dd95b218 ] In ip6_append_data_mtu(), when the xfrm mode is not tunnel(such as transport),the ipsec header need to

[PATCH 3.10 17/41] ipv6: Avoid unnecessary temporary addresses being generated

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit heiner.kallw...@web.de [ Upstream commit ecab67015ef6e3f3635551dcc9971cf363cc1cd5 ] tmp_prefered_lft is an offset to ifp-tstamp, not now. Therefore age needs to be added to the

[PATCH 3.10 11/41] net: unix: non blocking recvmsg() should not return -EINTR

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit de1443916791d75fdd26becb116898277bb0273f ] Some applications didn't expect recvmsg() on a non blocking socket could return -EINTR. This

[PATCH 3.10 16/41] net: socket: error on a negative msg_namelen

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Leach matthew.le...@arm.com [ Upstream commit dbb490b96584d4e958533fb637f08b557f505657 ] When copying in a struct msghdr from the user, if the user has set the msg_namelen parameter to

[PATCH 3.10 03/41] powernow-k6: correctly initialize default parameters

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka mpato...@redhat.com commit d82b922a4acc1781d368aceac2f9da43b038cab2 upstream. The powernow-k6 driver used to read the initial multiplier from the powernow register. However,

[PATCH 3.10 05/41] kbuild: fix make headers_install when path is too long

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel nicolas.dich...@6wind.com commit c0ff68f1611d6855a06d672989ad5cfea160a4eb upstream. If headers_install is executed from a deep/long directory structure, the shell's maximum

[PATCH 3.10 02/41] powernow-k6: disable cache when changing frequency

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka mpato...@redhat.com commit e20e1d0ac02308e2211306fc67abcd0b2668fb8b upstream. I found out that a system with k6-3+ processor is unstable during network server load. The system

[PATCH 3.10 04/41] powernow-k6: reorder frequencies

2014-04-11 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka mpato...@redhat.com commit 22c73795b101597051924556dce019385a1e2fa0 upstream. This patch reorders reported frequencies from the highest to the lowest, just like in other

Re: [PATCH] perf machine: Search for modules in %s/lib/modules/%s

2014-04-11 Thread David Ahern
On 4/10/14, 9:52 AM, Richard Yao wrote: Modules installed outside of the kernel's build system should go into %s/lib/modules/%s/extra, but at present, perf will only look at them when they are in %s/lib/modules/%s/kernel. Lets encourage good citizenship by relaxing this requirement to

[PATCH 3/3] sched,numa: do not set preferred_node on migration to a second choice node

2014-04-11 Thread riel
From: Rik van Riel r...@redhat.com Setting the numa_preferred_node for a task in task_numa_migrate does nothing on a 2-node system. Either we migrate to the node that already was our preferred node, or we stay where we were. On a 4-node system, it can slightly decrease overhead, by not calling

[PATCH 0/3] sched,numa: reduce page migrations with pseudo-interleaving

2014-04-11 Thread riel
The pseudo-interleaving code deals fairly well with the placement of tasks that are part of workloads that span multiple NUMA nodes, but the code has a number of corner cases left that can result in higher than desired overhead. This patch series reduces the overhead slightly, mostly visible

Re: [PATCH -mm] slab: document kmalloc_order

2014-04-11 Thread Vladimir Davydov
On 04/11/2014 07:57 PM, Christoph Lameter wrote: On Fri, 11 Apr 2014, Vladimir Davydov wrote: diff --git a/mm/slab_common.c b/mm/slab_common.c index cab4c49b3e8c..3ffd2e76b5d2 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -573,6 +573,11 @@ void __init

[PATCH 2/3] sched,numa: retry placement more frequently when misplaced

2014-04-11 Thread riel
From: Rik van Riel r...@redhat.com When tasks have not converged on their preferred nodes yet, we want to retry fairly often, to make sure we do not migrate a task's memory to an undesirable location, only to have to move it again later. This patch reduces the interval at which migration is

[PATCH 1/3] sched,numa: count pages on active node as local

2014-04-11 Thread riel
From: Rik van Riel r...@redhat.com The NUMA code is smart enough to distribute the memory of workloads that span multiple NUMA nodes across those NUMA nodes. However, it still has a pretty high scan rate for such workloads, because any memory that is left on a node other than the node of the CPU

Re: [PATCH v3 2/2] dt: platform driver: Fill the resources before probe and defer if needed

2014-04-11 Thread Rob Herring
On Fri, Mar 21, 2014 at 9:46 AM, Jean-Jacques Hiblot jjhib...@traphandler.com wrote: The goal of this patch is to allow drivers to be probed even if at the time of the DT parsing some of their IRQ ressources are not available yet. In the current situation, the IRQ resources of a platform

Re: [RFC 5/5] perf: Enable multiple hist_entry_group output

2014-04-11 Thread Jiri Olsa
On Thu, Apr 10, 2014 at 04:11:01PM -0400, Don Zickus wrote: Enable multiple hist_entry_group groups in the output based on a sort method. Currently only 'perf report' is hooked in with '--group-sort='. The choices are cpu, pid, and cacheline. Only --stdio works right now. I haven't

Re: [PATCH 1/3] sched,numa: count pages on active node as local

2014-04-11 Thread Joe Perches
On Fri, 2014-04-11 at 13:00 -0400, r...@redhat.com wrote: This should reduce the overhead of the automatic NUMA placement code, when a workload spans multiple NUMA nodes. trivial style note: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c [] @@ -1737,6 +1737,7 @@ void

Re: [PATCH -mm v2.2] mm: get rid of __GFP_KMEMCG

2014-04-11 Thread Vladimir Davydov
On 04/11/2014 08:07 PM, Christoph Lameter wrote: On Thu, 3 Apr 2014, Vladimir Davydov wrote: --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -358,16 +358,7 @@ kmem_cache_alloc_node_trace(struct kmem_cache *s, #include linux/slub_def.h #endif -static __always_inline void *

[PATCH] netfilter: conntrack: initialize net.ct.generation

2014-04-11 Thread Andrey Vagin
[ 251.920788] INFO: trying to register non-static key. [ 251.921386] the code is fine but needs lockdep annotation. [ 251.921386] turning off the locking correctness validator. [ 251.921386] CPU: 2 PID: 15715 Comm: socket_listen Not tainted 3.14.0+ #294 [ 251.921386] Hardware name: Bochs

Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP

2014-04-11 Thread Jet Chen
On 04/12/2014 12:33 AM, H. Peter Anvin wrote: On 04/11/2014 06:51 AM, Romer, Benjamin M wrote: I'm still confused where KVM comes into the picture. Are you actually using KVM (and thus talking about nested virtualization) or are you using Qemu in JIT mode and running another hypervisor

[tip:x86/urgent] x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels

2014-04-11 Thread tip-bot for H. Peter Anvin
Commit-ID: b3b42ac2cbae1f3cecbb6229964a4d48af31d382 Gitweb: http://git.kernel.org/tip/b3b42ac2cbae1f3cecbb6229964a4d48af31d382 Author: H. Peter Anvin h...@linux.intel.com AuthorDate: Sun, 16 Mar 2014 15:31:54 -0700 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Fri, 11 Apr

Re: [PATCH 03/15] arm: add renameat2 syscall

2014-04-11 Thread David Miller
From: Miklos Szeredi mik...@szeredi.hu Date: Fri, 11 Apr 2014 13:48:05 +0200 It would probably have been a good idea to CC all maintainers on the cover letter, but I don't know how I could do that with git send-email. I strongly suggest that this _not_ be done. There is a 1024 character

Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP

2014-04-11 Thread H. Peter Anvin
On 04/11/2014 10:35 AM, Jet Chen wrote: As Peter said, QEMU probably should *not* set the hypervisor bit. But based on my testing, I think KVM works properly in this case. Either way, unless there is a CPUID interface exposed in CPUID levels 0x4000+, then relying on the hypervisor bit

[GIT PULL] x86/hyperv fix for v3.15-rc1

2014-04-11 Thread H. Peter Anvin
Hi Linus, A single fix for HyperV -- we never NEED the legacy PIC on HyperV, and in kexec/kdump scenarios we don't always know that we originally booted EFI. The right answer is probably to augment the legacy PIC initialization code to detect a not-present PIC, but that is way too high risk for

Re: [PATCH 1/3] sched,numa: count pages on active node as local

2014-04-11 Thread Rik van Riel
On 04/11/2014 01:34 PM, Joe Perches wrote: On Fri, 2014-04-11 at 13:00 -0400, r...@redhat.com wrote: This should reduce the overhead of the automatic NUMA placement code, when a workload spans multiple NUMA nodes. trivial style note: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c

From Sr. Ramiro De Emerico

2014-04-11 Thread Sr. Ramiro De Emerico
My Name is Sr. Ramiro De Emerico I am from Portugal I have been diagnosed with cancer. It has defiled all forms of medical treatment, and right now I have only about a few months to live, according to medical experts. I have not particularly lived my life so well, as I never really cared for

Re: [PATCH 2/3] sched,numa: retry placement more frequently when misplaced

2014-04-11 Thread Joe Perches
On Fri, 2014-04-11 at 13:00 -0400, r...@redhat.com wrote: This patch reduces the interval at which migration is retried, when the task's numa_scan_period is small. More style trivia and a question. diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c [] @@ -1326,12 +1326,15 @@ static int

Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP

2014-04-11 Thread Romer, Benjamin M
On Fri, 2014-04-11 at 10:40 -0700, H. Peter Anvin wrote: On 04/11/2014 10:35 AM, Jet Chen wrote: As Peter said, QEMU probably should *not* set the hypervisor bit. But based on my testing, I think KVM works properly in this case. Either way, unless there is a CPUID interface exposed

Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP

2014-04-11 Thread Romer, Benjamin M
On Sat, 2014-04-12 at 01:35 +0800, Jet Chen wrote: Hi Ben, I re-tested this case with/without option -enable-kvm. qemu-system-x86_64 -cpu Haswell,+smep,+smap invalid op qemu-system-x86_64 -cpu kvm64 invalid op qemu-system-x86_64 -cpu

[PATCH] efi: Clarify Kconfig help for EFI_MIXED

2014-04-11 Thread Thomas Bächler
EFI stub support is only missing for a 64 bit kernel on 32-bit firmware, on 64-bit kernels, EFI stub works as usual. --- Matt, I don't know if this help was intentionally discouraging, however, out of curiosity, I tested this with ovmf, and the kernel boots fine on 64-bit firmware bit with EFI

Re: [PATCH] efi: Clarify Kconfig help for EFI_MIXED

2014-04-11 Thread H. Peter Anvin
On 04/11/2014 10:59 AM, Thomas Bächler wrote: EFI stub support is only missing for a 64 bit kernel on 32-bit firmware, on 64-bit kernels, EFI stub works as usual. --- Matt, I don't know if this help was intentionally discouraging, however, out of curiosity, I tested this with ovmf, and the

Re: [PATCH 1/3] sched,numa: count pages on active node as local

2014-04-11 Thread Joe Perches
On Fri, 2014-04-11 at 13:41 -0400, Rik van Riel wrote: On 04/11/2014 01:34 PM, Joe Perches wrote: On Fri, 2014-04-11 at 13:00 -0400, r...@redhat.com wrote: This should reduce the overhead of the automatic NUMA placement code, when a workload spans multiple NUMA nodes. [] Perhaps local

<    1   2   3   4   5   6   7   8   9   10   >