Re: [PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Richard Weinberger
Am Sonntag, 24. November 2013, 17:25:06 schrieb Eric Dumazet: > On Mon, 2013-11-25 at 00:42 +0100, Richard Weinberger wrote: > > Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) > > added an internal flag MSG_SENDPAGE_NOTLAST. > > We have to ensure that MSG_MORE is also set if we

[PATCH v3.12-stable] xfrm: Fix null pointer dereference when decoding sessions

2013-11-24 Thread Steffen Klassert
[ Upstream commit 84502b5ef9849a9694673b15c31bd3ac693010ae ] On some codepaths the skb does not have a dst entry when xfrm_decode_session() is called. So check for a valid skb_dst() before dereferencing the device interface index. We use 0 as the device index if there is no valid skb_dst(), or at

[PATCH] update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Shawn Landden
Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST, similar to MSG_MORE. algif_hash, algif_skcipher, and udp used MSG_MORE from tcp_sendpages() and need to see the new flag as identical to MSG_MORE. This fixes sendfile() on AF_ALG. v3:

Re: [PATCH] update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Hannes Frederic Sowa
On Sun, Nov 24, 2013 at 06:08:59PM -0800, Shawn Landden wrote: > Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) > added an internal flag MSG_SENDPAGE_NOTLAST, similar to > MSG_MORE. > > algif_hash and algif_skcipher used MSG_MORE from tcp_sendpages() > and need to see the new

RE: [PATCH 0/4] ACPICA: Stable material of ACPI executer fixes for linux-3.8.

2013-11-24 Thread Zheng, Lv
> From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Sunday, November 24, 2013 11:22 AM > > On Fri, Nov 01, 2013 at 02:58:16AM +, Zheng, Lv wrote: > > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > > Sent: Thursday, October 31, 2013 8:22 PM > > > > > > On Thursday,

[PATCH] update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Shawn Landden
Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST, similar to MSG_MORE. algif_hash and algif_skcipher used MSG_MORE from tcp_sendpages() and need to see the new flag as identical to MSG_MORE. This fixes sendfile() on AF_ALG. Cc: Tom H

[PATCH] Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST, similar to MSG_MORE.

2013-11-24 Thread Shawn Landden
algif_hash and algif_skcipher used MSG_MORE from tcp_sendpages() and need to see the new flag as identical to MSG_MORE. This fixes sendfile() on AF_ALG. Cc: Tom Herbert Cc: Eric Dumazet Cc: David S. Miller Cc: # 3.4.x + 3.2.x Reported-and-tested-by: Shawn Landden Original-patch: Richard Wein

Re: [PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Shawn Landden
On Sun, Nov 24, 2013 at 5:25 PM, Eric Dumazet wrote: > On Mon, 2013-11-25 at 00:42 +0100, Richard Weinberger wrote: >> Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) >> added an internal flag MSG_SENDPAGE_NOTLAST. >> We have to ensure that MSG_MORE is also set if we set MSG_SE

Re: [PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Eric Dumazet
On Mon, 2013-11-25 at 00:42 +0100, Richard Weinberger wrote: > Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) > added an internal flag MSG_SENDPAGE_NOTLAST. > We have to ensure that MSG_MORE is also set if we set MSG_SENDPAGE_NOTLAST. > Otherwise users that check against MSG_MO

Re: [PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Shawn Landden
On Sun, Nov 24, 2013 at 3:42 PM, Richard Weinberger wrote: > Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) > added an internal flag MSG_SENDPAGE_NOTLAST. > We have to ensure that MSG_MORE is also set if we set MSG_SENDPAGE_NOTLAST. > Otherwise users that check against MSG_MOR

[PATCH] pipe_to_sendpage: Ensure that MSG_MORE is set if we set MSG_SENDPAGE_NOTLAST

2013-11-24 Thread Richard Weinberger
Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST. We have to ensure that MSG_MORE is also set if we set MSG_SENDPAGE_NOTLAST. Otherwise users that check against MSG_MORE will not see it. This fixes sendfile() on AF_ALG. Cc: Tom Herber

Коль нужен устойчивый успех

2013-11-24 Thread dava888avad
американский за месяц http://goo.gl/kwRgXa -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

request to queue "5d0f801 can: c_can: Fix RX message handling, handle lost message before EOB" for stable

2013-11-24 Thread Marc Kleine-Budde
Hello Greg, can you please queue 5d0f801 can: c_can: Fix RX message handling, handle lost message before EOB for the stable trees. This patch was part of a two-patches pull request to David's net/master tree, which was merged in: e9b51a1 Merge branch 'fixes-for-3.12' of git://gitoriou

nouveau-related stable commit nominations

2013-11-24 Thread Ilia Mirkin
Hello, I'd like to nominate 13d2b35a065399fb447c84e80368927e5f8bf086 (drm/nvc0-/gr: fix a number of missing explicit array terminators...) for 3.11+ This fixes various issues many users observed on NVC1 cards. 9a7046d55f319b2dde5d2536cc2adb01ebdbe09e (drm/nv50-/disp: remove dcb_outp_match call,

[PATCH] alx: Reset phy speed after resume

2013-11-24 Thread hahnjo
>From b54629e226d196e802abdd30c5e34f2a47cddcf2 Mon Sep 17 00:00:00 2001 From: hahnjo Date: Tue, 12 Nov 2013 18:19:24 +0100 Subject: [PATCH] alx: Reset phy speed after resume commit b54629e226d196e802abdd30c5e34f2a47cddcf2 upstream. This fixes bug 62491 (https://bugzilla.kernel.org/show_bug.cgi?i

Re: [PATCH] ASoC: dapm: Use SND_SOC_DAPM_INIT_REG_VAL in SND_SOC_DAPM_MUX

2013-11-24 Thread Mark Brown
On Fri, Nov 22, 2013 at 10:29:18AM -0700, Stephen Warren wrote: > From: Stephen Warren > > SND_SOC_DAPM_MUX() doesn't currently initialize the .mask field. This > results in the mux never affecting HW, since no bits are ever set or > cleared. Fix SND_SOC_DAPM_MUX() to use SND_SOC_DAPM_INIT_REG_VA

Re: [PATCH 2/4] x86: Fix the hw_breakpoint range check

2013-11-24 Thread Borislav Petkov
On Sun, Nov 24, 2013 at 11:32:49AM +0100, Frederic Weisbecker wrote: > From: Oleg Nesterov > > arch_check_bp_in_kernelspace() tries to avoid the overflow and does 2 > TASK_SIZE checks but it needs OR, not AND. Consider va = TASK_SIZE -1 > and len = 2 case. > > Note: TASK_SIZE doesn't look right

[PATCH] gspca_sunplus: Add new usb-id for 06d6:0041

2013-11-24 Thread Hans de Goede
Reported-by: mjs Tested-by: mjs Cc: Geert Stappers Cc: stable@vger.kernel.org Signed-off-by: Hans de Goede --- drivers/media/usb/gspca/sunplus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/gspca/sunplus.c b/drivers/media/usb/gspca/sunplus.c index a517d18..46c9f22 100

[PATCH 3/4] arm64: Fix the hw_breakpoint range check

2013-11-24 Thread Frederic Weisbecker
From: Oleg Nesterov arch_check_bp_in_kernelspace() tries to avoid the overflow and does 2 TASK_SIZE checks but it needs OR, not AND. Consider va = TASK_SIZE -1 and len = 2 case. Signed-off-by: Oleg Nesterov Fixes: 478fcb2cdb2351dcfc3fb23f42d76f4436ee4149 Cc: Signed-off-by: Frederic Weisbecker

[PATCH 2/4] x86: Fix the hw_breakpoint range check

2013-11-24 Thread Frederic Weisbecker
From: Oleg Nesterov arch_check_bp_in_kernelspace() tries to avoid the overflow and does 2 TASK_SIZE checks but it needs OR, not AND. Consider va = TASK_SIZE -1 and len = 2 case. Note: TASK_SIZE doesn't look right at least on x86, I think it should be replaced by TASK_SIZE_MAX. Signed-off-by: Ol

[PATCH 4/4] sh: Fix hw_breakpoint the range check

2013-11-24 Thread Frederic Weisbecker
From: Oleg Nesterov arch_check_bp_in_kernelspace() tries to avoid the overflow and does 2 TASK_SIZE checks but it needs OR, not AND. Consider va = TASK_SIZE -1 and len = 2 case. Signed-off-by: Oleg Nesterov Fixes: 09a072947791088b88ae15111cf68fc5aaaf758d Cc: Signed-off-by: Frederic Weisbecker

[PATCH 1/4] arm: Fix the hw_breakpoint range check

2013-11-24 Thread Frederic Weisbecker
From: Oleg Nesterov arch_check_bp_in_kernelspace() tries to avoid the overflow and does 2 TASK_SIZE checks but it needs OR, not AND. Consider va = TASK_SIZE -1 and len = 2 case. Signed-off-by: Oleg Nesterov Fixes: f81ef4a920c8e1af75adf9f15042c2daa49d3cb3 Cc: Signed-off-by: Frederic Weisbecker

[PATCH 0/4] hw_breakpoints: Fix a bunch of adress range fixes

2013-11-24 Thread Frederic Weisbecker
It was initially a single patch that Oleg sent me a few weeks ago. Thinking about it I think it may need a stable backport even though it doesn't look very dangerous, but just in case. So I've splitted the patch in 4 different parts because it may need backporting on different tree version for ea

Re: [PATCH] ipc,shm: Correct error return value in shmctl (SHM_UNLOCK)

2013-11-24 Thread Jesper Nilsson
On Sun, Nov 24, 2013 at 08:07:44AM +0100, Mike Galbraith wrote: > This patch (commit: 3a72660b07) is only slated for stable 3.12, but > should go to 3.10/11 as well, no? Yes, you're right, both 3.10 and 3.11 seem to have the restructuring patch included (3.10.17 and 3.11.6 respectively), and so sh