WARNING: at net/ipv4/af_inet.c:154 inet_sock_destruct

From: Francis Moreau
Date: Tue Sep 29 2009 - 04:09:23 EST


Hello,

I got this kernel warning when stopping nfsd:

[260104.553720] WARNING: at net/ipv4/af_inet.c:154
inet_sock_destruct+0x164/0x182()
[260104.553722] Hardware name: P5K-VM
[260104.553724] Modules linked in: jfs loop nfsd lockd nfs_acl
auth_rpcgss exportfs sunrpc [last unloaded: microcode]
[260104.553736] Pid: 858, comm: nfsd Tainted: G M 2.6.31 #13
[260104.553738] Call Trace:
[260104.553743] [<ffffffff813ed53a>] ? inet_sock_destruct+0x164/0x182
[260104.553748] [<ffffffff81044471>] warn_slowpath_common+0x7c/0xa9
[260104.553751] [<ffffffff810444b2>] warn_slowpath_null+0x14/0x16
[260104.553754] [<ffffffff813ed53a>] inet_sock_destruct+0x164/0x182
[260104.553759] [<ffffffff8138e1c0>] __sk_free+0x23/0xe7
[260104.553762] [<ffffffff8138e2fd>] sk_free+0x1f/0x21
[260104.553765] [<ffffffff8138e3c7>] sk_common_release+0xc8/0xcd
[260104.553769] [<ffffffff813e4459>] udp_lib_close+0xe/0x10
[260104.553772] [<ffffffff813ecfe2>] inet_release+0x55/0x5c
[260104.553775] [<ffffffff8138b746>] sock_release+0x1f/0x71
[260104.553778] [<ffffffff8138b7bf>] sock_close+0x27/0x2b
[260104.553782] [<ffffffff810d0641>] __fput+0xfb/0x1c0
[260104.553787] [<ffffffff8104a197>] ? local_bh_disable+0x12/0x14
[260104.553790] [<ffffffff810d0723>] fput+0x1d/0x1f
[260104.553810] [<ffffffffa0014035>] svc_sock_free+0x40/0x56 [sunrpc]
[260104.553827] [<ffffffffa001dea0>] svc_xprt_free+0x43/0x53 [sunrpc]
[260104.553843] [<ffffffffa001de5d>] ? svc_xprt_free+0x0/0x53 [sunrpc]
[260104.553847] [<ffffffff811b4641>] kref_put+0x43/0x4f
[260104.553863] [<ffffffffa001d224>] svc_close_xprt+0x55/0x5e [sunrpc]
[260104.553879] [<ffffffffa001d27d>] svc_close_all+0x50/0x69 [sunrpc]
[260104.553894] [<ffffffffa0012922>] svc_destroy+0x9e/0x142 [sunrpc]
[260104.553910] [<ffffffffa0012a7f>] svc_exit_thread+0xb9/0xc2 [sunrpc]
[260104.553922] [<ffffffffa00707b1>] ? nfsd+0x0/0x151 [nfsd]
[260104.553932] [<ffffffffa00708e8>] nfsd+0x137/0x151 [nfsd]
[260104.553936] [<ffffffff8105ad28>] kthread+0x94/0x9c
[260104.553941] [<ffffffff8100c1fa>] child_rip+0xa/0x20
[260104.553944] [<ffffffff81047b00>] ? do_exit+0x5d7/0x691
[260104.553948] [<ffffffff81039cf8>] ? finish_task_switch+0x6a/0xc7
[260104.553953] [<ffffffff8100bb6d>] ? restore_args+0x0/0x30
[260104.553956] [<ffffffff8105ac94>] ? kthread+0x0/0x9c
[260104.553959] [<ffffffff8100c1f0>] ? child_rip+0x0/0x20

It happens on 2.6.31 and older kernels as well though I don't remember
when it really started.
--
Francis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/