[3.13.y-ckt stable] Patch "lib/checksum.c: fix carry in csum_tcpudp_nofold" has been added to staging queue

2015-03-19 Thread Kamal Mostafa
This is a note to let you know that I have just added a patch titled lib/checksum.c: fix carry in csum_tcpudp_nofold to the linux-3.13.y-queue branch of the 3.13.y-ckt extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux

[3.16.y-ckt stable] Patch "lib/checksum.c: fix carry in csum_tcpudp_nofold" has been added to staging queue

2015-02-10 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled lib/checksum.c: fix carry in csum_tcpudp_nofold to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux

Re: [PATCH] lib/checksum.c: fix carry in csum_tcpudp_nofold

2015-01-27 Thread Alexei Starovoitov
On Tue, Jan 27, 2015 at 3:13 PM, Karl Beldan wrote: > On Tue, Jan 27, 2015 at 10:03:32PM +, Al Viro wrote: >> On Tue, Jan 27, 2015 at 04:25:16PM +0100, Karl Beldan wrote: >> > The carry from the 64->32bits folding was dropped, e.g with: >> > saddr=0x daddr=0xFFFF len=0x proto=0

Re: [PATCH] lib/checksum.c: fix carry in csum_tcpudp_nofold

2015-01-27 Thread Eric Dumazet
On Wed, 2015-01-28 at 00:13 +0100, Karl Beldan wrote: > Here however I don't assume that a is "small", however I assume it has > never overflowed, which is trivial to verify since we only add 3 32bits > values and 2 16 bits values to a 64bits. > Now we just want (a + b + carry(a + b)) % 2^32, and

Re: [PATCH] lib/checksum.c: fix carry in csum_tcpudp_nofold

2015-01-27 Thread Karl Beldan
On Tue, Jan 27, 2015 at 10:03:32PM +, Al Viro wrote: > On Tue, Jan 27, 2015 at 04:25:16PM +0100, Karl Beldan wrote: > > The carry from the 64->32bits folding was dropped, e.g with: > > saddr=0x daddr=0xFFFF len=0x proto=0 sum=1 > > > > Signed-off-by: Karl Beldan > > Cc: Mike F

Re: [PATCH] lib/checksum.c: fix carry in csum_tcpudp_nofold

2015-01-27 Thread Al Viro
On Tue, Jan 27, 2015 at 04:25:16PM +0100, Karl Beldan wrote: > The carry from the 64->32bits folding was dropped, e.g with: > saddr=0x daddr=0xFFFF len=0x proto=0 sum=1 > > Signed-off-by: Karl Beldan > Cc: Mike Frysinger > Cc: Arnd Bergmann > Cc: linux-kernel@vger.kernel.org > C

[PATCH] lib/checksum.c: fix carry in csum_tcpudp_nofold

2015-01-27 Thread Karl Beldan
The carry from the 64->32bits folding was dropped, e.g with: saddr=0x daddr=0xFFFF len=0x proto=0 sum=1 Signed-off-by: Karl Beldan Cc: Mike Frysinger Cc: Arnd Bergmann Cc: linux-kernel@vger.kernel.org Cc: Stable --- lib/checksum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 d