Re: MFC r258588: Fix for VIMAGE

看板FB_stable作者時間12年前 (2014/01/13 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/5 (看更多)
On Sun, Jan 12, 2014 at 4:18 AM, Mikolaj Golub <trociny@freebsd.org> wrote: > On Tue, Dec 31, 2013 at 12:12:47AM +0000, Teske, Devin wrote: > > Hi, > > > > I recently updated from 9.2-R to stable/9 and found that many times while > > attempting to shut down a vimage jail, that the box would crash. So I > found > > SVN r258588 in HEAD, merged it into my stable/9 kernel, rebooted.. and > > problem is now solved. > > > > Any objects to merging r258588 to stable/9? > > Ah, it looks like I was responsible for that bug. Craig, thank you for > fixing it. I think it should definitely be merged to stable/9. > > BTW, wouldn't increasing IPFW_NAT_VNET_ORDER instead of > IPFW_NAT_SI_SUB_FIREWALL fix the issue? It looks a little better to me. > Also, I think it would be good to have some coment in the code why > this order was chosen. Or better -- to export startup order > declarations from ip_fw2.c to ip_fw_private.h and use it for ip_fw_nat > too, so it would become self-documenting and not break if one decides > to change the ordering in ipfw module. > I tried to implement the least intrusive change to fix the problem, since I am not so familiar with VIMAGE / VNET and module order loading issues. If you have a cleaner fix in mind, I would say, go for it. -- Craig _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1IqpG293 (FB_stable)
文章代碼(AID): #1IqpG293 (FB_stable)