svn commit: r341380 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet
Cy Schubert
cy at FreeBSD.org
Sat Dec 1 18:23:42 UTC 2018
Author: cy
Date: Sat Dec 1 18:23:41 2018
New Revision: 341380
URL: https://svnweb.freebsd.org/changeset/base/341380
Log:
MFC r340867:
FreeBSD 7 has been history for many moons. Remove some dead code.
Modified:
stable/12/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
Directory Properties:
stable/12/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/11/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/12/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
==============================================================================
--- stable/12/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Sat Dec 1 18:17:51 2018 (r341379)
+++ stable/12/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Sat Dec 1 18:23:41 2018 (r341380)
@@ -57,15 +57,7 @@ static const char rcsid[] = "@(#)$Id$";
#include <netinet/ip.h>
#include <netinet/ip_var.h>
#include <netinet/tcp.h>
-#if defined(__FreeBSD_version) && (__FreeBSD_version >= 800000)
#include <net/vnet.h>
-#else
-#define CURVNET_SET(arg)
-#define CURVNET_RESTORE()
-#define VNET_DEFINE(_t, _v) _t _v
-#define VNET_DECLARE(_t, _v) extern _t _v
-#define VNET(arg) arg
-#endif
#include <netinet/udp.h>
#include <netinet/tcpip.h>
#include <netinet/ip_icmp.h>
More information about the svn-src-all
mailing list