svn commit: r266955 - head/sys/netpfil/ipfw
Hiren Panchasara
hiren at FreeBSD.org
Sun Jun 1 20:19:18 UTC 2014
Author: hiren
Date: Sun Jun 1 20:19:17 2014
New Revision: 266955
URL: http://svnweb.freebsd.org/changeset/base/266955
Log:
DNOLD_IS_ECN introduced by r266941 is not required.
DNOLD_* flags are for compat with old binaries.
Suggested by: luigi
Modified:
head/sys/netpfil/ipfw/ip_dn_glue.c
Modified: head/sys/netpfil/ipfw/ip_dn_glue.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_dn_glue.c Sun Jun 1 20:08:37 2014 (r266954)
+++ head/sys/netpfil/ipfw/ip_dn_glue.c Sun Jun 1 20:19:17 2014 (r266955)
@@ -83,7 +83,6 @@ struct dn_flow_set {
#define DNOLD_QSIZE_IS_BYTES 0x0008 /* queue size is measured in bytes */
#define DNOLD_NOERROR 0x0010 /* do not report ENOBUFS on drops */
#define DNOLD_HAS_PROFILE 0x0020 /* the pipe has a delay profile. */
-#define DNOLD_IS_ECN 0x0040
#define DNOLD_IS_PIPE 0x4000
#define DNOLD_IS_QUEUE 0x8000
@@ -339,8 +338,6 @@ convertflags2new(int src)
dst |= DN_IS_RED;
if (src & DNOLD_IS_GENTLE_RED)
dst |= DN_IS_GENTLE_RED;
- if (src & DNOLD_IS_ECN)
- dst |= DN_IS_ECN;
if (src & DNOLD_HAS_PROFILE)
dst |= DN_HAS_PROFILE;
More information about the svn-src-all
mailing list