[Patch] Incorrect time conversion in TIPC

2007-12-08 Thread Eric Sesterhenn
hi, the timeouts in tipc/socket.c dont match if HZ is not 1000, this patch changes it to use the proper conversion functions. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.24-rc3/net/tipc/socket.c.orig 2007-12-07 20:07:11.0 +0100 +++ linux-2.6.24-rc3/ne

BUG with ipv6 jumbo frames over loopback

2007-05-01 Thread Eric Sesterhenn / Snakebyte
Hi, with the double skb_free() issue fixed, I ran some more ip6sic tests, after a while i hit the following: [ 346.941000] Oops: [#1] [ 346.941000] PREEMPT [ 346.941000] Modules linked in: [ 346.941000] CPU:0 [ 346.941000] EIP:0060:[]Not tainted VLI [ 346.941000] EFLAGS: 0

Re: [Bugme-new] [Bug 8057] New: slab corruption running ip6sic

2007-04-25 Thread Eric Sesterhenn / Snakebyte
> > > and, if no errors in testing, he could resubmit this patch? > > I agree, this is the right fix. The fix proposed by Jarek indeed fixes the problem, tested on two boxes, with an -rc5 kernel and a yesterdays git Acked-by: Eric Sesterhenn <[EMAIL PROTECTED]>

Re: [KJ] [Patch] kmemdup() cleanup in net/

2006-10-26 Thread Eric Sesterhenn
arg, i thought i compile tested everything, please use this version. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.19-rc3-git1/net/atm/lec.c.orig2006-10-26 20:21:48.0 +0200 +++ linux-2.6.19-rc3-git1/net/atm/lec.c 2006-10-26 20:23:28.0 +0200 @@ -1

[Patch] kmemdup() cleanup in net/

2006-10-26 Thread Eric Sesterhenn
hi, replace open coded kmemdup() to save some screen space, and allow inlining/not inlining to be triggered by gcc. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.19-rc3-git1/net/atm/lec.c.orig2006-10-26 20:21:48.0 +0200 +++ linux-2.6.19-rc3-git1/net/atm

[Patch] check dev_alloc_skb() return value in s2io.c

2006-09-28 Thread Eric Sesterhenn
hi, coverity spotted two dev_alloc_skb() calls, where we use the return value without checking it for NULL. This patch simply adds the check, including the debug message that is used in all other dev_alloc_skb() calls. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.1

[Patch] Remove unnecessary check in net/sunrpc/svcsock.c

2006-09-27 Thread Eric Sesterhenn
hi, coverity spotted this one as possible dereference in the dprintk(), but since there is only one caller of svc_create_socket(), which always passes a valid sin, we dont need this check. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.18-git7/net/sunrpc/svcsock.c.orig 2

[Patch] BUG_ON cleanup in drivers/net/tokenring/

2006-09-06 Thread Eric Sesterhenn
hi, this patch converts one if() BUG(); to BUG_ON(); so it can be safely optimized away. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.18-rc6/drivers/net/tokenring/tmspci.c.orig2006-09-06 23:32:41.0 +0200 +++ linux-2.6.18-rc6/drivers/net/tokenring/tm

[Patch] Dead code in net/sunrpc/auth_gss/auth_gss.c

2006-04-18 Thread Eric Sesterhenn
Hi, the coverity checker spotted that cred is always NULL when we jump to out_err ( there is just one case, when we fail to allocate the memory for cred ) This is Coverity ID #79 Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.17-rc1/net/sunrpc/auth_gss/auth_gss.

[Patch] convert drivers/net to kzalloc/kcalloc

2006-04-04 Thread Eric Sesterhenn
hi, this patch converts drivers/net to kzalloc and kcalloc usage. Compile tested with allyesconfig on i386 Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.17-rc1/drivers/net/bonding/bond_main.c.orig 2006-04-04 12:12:12.0 +0200 +++ linux-2.6.17-rc1/drive

[Patch] Fix typo in sky2.c

2006-03-23 Thread Eric Sesterhenn
hi, this fixes a typo in sky2.c. Since skge.h also contains GM_RXE_SHT i decided to change the c file and not the header. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.16-git6/drivers/net/sky2.c.orig 2006-03-23 18:02:16.0 +0100 +++ linux-2.6.16-git6/drive

[Patch] kzalloc() conversion in drivers/net

2006-03-04 Thread Eric Sesterhenn
hi, this patch converts drivers/net to kzalloc usage. Compile tested with allyes config. It also fixes a bug in drivers/net/chelsio/espi.c, because it called the memset() before checking if kmalloc failed. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> --- linux-2.6.16-rc5-mm1/drive