Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2017 14:46:12 +0000 (UTC)
From:      Julian Elischer <julian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r326568 - stable/10/sys/netgraph
Message-ID:  <201712051446.vB5EkCci046801@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: julian
Date: Tue Dec  5 14:46:12 2017
New Revision: 326568
URL: https://svnweb.freebsd.org/changeset/base/326568

Log:
  Steps to Reproduce:
  #ngctl mkpeer ipfw: patch 7 in
  #ngctl name ipfw:7 tcp_rst
  #ngctl connect ipfw: tcp_rst: 8 out
  #ngctl msg tcp_rst: setconfig { count=1 csum_flags=0 ops=[ { mode=8 value=4 length=1 offset=33 } ] }
  ngctl: send msg: Argument list too long
  
  It's broken after base r309389 and could be fixed in base r309408, but the first one went to 10.4 and the second one didn't.
  
  PR:		224019
  Submitted by:	sd@mostnet.ru

Modified:
  stable/10/sys/netgraph/ng_patch.h

Modified: stable/10/sys/netgraph/ng_patch.h
==============================================================================
--- stable/10/sys/netgraph/ng_patch.h	Tue Dec  5 14:22:08 2017	(r326567)
+++ stable/10/sys/netgraph/ng_patch.h	Tue Dec  5 14:46:12 2017	(r326568)
@@ -86,7 +86,7 @@ struct ng_patch_config {
 
 #define	NG_PATCH_CONFIG_TYPE_INFO {					\
 	{ "count",		&ng_parse_uint32_type		},	\
-	{ "csum_flags",		&ng_parse_uint64_type		},	\
+	{ "csum_flags",		&ng_parse_uint32_type		},	\
 	{ "ops",		&ng_patch_ops_array_type		},	\
 	{ NULL }							\
 }



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