From owner-freebsd-bugs@freebsd.org Fri Dec 1 13:35:23 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E5AFE562F1 for ; Fri, 1 Dec 2017 13:35:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A74E27B8 for ; Fri, 1 Dec 2017 13:35:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vB1DZM23076329 for ; Fri, 1 Dec 2017 13:35:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224019] [netgraph] [patch] ng_patch is broken in 10.4-RELEASE Date: Fri, 01 Dec 2017 13:35:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.4-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sd@mostnet.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2017 13:35:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224019 Bug ID: 224019 Summary: [netgraph] [patch] ng_patch is broken in 10.4-RELEASE Product: Base System Version: 10.4-RELEASE Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: sd@mostnet.ru Keywords: patch Created attachment 188448 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D188448&action= =3Dedit patch 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=3D1 csum_flags=3D0 ops=3D[ { mode=3D8= value=3D4 length=3D1 offset=3D33 } ] } ngctl: send msg: Argument list too long Related bug #206185. 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. 11.0 didn't get this patches, 11.1 got both, so they are OK. Patch to fix (also attached): --- /sys/netgraph/ng_patch.h.orig 2017-11-23 14:19:54.019040000 +0300 +++ /sys/netgraph/ng_patch.h 2017-12-01 16:21:56.000000000 +0300 @@ -86,7 +86,7 @@ #define NG_PATCH_CONFIG_TYPE_INFO {=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 \ { "count", &ng_parse_uint32_type }, \ - { "csum_flags", &ng_parse_uint64_type }, \ + { "csum_flags", &ng_parse_uint32_type }, \ { "ops", &ng_patch_ops_array_type },= =20=20=20=20=20 \ { NULL } \ } --=20 You are receiving this mail because: You are the assignee for the bug.=