Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293378 - >=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()
Summary: >=sys-kernel/gentoo-source-2.6.30 <sys-kernel/git-source-2.6.30-r6 WARNING: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://lkml.org/lkml/fancy/2009/10/30...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-11-16 12:24 UTC by Marcin Mirosław
Modified: 2009-12-08 23:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sunrpc patch (sunrpc.patch,3.14 KB, patch)
2009-11-18 09:35 UTC, Marcin Mirosław
Details | Diff
backported patch from repository (2000_sk-forward-alloc-corruption-fix.patch,4.14 KB, patch)
2009-11-21 19:54 UTC, Mike Pagano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.