Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 20:19:18 +0000 (UTC)
From:      Hiren Panchasara <hiren@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266955 - head/sys/netpfil/ipfw
Message-ID:  <201406012019.s51KJIh3056886@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406012019.s51KJIh3056886>