Author: will
Date: Mon Sep  6 21:03:30 2010
New Revision: 212265
URL: http://svn.freebsd.org/changeset/base/212265

Log:
  Fix static kernel builds with carp(4) by changing its SYSINIT order so that
  it is initialized after basic protocol initialization, which allows it to
  register via pf_proto_register().
  
  Reviewed by:  bz
  Approved by:  ken (mentor)

Modified:
  head/sys/netinet/ip_carp.c

Modified: head/sys/netinet/ip_carp.c
==============================================================================
--- head/sys/netinet/ip_carp.c  Mon Sep  6 20:51:35 2010        (r212264)
+++ head/sys/netinet/ip_carp.c  Mon Sep  6 21:03:30 2010        (r212265)
@@ -2405,4 +2405,4 @@ static moduledata_t carp_mod = {
        0
 };
 
-DECLARE_MODULE(carp, carp_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
+DECLARE_MODULE(carp, carp_mod, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to