Re: Kernel panic with if_sf.ko

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Thu, 2 Jul 2009 19:13:39 +0100 (BST)
On Wed, 1 Jul 2009, Jung-uk Kim wrote:

> I cannot reproduce it any more.  It must be fixed already.  FYI, when it 
> happened, I traced it down to:
>
> shutdown ->
> dhclient closing fd ->
> bpf_dtor() ->
> mac_bpfdesc_destroy() ->
> mac_bpfdesc_label_free() ->	d->bd_label corrupt!
> bpfmac_labelzone_free() ->
> uma_zfree() ->
> ... -> 				page fault!
>
> Any way, sorry for the noise and thanks for fixing this, whoever that is.

This is almost certainly an ifnet-related race condition that has been fixed 
in 8.x, and that MAC is panicking is just a symptom that it picked up on a 
double free (or the like) since it has internal validation.  It may still 
existing in 7.x as there's a lot of ifnet/ifaddr work I haven't MFC'd yet (and 
won't for a few weeks at least).

Thanks,

Robert N M Watson
Computer Laboratory
University of Cambridge
Received on Thu Jul 02 2009 - 16:13:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC