git: kernel - Allow rn_inithead() to be called early

看板DFBSD_commit作者時間15年前 (2011/02/19 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 70cef9220587a199966d07b50255ede53ef64f1e Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Feb 18 20:44:03 2011 -0800 kernel - Allow rn_inithead() to be called early * Allow rn_inithead() to be called earlier than rn_init(). rn_init() is called very late and was responsible for creating the all-ones and all-zeros keys. It also required the proto domains to be initialized(?). * A PF module preload was calling rn_inithead() before the all-ones and all-zeros keys could be allocated, resulting in a crash. Summary of changes: sys/net/radix.c | 45 +++++++++++++++++++-------------------------- sys/net/radix.h | 11 +++++++++++ 2 files changed, 30 insertions(+), 26 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/70cef9220587a199966d07b50255ede53ef64f1e -- DragonFly BSD source repository
文章代碼(AID): #1DNqwKNJ (DFBSD_commit)