Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1441414
| Path | csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Eric Dumazet <eric.dumazet@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x1c4/0x1dc |
| Date | Tue, 12 Jul 2016 16:30:02 +0200 |
| Message-ID | <rU6Rc-66R-45@gated-at.bofh.it> (permalink) |
| References | <rRyJY-3nN-19@gated-at.bofh.it> <rRzZn-4bX-7@gated-at.bofh.it> <rRAsp-4Ci-27@gated-at.bofh.it> <rU2DT-3b3-1@gated-at.bofh.it> |
| X-Original-To | Mason <slash.tmp@free.fr> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=XPFbEodBwW45hlUv+vXRx8O+qKhz9XwGrDGfJYMaLBo=; b=BPmpaV8NNDsHg8wn8lOfpwdDq4l48DVgJFYzBSKf+SARPLbqM7e1U+DxDcHgEkPJkI Lnz8xMeRpotu9lmSsVElOKxJLl/PXgDdvbFNlbEKwiGyGWVJ5jZHomigCXSsnMGvalj1 rgCYYFxfje84tsbbXPg9JJj8DrbrdtqxLS3vYBpSmlYzrweLnbFrPhRJ32jJJmzxFUj7 tznB11yfx36OAMUj/OC5gTqOeOOgGD40CbxAOvM/3+rxeGO+iJxy02AoDA9btlWwht1F BNAAkPR6iNdFj5sqqDfw4QUFpf2BRzcaFtme0RZXt8SgkAB1twm7//mkpQHxJcbSxBCJ 1wmg== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=XPFbEodBwW45hlUv+vXRx8O+qKhz9XwGrDGfJYMaLBo=; b=fG7JqOrR9qEGU/jUwGE9UltDlTGbdgmw8Hnm+Zfrsvs8JTNpRxJeF5GK+y4qGwudQT 1I3MobiF71NXLqCG4plrTFpQA1PKe5v1qNhov4A+SSlfOuuqFTYWR7YiWRSEdZDXV9eG N9tIjnncKQHETDaLuQj9z65CMrQYD4BkcVyAzLcp8A8u/rPqpFUV8OPMJbxsqSYFMN6w 5b4b0VB/5IOFutlzhPoE1reNXdRNfuPj5HcPgLGTfYhopAp+MLyerHBtJ5hc5xE/Qwl3 /pdte/j11wxORtt6ZQtC8DjNAsdQbW9ROtIqwRRfbTUrUq1fMb1LUiZzDlqmgSsbzssL +wnQ== |
| X-Gm-Message-State | ALyK8tJP8wUvYhM6n6eYBMU/bmEb/tP1iVCIAou6u3b98t5IywPmLLW/HJnCeuHIDZFY2g== |
| X-Received | by 10.25.43.202 with SMTP id r193mr1245009lfr.80.1468333516509; Tue, 12 Jul 2016 07:25:16 -0700 (PDT) |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.10.4-0ubuntu2 |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 47 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Florian Fainelli <f.fainelli@gmail.com>, netdev <netdev@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>, Linux ARM <linux-arm-kernel@lists.infradead.org>, Sebastian Frias <sf84@laposte.net> |
| X-Original-Date | Tue, 12 Jul 2016 16:25:13 +0200 |
| X-Original-Message-ID | <1468333513.30694.74.camel@edumazet-glaptop3.roam.corp.google.com> |
| X-Original-References | <577BB72E.3020904@free.fr> <577BC94A.4060204@free.fr> <577BD201.2040202@gmail.com> <5784BE36.8060200@free.fr> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1441414 |
Show key headers only | View raw
On Tue, 2016-07-12 at 11:53 +0200, Mason wrote:
> On 05/07/2016 17:28, Florian Fainelli wrote:
>
> > Le 05/07/2016 07:50, Mason wrote:
> >
> >> On 05/07/2016 15:33, Mason wrote:
> >>
> >>> I was testing suspend/resume sequences where the suspend operation
> >>> fails and returns without having suspended the platform.
>
> Please forget I ever mentioned suspend, that was a red herring.
> The warning is displayed even if I never suspend.
> (Dropping linux-pm from this discussion.)
>
> >> I rebooted, tried the same operation, and hit the same warning
> >> still 310 seconds later:
>
> However, the 310 seconds time span still seems to be relevant.
>
> Steps to reproduce: I booted the system, logged in as root,
> mounted an NFS file system, then left the system idling at
> the prompt.
>
> (I don't remember seeing this warning in v4.1 and v4.4)
>
> What's going wrong here? Is it related to NFS?
>
> Here is the defconfig I'm using
> http://pastebin.ubuntu.com/19160299/
>
> Regards.
>
Could you try this debug patch ?
diff --git a/net/core/sock.c b/net/core/sock.c
index b7f12639c26a..7fb1aeadbda7 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -1465,6 +1465,7 @@ static void __sk_destruct(struct rcu_head *head)
void sk_destruct(struct sock *sk)
{
+ WARN_ON_ONCE(sk->sk_forward_alloc);
if (sock_flag(sk, SOCK_RCU_FREE))
call_rcu(&sk->sk_rcu, __sk_destruct);
else
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x1c4/0x1dc Mason <slash.tmp@free.fr> - 2016-07-12 12:00 +0200
Re: WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x1c4/0x1dc Mason <slash.tmp@free.fr> - 2016-07-12 13:50 +0200
Re: WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x1c4/0x1dc Eric Dumazet <eric.dumazet@gmail.com> - 2016-07-12 16:30 +0200
Re: WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x1c4/0x1dc Mason <slash.tmp@free.fr> - 2016-07-12 16:40 +0200
Re: WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x1c4/0x1dc Mason <slash.tmp@free.fr> - 2016-07-13 14:20 +0200
csiph-web