[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1363301786.29475.40.camel@edumazet-glaptop>
Date: Thu, 14 Mar 2013 23:56:26 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: dormando <dormando@...ia.net>
Cc: Cong Wang <xiyou.wangcong@...il.com>, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: BUG: IPv4: Attempt to release TCP socket in state 1
On Thu, 2013-03-14 at 14:21 -0700, dormando wrote:
> >
> > diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
> > index 68f6a94..1d4d97e 100644
> > --- a/net/ipv4/af_inet.c
> > +++ b/net/ipv4/af_inet.c
> > @@ -141,8 +141,9 @@ void inet_sock_destruct(struct sock *sk)
> > sk_mem_reclaim(sk);
> >
> > if (sk->sk_type == SOCK_STREAM && sk->sk_state != TCP_CLOSE) {
> > - pr_err("Attempt to release TCP socket in state %d %p\n",
> > - sk->sk_state, sk);
> > + pr_err("Attempt to release TCP socket family %d in state %d %p\n",
> > + sk->sk_family, sk->sk_state, sk);
> > + WARN_ON_ONCE(1);
> > return;
> > }
> > if (!sock_flag(sk, SOCK_DEAD)) {
>
> [58377.436522] IPv4: Attempt to release TCP socket family 2 in state 1
> ffff8813fbad9500
There is no stack information on the WARN_ON_ONCE(1) ?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists