PERFORCE change 98204 for review
Robert Watson
rwatson at FreeBSD.org
Wed May 31 05:52:34 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=98204
Change 98204 by rwatson at 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);
More information about the trustedbsd-cvs
mailing list