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 linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to