[PATCH] staging: r8712u: Fix kernel warning for improper call of del_timer_sync()

2015-05-23 Thread Larry Finger
The driver is reporting a warning at kernel/time/timer.c:1096 due to calling del_timer_sync() while in interrupt mode. Such warnings are fixed by calling del_timer() instead. Signed-off-by: Larry Finger larry.fin...@lwfinger.net Cc: Stable sta...@vger.kernel.org Cc: Haggi Eran

Re: [PATCH net] ipv4: Avoid crashing in ip_error

2015-05-23 Thread Eric Dumazet
On Sat, 2015-05-23 at 21:48 +0300, Julian Anastasov wrote: Hello, On Sat, 23 May 2015, Eric W. Biederman wrote: Perhaps it is possible to transmit into a veth pair even when the carrier is down? Which could be a bug in the veth driver. Not sure if that can help but both

Hi

2015-05-23 Thread ymy
hi this is a good chance for you ipad,iphone,moto,camera,latop the shipping is free samsung s6, 320euro w e b: oasweoa. com

RE: [PATCH v4] bnx2x: Alloc 4k fragment for each rx ring buffer element

2015-05-23 Thread Yuval Mintz
Subject: Re: [PATCH v4] bnx2x: Alloc 4k fragment for each rx ring buffer element Yuval Mintz yuval.mi...@qlogic.com writes: Regardless, I'll give it a more thorough review tomorrow. [If those are all the problems we'll find with it, I don't think we'll need to re-spin this once more;

Re: [PATCH net] ipv4: Avoid crashing in ip_error

2015-05-23 Thread Julian Anastasov
Hello, On Fri, 22 May 2015, Eric W. Biederman wrote: ip_error does not check if in_dev is NULL before dereferencing it. IThe following sequence of calls is possible: CPU A CPU B ip_rcv_finish ip_route_input_noref() ip_route_input_slow()

Re: [PATCH net,stable-4.0] cdc_ncm: Fix tx_bytes statistics

2015-05-23 Thread Florian Bruhin
* David Miller da...@davemloft.net [2015-05-22 14:34:21 -0400]: From: Bjørn Mork bj...@mork.no Date: Fri, 22 May 2015 13:15:22 +0200 The tx_curr_frame_payload field is u32. When we try to calculate a small negative delta based on it, we end up with a positive integer close to 2^32

[PATCH] irda: irda-usb: use msecs_to_jiffies for conversions

2015-05-23 Thread Nicholas Mc Guire
API compliance scanning with coccinelle flagged: Converting milliseconds to jiffies by val * HZ / 1000 is technically is not a clean solution as it does not handle all corner cases correctly. By changing the conversion to use msecs_to_jiffies(val) conversion is correct in all cases. in the

Re: [PATCH v4] bnx2x: Alloc 4k fragment for each rx ring buffer element

2015-05-23 Thread Lino Sanfilippo
On 21.05.2015 15:20, Gabriel Krisman Bertazi wrote: Yuval Mintz yuval.mi...@qlogic.com writes: Regardless, I'll give it a more thorough review tomorrow. [If those are all the problems we'll find with it, I don't think we'll need to re-spin this once more; that is, unless Dave insists] As

[PATCH] net: use msecs_to_jiffies for conversion to jiffies

2015-05-23 Thread Nicholas Mc Guire
API compliance scanning with coccinelle flagged: ./net/irda/timer.c:63:35-37: use of msecs_to_jiffies probably perferable Converting milliseconds to jiffies by val * HZ / 1000 technically is not a clean solution as it does not handle all corner cases correctly. By changing the conversion to use

Re: [PATCH net] ipv4: Avoid crashing in ip_error

2015-05-23 Thread Eric W. Biederman
Julian Anastasov j...@ssi.bg writes: Hello, On Fri, 22 May 2015, Eric W. Biederman wrote: ip_error does not check if in_dev is NULL before dereferencing it. IThe following sequence of calls is possible: CPU A CPU B ip_rcv_finish ip_route_input_noref()

[trivial PATCH] neterion: s2io: Fix kernel doc formatting

2015-05-23 Thread Joe Perches
These two uses seem to have had carriage returns removed. Make these entries like all the others in this file. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/ethernet/neterion/s2io.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [PATCH net] ipv4: Avoid crashing in ip_error

2015-05-23 Thread Vittorio G (VittGam)
Il 23.05.2015 16:40 ebied...@xmission.com ha scritto: The reproducer was apparently: ip netns add ns0 ip netns add ns1 ip link add test0 type veth peer name test1 ip link set test0 netns ns0 ip link set test1 netns ns1 ip netns exec ns0 sysctl net.ipv4.ip_forward=1 ip netns exec ns1 sysctl

[stable] e1000e fixes

2015-05-23 Thread Ben Hutchings
I was looking through recent changes in e1000e, and thought these might be suitable for inclusion in stable updates: commit 493004d04f56fd7d642bdbb2938e17e5f7d622d1 Author: David Ertman david.m.ert...@intel.com Date: Fri Jul 4 01:44:32 2014 + e1000e: Fix CRC errors with jumbo traffic

Re: [v2 PATCH 13/13] crypto: algif_aead - Switch to new AEAD interface

2015-05-23 Thread Stephan Mueller
Am Freitag, 22. Mai 2015, 16:31:04 schrieb Herbert Xu: Hi Herbert, This patch makes use of the new AEAD interface which uses a single SG list instead of separate lists for the AD and plain text. After applying your additional patch, the normal AEAD operation works. But with long messages (16

Re: [v2 PATCH 13/13] crypto: algif_aead - Switch to new AEAD interface

2015-05-23 Thread Stephan Mueller
Am Samstag, 23. Mai 2015, 05:58:18 schrieb Herbert Xu: Hi Herbert, On Fri, May 22, 2015 at 11:04:39PM +0200, Stephan Mueller wrote: Note, gcm(aes) looks good. Only rfc4106(gcm(aes)) causes the crash. Actually it looks like the culprit hasn't been merged yet so I'll just respin the series.

Re: [PATCH net] ipv4: Avoid crashing in ip_error

2015-05-23 Thread Julian Anastasov
Hello, On Sat, 23 May 2015, Eric W. Biederman wrote: Perhaps it is possible to transmit into a veth pair even when the carrier is down? Which could be a bug in the veth driver. Not sure if that can help but both RCU_INIT_POINTER calls in veth_dellink can be before the

Re: [v2 PATCH 13/13] crypto: algif_aead - Switch to new AEAD interface

2015-05-23 Thread Herbert Xu
On Sat, May 23, 2015 at 08:04:19PM +0200, Stephan Mueller wrote: Am Freitag, 22. Mai 2015, 16:31:04 schrieb Herbert Xu: Hi Herbert, This patch makes use of the new AEAD interface which uses a single SG list instead of separate lists for the AD and plain text. After applying your

Re: Socket receives packet to multicast group to which it was not joined since kernel 3.13.10-1

2015-05-23 Thread Oliver Graff
Shawn Bohrer shawn.bohrer at gmail.com writes: On Tue, May 13, 2014 at 04:36:41PM -0500, Shawn Bohrer wrote: If I did break something here it appears to be because with ip_early_demux we only call ip_check_mc_rcu() once on the initial packet, and subsequent packets destined for that