Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 293378

Summary: >=sys-kernel/gentoo-source-2.6.30 <sys-kernel/git-source-2.6.30-r6 WARNING: at net/ipv4/af_inet.c:153 inet_sock_destruct+0x161/0x17c()
Product: Gentoo Linux Reporter: Marcin Mirosław <bug>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://lkml.org/lkml/fancy/2009/10/30/96 , http://lwn.net/Articles/360238/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sunrpc patch
backported patch from repository

Description Marcin Mirosław 2009-11-16 12:24:05 UTC
Problem is described at lkml. I've got the same problem, but it's much more problematic for me. I'm using heartbeat and nfs with exported drbd device, when i'm making take over i get "WARNING: at net/ipv4/af_inet.c:153 inet_sock_destruct+0x161/0x17c()" in dmesg and active machine is looked up. It keeps shared IP, so backup host can't take ip, and failover doesn't work.
Problem appears on SMP machine with multiple nfs3 clients connected over UPD.
/etc/init.d/nfs stop trigger this issue.

At http://lkml.org/lkml/fancy/2009/10/30/96 is published patch, i tried it and it's working for me, at http://lwn.net/Articles/360238/ is info, patch is commited to the kernel tree (link: http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commitdiff;h=9d410c796067686b1e032d54ce475b7055537138 ) .
Is it possible to add those patch to genpatches for stable gentoo-sources? This thing is important for users using gentoo in production enviroment.


Reproducible: Always
Comment 1 Mike Pagano gentoo-dev 2009-11-18 02:04:56 UTC
Does this patch apply for you without any rejects?
Comment 2 Marcin Mirosław 2009-11-18 09:34:41 UTC
I've got to use "-l" option in patch, there is unwanted whitespace.
I prepared patch which is applying cleanly (i've patched gentoo-sources-2.6.31-r6, and made diff to clean gentoo-sources).
Comment 3 Marcin Mirosław 2009-11-18 09:35:12 UTC
Created attachment 210565 [details, diff]
sunrpc patch
Comment 4 Mike Pagano gentoo-dev 2009-11-21 19:54:41 UTC
Created attachment 210811 [details, diff]
backported patch from repository

your patch would not compile for me, can you please test this one.
Comment 5 Marcin Mirosław 2009-11-21 22:26:10 UTC
Apllied cleanly, compiled cleanly. It works for me.
Comment 6 Marcin Mirosław 2009-11-22 12:46:38 UTC
Thank you.
Comment 7 Mike Pagano gentoo-dev 2009-12-08 23:40:57 UTC
Released in gentoo-sources-2.6.31-r7.