svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt
Mikolaj Golub
trociny at FreeBSD.org
Sat Jul 13 11:18:34 UTC 2013
On Sat, Jul 13, 2013 at 03:31:34AM -0700, Craig Rodrigues wrote:
>
> I experimented with Marko's patch, and found that the kernel crashed
> inside the code which initializes PF.
....
> /usr/home/rodrigc/freebsd/9/sys/modules/pf/../../contrib/pf/net/pf_ioctl.c:295
> 295 {
> (kgdb) l
> 290
> 291 mtx_destroy(&pf_task_mtx);
> 292 }
> 293 void
> 294 init_zone_var(void)
> 295 {
> 296 V_pf_src_tree_pl = V_pf_rule_pl = NULL;
> 297 V_pf_state_pl = V_pf_state_key_pl = V_pf_state_item_pl =
> NULL;
> 298 V_pf_altq_pl = V_pf_pooladdr_pl = NULL;
> 299 V_pf_frent_pl = V_pf_frag_pl = V_pf_cache_pl = V_pf_cent_pl
> = NULL;
>
> In init_zone_var(), curthread->td_vnet was NULL.
I wonder if it fails on current too? It looks this code is not there
any more. I will try.
> So, I don't think it is safe to remove the vnet stuff from
> kldload/kldunload just yet,
> without fixing some code in some kernel modules like PF.
>
If you have plans to merge the changes to stable then yes, I think it
is safer to commit the patch without kldload/kldunload part and commit
the last separately after testing (and fixing affected modules if
there are).
> The other parts of the patch look OK.
So it works for you with your commit reverted and without Adrians'
netgraph patch?
--
Mikolaj Golub
More information about the svn-src-head
mailing list