Date: Wed, 31 May 2006 12:34:28 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 98204 for review Message-ID: <200605311234.k4VCYSHo082256@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=98204 Change 98204 by rwatson@rwatson_zoo on 2006/05/31 12:33:49 More ipfw MAC support. Affected files ... .. //depot/projects/trustedbsd/mac/sys/netinet/ip_fw2.c#41 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/netinet/ip_fw2.c#41 (text+ko) ==== @@ -43,6 +43,7 @@ #endif #include "opt_inet6.h" #include "opt_ipsec.h" +#include "opt_mac.h" #include <sys/param.h> #include <sys/systm.h> @@ -52,6 +53,7 @@ #include <sys/kernel.h> #include <sys/lock.h> #include <sys/jail.h> +#include <sys/mac.h> #include <sys/module.h> #include <sys/proc.h> #include <sys/rwlock.h> @@ -1542,8 +1544,9 @@ #ifdef MAC if (replyto != NULL) - - + mac_ipfw_tcpreflect(replyto, m); + else + mac_ipfw_tcpkeepalive(m); #endif m->m_pkthdr.len = m->m_len = sizeof(struct ip) + sizeof(struct tcphdr);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605311234.k4VCYSHo082256>