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: s...@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 }                                                        \
 }
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to