From owner-freebsd-net@freebsd.org Thu Apr 5 22:22:46 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82448F8648A for ; Thu, 5 Apr 2018 22:22:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1028E74CB3 for ; Thu, 5 Apr 2018 22:22:46 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5FC7F17D73 for ; Thu, 5 Apr 2018 22:22:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w35MMj4t064432 for ; Thu, 5 Apr 2018 22:22:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w35MMjar064430 for freebsd-net@FreeBSD.org; Thu, 5 Apr 2018 22:22:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 227259] accept()/poll() and shutdown()/close() - not work as in FreeBSD10, may broke many apps Date: Thu, 05 Apr 2018 22:22:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rozhuk.im@gmail.com 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: attachments.isobsolete attachments.mimetype attachments.created Message-ID: In-Reply-To: References: 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-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2018 22:22:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227259 rozhuk.im@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #192208|0 |1 is obsolete| | Attachment #192260|text/x-csrc |text/plain mime type| | --- Comment #6 from rozhuk.im@gmail.com --- Created attachment 192260 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192260&action= =3Dedit test tool I do few modifications to run on linux, also add epoll() to kqueue() place. Linux ubuntux64 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux ./acc_test | grep "chk OK" 0: socket(AF_INET, block) ... lskt accept shutdown chk OK, ret cod= e: 22 - Invalid argument 1: socket(AF_INET, block) ... rskt accept shutdown chk OK, ret cod= e: 22 - Invalid argument 4: socket(AF_INET, block) ... lskt poll shutdown chk OK 5: socket(AF_INET, block) ... rskt poll shutdown chk OK 6: socket(AF_INET, block) ... lskt epoll shutdown chk OK 7: socket(AF_INET, block) ... rskt epoll shutdown chk OK 16: socket(AF_INET, block) ... lskt shutdown accept chk OK, ret cod= e: 22 - Invalid argument 20: socket(AF_INET, block) ... lskt shutdown poll chk OK 22: socket(AF_INET, block) ... lskt shutdown epoll chk OK 36: socket(AF_INET, nblock) ... lskt poll shutdown chk OK 37: socket(AF_INET, nblock) ... rskt poll shutdown chk OK 38: socket(AF_INET, nblock) ... lskt epoll shutdown chk OK 39: socket(AF_INET, nblock) ... rskt epoll shutdown chk OK 42: socket(AF_INET, nblock) ... lskt shutdown poll chk OK 43: socket(AF_INET, nblock) ... lskt shutdown epoll chk OK shutdown() work every where! close() does not work. --=20 You are receiving this mail because: You are on the CC list for the bug.=