Date: Wed, 11 Aug 2010 00:51:50 +0000 (UTC) From: Will Andrews <will@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/modules Makefile src/sys/modules/if_carp Makefile src/sys/net if.c if_bridge.c if_ethersubr.c src/sys/netinet if_ether.c in.c in_proto.c ip_carp.c ip_carp.h ip_input.c src/sys/netinet6 in6_proto.c nd6_nbr.c Message-ID: <201008110052.o7B0qDSk049164@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
will 2010-08-11 00:51:50 UTC FreeBSD src repository Modified files: sys/modules Makefile sys/net if.c if_bridge.c if_ethersubr.c sys/netinet if_ether.c in.c in_proto.c ip_carp.c ip_carp.h ip_input.c sys/netinet6 in6_proto.c nd6_nbr.c Added files: sys/modules/if_carp Makefile Log: SVN rev 211157 on 2010-08-11 00:51:50Z by will Allow carp(4) to be loaded as a kernel module. Follow precedent set by bridge(4), lagg(4) etc. and make use of function pointers and pf_proto_register() to hook carp into the network stack. Currently, because of the uncertainty about whether the unload path is free of race condition panics, unloads are disallowed by default. Compiling with CARPMOD_CAN_UNLOAD in CFLAGS removes this anti foot shooting measure. This commit requires IP6PROTOSPACER, introduced in r211115. Reviewed by: bz, simon Approved by: ken (mentor) MFC after: 2 weeks Revision Changes Path 1.659 +1 -0 src/sys/modules/Makefile 1.1 +21 -0 src/sys/modules/if_carp/Makefile (new) 1.386 +4 -21 src/sys/net/if.c 1.141 +7 -6 src/sys/net/if_bridge.c 1.278 +8 -13 src/sys/net/if_ethersubr.c 1.221 +6 -15 src/sys/netinet/if_ether.c 1.162 +3 -6 src/sys/netinet/in.c 1.103 +0 -20 src/sys/netinet/in_proto.c 1.78 +152 -24 src/sys/netinet/ip_carp.c 1.5 +5 -5 src/sys/netinet/ip_carp.h 1.385 +1 -7 src/sys/netinet/ip_input.c 1.73 +0 -17 src/sys/netinet6/in6_proto.c 1.72 +6 -15 src/sys/netinet6/nd6_nbr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008110052.o7B0qDSk049164>