Kernel panic on FreeBSD 9.0-beta2
dave jones
s.dave.jones at gmail.com
Thu Sep 29 02:15:15 UTC 2011
2011/9/29 Mikolaj Golub :
>
> On Mon, 26 Sep 2011 16:12:55 +0200 K. Macy wrote:
>
> KM> Sorry, didn't look at the images (limited bw), I've seen something
> KM> like this before in timewait. This "can't happen" with UDP so will be
> KM> interested in learning more about the bug.
>
> The panic can be easily triggered by this:
>
>
>
> The other thread at that moment is in soclose->sofree->upd_detach->in_pcbfree.
>
> It looks for me that we should call in_pcbdrop() in udp_close() to remove
> inpcb from hashed lists, like it is done for tcp_close().
>
> With this patch I don't observe the panic.
Hi Mikolaj,
You rock! Machines have been running hours without panic after
applying your patch.
You should commit the atch asap :-) Thank you for your help!
Best regards,
Dave.
More information about the freebsd-net
mailing list