Re: ipv6: tunnel: hang when destroying ipv6 tunnel

From: Tetsuo Handa
Date: Fri Apr 06 2012 - 14:24:47 EST


Tetsuo Handa wrote:
> Good. -512 is -ERESTARTSYS, and this hang occurs after -ERESTARTSYS is
> returned. It indicates that c->trans_mod->request() is interrupted by signal.
> Since c->trans_mod->request is pointing at p9_virtio_request, the location
> returning that error would be
(...snipped...)
> 281 err = wait_event_interruptible(*chan->vc_wq,
> 282 chan->ring_bufs_avail);
>
> here.

Oops. Not p9_virtio_request().

It is p9_client_rpc(). I misread the output lines.

> > > + printk("%u:req->status = %u\n", current->pid, req->status);
> > > err = wait_event_interruptible(*req->wq,
> > > req->status >= REQ_STATUS_RCVD);
> > > + printk("%u:wait = %d\n", current->pid, err);

But anyway, I think this is interupt related bug.
--
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/