DragonFly commits List (threaded) for 2011-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Allow rn_inithead() to be called early
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]