From owner-freebsd-net@freebsd.org Sun Dec 18 21:00:58 2016 Return-Path: Delivered-To: freebsd-net@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 ABFF1C87F00 for ; Sun, 18 Dec 2016 21:00:58 +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 A2EEF1C80 for ; Sun, 18 Dec 2016 21:00:58 +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 uBIL01mE091064 for ; Sun, 18 Dec 2016 21:00:58 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201612182100.uBIL01mE091064@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-net@FreeBSD.org Subject: Problem reports for freebsd-net@FreeBSD.org that need special attention Date: Sun, 18 Dec 2016 21:00:58 +0000 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2016 21:00:58 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 165622 | [ndis][panic][patch] Unregistered use of FPU in k In Progress | 203422 | mpd/ppoe not working with re(4) with revision 285 In Progress | 206581 | bxe_ioctl_nvram handler is faulty New | 204438 | setsockopt() handling of kern.ipc.maxsockbuf limi New | 205592 | TCP processing in IPSec causes kernel panic New | 206053 | kqueue support code of netmap causes panic New | 213410 | [carp] service netif restart causes hang only whe Open | 148807 | [panic] "panic: sbdrop" and "panic: sbsndptr: soc Open | 193452 | Dell PowerEdge 210 II -- Kernel panic bce (broadc Open | 194485 | Userland cannot add IPv6 prefix routes Open | 194515 | Fatal Trap 12 Kernel with vimage Open | 199136 | [if_tap] Added down_on_close sysctl variable to t Open | 202510 | [CARP] advertisements sourced from CARP IP cause Open | 206544 | sendmsg(2) (sendto(2) too?) can fail with EINVAL; Open | 211031 | [panic] in ng_uncallout when argument is NULL Open | 211962 | bxe driver queue soft hangs and flooding tx_soft_ Open | 212018 | Enable IPSEC_NAT_T in GENERIC kernel configuratio Open | 213257 | Crash in IGB driver with ALTQ 18 problems total for which you should take action. From owner-freebsd-net@freebsd.org Sun Dec 18 22:23:59 2016 Return-Path: Delivered-To: freebsd-net@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 31AE2C875B1 for ; Sun, 18 Dec 2016 22:23:59 +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 1408C1D02 for ; Sun, 18 Dec 2016 22:23:59 +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 uBIMNvdN082073 for ; Sun, 18 Dec 2016 22:23:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212872] Fatal trap 12: page fault while... |supervisor read data, page not present | ipf_frag_lookup | bcmp Date: Sun, 18 Dec 2016 22:23:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: androsoveugen@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2016 22:23:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212872 Eugen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |androsoveugen@gmail.com --- Comment #3 from Eugen --- In my case, the error caused by garbage traffic IpV6 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Mon Dec 19 07:02:52 2016 Return-Path: Delivered-To: freebsd-net@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 53CFFC8788A for ; Mon, 19 Dec 2016 07:02:52 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.allbsd.org", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8E2869E; Mon, 19 Dec 2016 07:02:51 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail-d.allbsd.org (p2027-ipbf1605funabasi.chiba.ocn.ne.jp [123.225.191.27]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id uBJ72Qcw015493 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) (Client CN "/OU=GT07882699/OU=See+20www.rapidssl.com/resources/cps+20+28c+2915/OU=Domain+20Control+20Validated+20-+20RapidSSL+28R+29/CN=*.allbsd.org", Issuer "/C=US/O=GeoTrust+20Inc./CN=RapidSSL+20SHA256+20CA+20-+20G3"); Mon, 19 Dec 2016 16:02:47 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from alph.allbsd.org (alph.allbsd.org [192.168.0.10]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id uBJ71A2P006973 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 19 Dec 2016 16:01:11 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.15.2/8.15.2) with ESMTPA id uBJ719Ii006965; Mon, 19 Dec 2016 16:01:10 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 19 Dec 2016 16:00:48 +0900 (JST) Message-Id: <20161219.160048.1136181454257627813.hrs@allbsd.org> To: anderson.ferreira@gmx.com, freebsd-net@freebsd.org Cc: ae@FreeBSD.org, melifaro@freebsd.org, bz@FreeBSD.org, markj@freebsd.org Subject: Re: Trouble with ipv6 routing through interface,Re: Trouble with ipv6 routing through interface From: Hiroki Sato In-Reply-To: References: <780FE1FC-EA67-4593-BC0A-259F4B8E7FB5@gmx.com> <780FE1FC-EA67-4593-BC0A-259F4B8E7FB5@gmx.com> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Mon_Dec_19_16_00_48_2016_153)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.4.3 (mail.allbsd.org [133.31.130.32]); Mon, 19 Dec 2016 16:02:47 +0900 (JST) X-Spam-Status: No, score=-100.0 required=13.0 tests=CONTENT_TYPE_PRESENT, ISO2022JP_BODY,QENCPTR1,USER_IN_WHITELIST autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on gatekeeper.allbsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 07:02:52 -0000 ----Security_Multipart(Mon_Dec_19_16_00_48_2016_153)-- Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit "Andrey V. Elsukov" wrote in ,: ae> On 16.12.2016 03:24, Anderson Soares Ferreira wrote: ae> > I have a freebsd 11 box running as my network gateway and I$B!G(Bm having ae> > some trouble trying to route ipv6 packets through an interface with ae> > only linklocal address. In short, what I$B!G(Bm doing is: ae> > ae> > My freebsd gateway has one global scope address on lo0 interface, ae> > each other interface has only a link local address fe80::1. Static ae> > routes for the global scope subnets have been created, Each route was ae> > created using the command: ae> > ae> > # route -6 add -net /64 -interface ae> > ae> > The clients on each subnet have a global scope address and fe80::1 as ae> > default gateway. ae> > ae> > What is happening with this approach is that my gateway can$B!G(Bt reach ae> > the clients on the subnets. Ping tests from the gateway to the client ae> > return the error "ping6: sendmsg: No buffer space available$B!I(B. On the ae> ae> Hi, ae> ae> this ENOBUFS error is returned from ND6 code. Due to the lack of ae> prefixes, layer2 doesn't consider that destination address is a ae> neighbor. ae> ae> > other hand, when I try to do a ping from client to gateway, the ae> > packets from the client are received by the gateway but no response ae> > is sent. In my tests using a linux gateway with the same approach, ae> > everything worked fine . ae> ae> I'm not sure how this should be fixed. A FreeBSD router box must have an IPv6 address on each interface if you want to reach the router from a client (and vice versa). Currently FreeBSD does not properly support an IPv6 GUA on an interface and a route of the GUA's prefix on another interface without an GUA at the same time, which is often seen on a dedicated router box like Cisco. This is partly because FreeBSD's NDP and routing table assume that an on-link prefix is interface-local, not node-local across multiple interfaces. A practical workaround is using an LLA (i.e. fe80::1 or something) for communication between the router and the clients. -- Hiroki ----Security_Multipart(Mon_Dec_19_16_00_48_2016_153)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlhXhaAACgkQTyzT2CeTzy2a2ACeKET3R9U9erE9sRmqN+ZYoGOq nioAn3z/Y58w7E/0en9lc4w726bNmUQL =hzfy -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Dec_19_16_00_48_2016_153)---- From owner-freebsd-net@freebsd.org Mon Dec 19 11:21:24 2016 Return-Path: Delivered-To: freebsd-net@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 3E870C87D35 for ; Mon, 19 Dec 2016 11:21:24 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B28E12EC; Mon, 19 Dec 2016 11:21:24 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x243.google.com with SMTP id u15so19072455oie.3; Mon, 19 Dec 2016 03:21:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=2Ov5t3kLwHYBF4VJIJwWCiItwIZ6YLDoRB9cL7x7GgE=; b=OqVTndpOi5pa3+983k2cUZ1RY9eN7HmManuZ5ei8HdWOs19vS5ERkkdYkLrnssM+Kk 9EIUjejMAQrJ7vc6wu7cyKfCJ/8lYcVp6dP7of9UVS90Ngq2Vi4LAm7911eNq+YFeeXW ghZrlNtqlUasK4C3XGVIa6ugsQAAOhFXa/7syiJfjtDb219FJVTUsVcvwwLUAkbNLWj2 VWUXa3Tox8OidO6z+DC6sH3GA4bNM17M2MxfOyv6czeaku9GGT6m2ydSEaMOtYq+esoW IzReggQdqyu5pceBYbV2zm4/ONgU5SO7ffuxmIT6AmQzEnDNAY/TSNcREyk9acyVRJF0 BgKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=2Ov5t3kLwHYBF4VJIJwWCiItwIZ6YLDoRB9cL7x7GgE=; b=i3Y22Nq1xxJnbji0I5kW51TtjXOwPIadxn989dh7Wu5bkBoEIhpeo6BPb4FRhncBSG 1sBQ0nKWERhdRt1JBtIdROFsgXjBY9rmauBPmT/SnxYdnVZZTEgAli6gL0BoslQ9penF 6LfGC2vDXqDH77ryNcZIXV1peMQ7bBfKywMvvIlx+7idhXtC/JYKouRYdOh/i9AsG8A9 OdZRNfWttnK+SuPKpJ86MBlopGubPDevL+M+a2hDfvbJEtlKmUl6NnVVmR9glUiswaCW EoKinKOVQbqIn/G+yWO5eNk1hwjE2wdg0OCRiZIPUB4gw3Kx3YIqnABWKKDR14VUHLti nuYQ== X-Gm-Message-State: AIkVDXKouxIyMum5/SYZE6d0xTOQVEKqTnTseDhJBscoSXVskwJWTKA+S5zTVVVY5MONd2xMpK2HESrZayfg7A== X-Received: by 10.157.60.244 with SMTP id t49mr5216702otf.178.1482146483325; Mon, 19 Dec 2016 03:21:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.45.200 with HTTP; Mon, 19 Dec 2016 03:21:22 -0800 (PST) In-Reply-To: <20161217222812.GA4979@ox> References: <20161217222812.GA4979@ox> From: Vincenzo Maffione Date: Mon, 19 Dec 2016 12:21:22 +0100 Message-ID: Subject: Re: cxgbe's native netmap support broken since r307394 To: Vincenzo Maffione , Luigi Rizzo , "freebsd-net@freebsd.org" , Giuseppe Lettieri , np@freebsd.com Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 11:21:24 -0000 Hi Navdeep, Indeed, we have reviewed the code, and we think it is ok to implement nm_os_ifnet_lock() with IFNET_RLOCK(), instead of using IFNET_WLOCK(). Since IFNET_RLOCK() results into sx_slock(), this should fix the issue. On FreeBSD, this locking is needed to protect a flag read by nm_iszombie(). However, on Linux the same lock is also needed to protect the call to the nm_hw_register() callback, so we prefer to have an "unified" locking scheme, i.e. always calling nm_hw_register under the lock. Does this make sense to you? Would it be easy for you to make a quick test by replacing IFNET_WLOCK with IFNET_RLOCK? Thanks, Vincenzo 2016-12-17 23:28 GMT+01:00 Navdeep Parhar : > Luigi, Vincenzo, > > The last major update to netmap (r307394 and followups) broke cxgbe's > native netmap support. The problem is that netmap_hw_reg now holds an > rw_lock around the driver's netmap_on/off routines. It has always been > safe for the driver to sleep during these operations but now it panics > instead. > > Why is IFNET_WLOCK needed here? It seems like a regression to disallow > sleep on the control path. > > Regards, > Navdeep > > begin_synchronized_op with the following non-sleepable locks held: > exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff8271d680) locked @ > /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 > stack backtrace: > #0 0xffffffff810837a5 at witness_debugger+0xe5 > #1 0xffffffff81084d88 at witness_warn+0x3b8 > #2 0xffffffff83ef2bcc at begin_synchronized_op+0x6c > #3 0xffffffff83f14beb at cxgbe_netmap_reg+0x5b > #4 0xffffffff809846f1 at netmap_hw_reg+0x81 > #5 0xffffffff809806de at netmap_do_regif+0x19e > #6 0xffffffff8098121d at netmap_ioctl+0x7ad > #7 0xffffffff8098682f at freebsd_netmap_ioctl+0x5f -- Vincenzo Maffione From owner-freebsd-net@freebsd.org Mon Dec 19 18:46:22 2016 Return-Path: Delivered-To: freebsd-net@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 3F2B6C885C0 for ; Mon, 19 Dec 2016 18:46:22 +0000 (UTC) (envelope-from alarig@swordarmor.fr) Received: from kaiminus.swordarmor.fr (kaiminus.swordarmor.fr [IPv6:2a00:5884:8200:15::1]) (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 042921397 for ; Mon, 19 Dec 2016 18:46:21 +0000 (UTC) (envelope-from alarig@swordarmor.fr) Received: from kaiminus (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by kaiminus.swordarmor.fr (Postfix) with ESMTPS id AC4D7892C5 for ; Mon, 19 Dec 2016 19:46:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swordarmor.fr; s=default; t=1482173177; bh=fXNzz4f91tp2w3wf2dX4aEJHNaZSnMb9igHkaHgfcMk=; h=Date:From:To:Subject; b=D6KdpTFenjCY6ACrb9Aru1EaVOs1ph1U+gWOhEWEdLTpGVtnRfRxkFw3TKU7+LQnC bkh8vmIHYdSOZpUrBUZlerthmbHgKg1Ku7YS6tgtCNI/hRIN/8+zL7zgyNOn6Mgj8L a3M/JDOGrvA6lNqKd227UWC+rt8CBR17bveeJzU8= Date: Mon, 19 Dec 2016 19:46:17 +0100 From: Alarig Le Lay To: freebsd-net@freebsd.org Subject: Avoid using RFC3927 outside of the link Message-ID: <20161219184617.7yph7isgtgjy4mja@kaiminus> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bjfcewmcfzurcg6f" Content-Disposition: inline User-Agent: NeoMutt/20161104 (1.7.1) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 18:46:22 -0000 --bjfcewmcfzurcg6f Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I have a router that is mutli-homed with BGP. One of my peers is using an RFC3927 address for the connection. If I traceroute to host behind that route where we use a route via this peer to reply, the ICMP reply display that link-local IP: 1. AS12876 195-154-86-1.rev.poneytelecom.eu (195.154.86.1) 0.0% 10= 0.9 0.8 0.6 1.1 0.0 2. AS12876 a9k2-49e-s46-3.dc3.poneytelecom.eu (195.154.1.86) 0.0% 10= 0.8 1.1 0.7 2.2 0.5 3. AS12876 pni-th2-a9k2.th2.poneytelecom.eu (195.154.1.75) 0.0% 10= 1.2 1.5 1.1 3.5 0.6 4. AS??? equinix-th2.quantic-telecom.net (195.42.144.192) 0.0% 10= 1.1 1.0 0.9 1.2 0.0 5. AS198507185.132.75.33 0.0% 10= 7.3 7.4 7.2 7.9 0.0 6. AS??? 169.254.1.2 0.0% 10= 7.6 7.6 7.4 7.9 0.0 7. AS204092kaiminus.swordarmor.fr (89.234.186.26) 0.0% 10= 8.1 11.4 7.8 41.5 10.6 Is it possible to avoid this behaviour and reply with the public IP (89.234.186.1) instead? What I am looking for is an equivalent of `ip addr change 169.254.1.2/30 scope link` on Linux. Thanks, --=20 alarig --bjfcewmcfzurcg6f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYWCrzAAoJEK84SsFrICuId5EIALxuZQft8SOs/wWTnUEkReDm +OtfhtJFpv3E4iEa2gnzIx7Dnl+A+8m1IpQ4Uzba3+j+qrYlOkG5uXnEaWpgTeOg QCTBf7jDDKgmx5c1FJKcmcTH9m7TeYSOp6S7MoTSISPHpbHxcaV4LyYYVQEVrl6V IaZ6VZffMD4oviA4HMI6eIEaNBbgXPfscDuOwg+nGuOEUroBNEYq/S5luAKqLBl7 dkYbLnG6oCo+kFXgbzm2D4LT2TQ1aAhP5/DXA2B0vCxqPSu/8Fxa9yhFETRaGnYx wtB/HpWUMiNL61v3/juJHuzIbKVwARw0UIZZjPrjTUbvZ/G3L/HYZm3yLDvA4x8= =xY3w -----END PGP SIGNATURE----- --bjfcewmcfzurcg6f-- From owner-freebsd-net@freebsd.org Mon Dec 19 18:51:37 2016 Return-Path: Delivered-To: freebsd-net@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 44146C886E7 for ; Mon, 19 Dec 2016 18:51:37 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D5C811638 for ; Mon, 19 Dec 2016 18:51:36 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id uBJIpQI6059273 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Dec 2016 19:51:26 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: alarig@swordarmor.fr Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id uBJIpMh7088054 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 20 Dec 2016 01:51:22 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: Avoid using RFC3927 outside of the link To: Alarig Le Lay , freebsd-net@freebsd.org References: <20161219184617.7yph7isgtgjy4mja@kaiminus> From: Eugene Grosbein Message-ID: <58582C25.7090806@grosbein.net> Date: Tue, 20 Dec 2016 01:51:17 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20161219184617.7yph7isgtgjy4mja@kaiminus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 18:51:37 -0000 20.12.2016 1:46, Alarig Le Lay пишет: > Is it possible to avoid this behaviour and reply with the public IP > (89.234.186.1) instead? try: sysctl net.inet.icmp.reply_from_interface=1 From owner-freebsd-net@freebsd.org Mon Dec 19 19:05:08 2016 Return-Path: Delivered-To: freebsd-net@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 3149EC88E33 for ; Mon, 19 Dec 2016 19:05:08 +0000 (UTC) (envelope-from alarig@swordarmor.fr) Received: from kaiminus.swordarmor.fr (kaiminus.swordarmor.fr [IPv6:2a00:5884:8200:15::1]) (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 EC4B4170B for ; Mon, 19 Dec 2016 19:05:07 +0000 (UTC) (envelope-from alarig@swordarmor.fr) Received: from kaiminus (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by kaiminus.swordarmor.fr (Postfix) with ESMTPS id 55C55892C5; Mon, 19 Dec 2016 20:05:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swordarmor.fr; s=default; t=1482174306; bh=RnZAqR8Ved6EcCXWFo9movBa87AcSXpxDV3KNu80+eI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=JbI3KSK67KPpSGKwJpHh0cQhpQw4AhBqXvL/ZbcBvV9uEbxSwIJ35Gp0M7VBN1p7i mblsyBxzhzSYQUwD5sV8OW5xjdiDpPE8otmE7lrNW7yU5ylayHXTFM3sQxKyduscQw vLNUk6vcfm4GpZLpS3YGCw9QuWXw/OYuzBHPY/o4= Date: Mon, 19 Dec 2016 20:05:06 +0100 From: Alarig Le Lay To: Eugene Grosbein Cc: freebsd-net@freebsd.org Subject: Re: Avoid using RFC3927 outside of the link Message-ID: <20161219190506.kc32q7sz3okekup7@kaiminus> References: <20161219184617.7yph7isgtgjy4mja@kaiminus> <58582C25.7090806@grosbein.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6ct6f4om2wlyn7hs" Content-Disposition: inline In-Reply-To: <58582C25.7090806@grosbein.net> User-Agent: NeoMutt/20161104 (1.7.1) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 19:05:08 -0000 --6ct6f4om2wlyn7hs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue Dec 20 01:51:17 2016, Eugene Grosbein wrote: > 20.12.2016 1:46, Alarig Le Lay =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 > > Is it possible to avoid this behaviour and reply with the public IP > > (89.234.186.1) instead? >=20 > try: sysctl net.inet.icmp.reply_from_interface=3D1 If an AS choose to go to us thought this peer, packets will come in by this interface, so our router will continue to reply with the apipa IP for those ASes. --=20 alarig --6ct6f4om2wlyn7hs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYWC9fAAoJEK84SsFrICuIgrUH+QFXEzYiTFbdvPB0eUAxV7TE X0Bn5r7z9rwn0kzH7f7VesuAiApaPOHz+ifrWBeC1S+KfKYntc8QmXGliZWaxj+g y73vGI2Ri1sCE9V35noe5okxyshWC8yWNk7WSD7jkILTaTyV/udSQ92vXaqal6Ky czIDxLpy8W2al57HzKAxvWpWdblrRZMmE6FxkQffW1f4rUpxmbeuVPiLQRsvebgd fksRSaVzkeHmV1ktBkm7DWXqu+VYvUbV/jHcbNn6TlG5V2KxlOlvHJPZkTTfGkCB +QICEVQcbFVad2R7WktsrWC6vTBW9b493+jwqupUqUP3QBfj79AlcLmsKNrio54= =68BS -----END PGP SIGNATURE----- --6ct6f4om2wlyn7hs-- From owner-freebsd-net@freebsd.org Mon Dec 19 19:05:43 2016 Return-Path: Delivered-To: freebsd-net@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 D46ACC88EC3 for ; Mon, 19 Dec 2016 19:05:43 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B2591829; Mon, 19 Dec 2016 19:05:43 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id p100so8346061lfg.2; Mon, 19 Dec 2016 11:05:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=No+x5JGeHdmBNBPUfUs1eUNvHuVKX3ElsxN7O8jnl7c=; b=i6A45Url5abT/g+l0pzmMjrVCLS/XDiLBU5zKIunF60uNSZgX45B0aaxe7nTTGYsMz zwR5SM75Bl+dyhsfXcIrFCcRqOuVKOE1YcH4brk54TpPSjNdMUIbGseh2j9SRy3fYO15 rPfsU/uqsBxbQRF9597KRaxWXDAVKOMtSPEdrbwZjoEe84qHiGVlOIvOUAqu+4lqx58t OBved/hO8QQoeQzdAXRQETAyP7/Jg5sItgIx3ZcSiUx3PtAAckrPTdwIfHQLd58uj2x6 2C9w0E/L8NriDvqbXXVYQ97Tywo1zuV/2jyA4H/+BPfoV0H4JnDt/pt3/ZTUjLT27mT1 EeCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=No+x5JGeHdmBNBPUfUs1eUNvHuVKX3ElsxN7O8jnl7c=; b=nR5SZrMOCk/26YYlTT9uqr2vlxmui/JJDW0HFkXwlklLOpMZHlyKex5mTpvn7hQUxC qMy4yvTCtfdSLLW/1MkXaDK2YzUO7hOCCcpSw475L3DlBYybHvFSF5NAUxVCtmPOxN7x BRAGgK+3D1hximiwdkiMgNI4cCYgCVqQNQDKe4RGPv81yGEUq8fU5NTK+uE0U5yJjqiF s73lW0bMRJ/hzaNX40uR0nnb9uobzvrG3FOYxvhV/DCQOQJ4g4s0OsT3MysEU+RyGIwX GnhNEomN23GZEXokBrK+wNkY8vKMRNJjfkPmga/BSvbZDq5lsIwmN45qMHMXEP/d+Jyl 9BlA== X-Gm-Message-State: AKaTC03Qjcdd5pbLW7tdjtG5rMLP9+8eewTA9YNAl8T6Y5v0MQzXGgVNSILcugO8ogCk/eCJWZoFHpqgTCzyMw== X-Received: by 10.25.199.145 with SMTP id x139mr5070435lff.142.1482174341431; Mon, 19 Dec 2016 11:05:41 -0800 (PST) MIME-Version: 1.0 Sender: nparhar@gmail.com Received: by 10.25.208.141 with HTTP; Mon, 19 Dec 2016 11:05:40 -0800 (PST) In-Reply-To: References: <20161217222812.GA4979@ox> From: Navdeep Parhar Date: Mon, 19 Dec 2016 11:05:40 -0800 X-Google-Sender-Auth: gzp0SXbIft2ytBL5fSyudcFuBwQ Message-ID: Subject: Re: cxgbe's native netmap support broken since r307394 To: Vincenzo Maffione Cc: Luigi Rizzo , "freebsd-net@freebsd.org" , Giuseppe Lettieri Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 19:05:43 -0000 IFNET_RLOCK will work, thanks. Navdeep On Mon, Dec 19, 2016 at 3:21 AM, Vincenzo Maffione wrote: > Hi Navdeep, > > Indeed, we have reviewed the code, and we think it is ok to > implement nm_os_ifnet_lock() with IFNET_RLOCK(), instead of using > IFNET_WLOCK(). > Since IFNET_RLOCK() results into sx_slock(), this should fix the issue. > > On FreeBSD, this locking is needed to protect a flag read by nm_iszombie(). > However, on Linux the same lock is also needed to protect the call to > the nm_hw_register() callback, so we prefer to have an "unified" > locking scheme, i.e. always calling nm_hw_register under the lock. > > Does this make sense to you? Would it be easy for you to make a quick > test by replacing IFNET_WLOCK with IFNET_RLOCK? > > Thanks, > Vincenzo > > 2016-12-17 23:28 GMT+01:00 Navdeep Parhar : >> Luigi, Vincenzo, >> >> The last major update to netmap (r307394 and followups) broke cxgbe's >> native netmap support. The problem is that netmap_hw_reg now holds an >> rw_lock around the driver's netmap_on/off routines. It has always been >> safe for the driver to sleep during these operations but now it panics >> instead. >> >> Why is IFNET_WLOCK needed here? It seems like a regression to disallow >> sleep on the control path. >> >> Regards, >> Navdeep >> >> begin_synchronized_op with the following non-sleepable locks held: >> exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff8271d680) locked @ >> /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 >> stack backtrace: >> #0 0xffffffff810837a5 at witness_debugger+0xe5 >> #1 0xffffffff81084d88 at witness_warn+0x3b8 >> #2 0xffffffff83ef2bcc at begin_synchronized_op+0x6c >> #3 0xffffffff83f14beb at cxgbe_netmap_reg+0x5b >> #4 0xffffffff809846f1 at netmap_hw_reg+0x81 >> #5 0xffffffff809806de at netmap_do_regif+0x19e >> #6 0xffffffff8098121d at netmap_ioctl+0x7ad >> #7 0xffffffff8098682f at freebsd_netmap_ioctl+0x5f > > > > -- > Vincenzo Maffione > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Mon Dec 19 19:34:46 2016 Return-Path: Delivered-To: freebsd-net@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 9867FC87224 for ; Mon, 19 Dec 2016 19:34:46 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3517211F5 for ; Mon, 19 Dec 2016 19:34:45 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id uBJJYbXW059510 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 19 Dec 2016 20:34:38 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: alarig@swordarmor.fr Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id uBJJYYFC015994 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 20 Dec 2016 02:34:34 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: Avoid using RFC3927 outside of the link To: Alarig Le Lay References: <20161219184617.7yph7isgtgjy4mja@kaiminus> <58582C25.7090806@grosbein.net> <20161219190506.kc32q7sz3okekup7@kaiminus> Cc: freebsd-net@freebsd.org From: Eugene Grosbein Message-ID: <58583645.3090502@grosbein.net> Date: Tue, 20 Dec 2016 02:34:29 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20161219190506.kc32q7sz3okekup7@kaiminus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 19:34:46 -0000 20.12.2016 2:05, Alarig Le Lay пишет: > On Tue Dec 20 01:51:17 2016, Eugene Grosbein wrote: >> 20.12.2016 1:46, Alarig Le Lay пишет: >> >>> Is it possible to avoid this behaviour and reply with the public IP >>> (89.234.186.1) instead? >> >> try: sysctl net.inet.icmp.reply_from_interface=1 > > If an AS choose to go to us thought this peer, packets will come in by > this interface, so our router will continue to reply with the apipa IP > for those ASes. Well, you can always use brute force instead: ipfw nat 169 config reset ip 89.234.186.1 && \ ipfw add 60 nat 169 ip from 169.254.0.0/16 to any out xmit igb0 That's ugly but works. From owner-freebsd-net@freebsd.org Mon Dec 19 19:36:07 2016 Return-Path: Delivered-To: freebsd-net@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 C045AC872AA; Mon, 19 Dec 2016 19:36:07 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from mail.strugglingcoder.info (strugglingcoder.info [104.236.146.68]) by mx1.freebsd.org (Postfix) with ESMTP id A3C8E12BE; Mon, 19 Dec 2016 19:36:07 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPA id C6982178B2; Mon, 19 Dec 2016 11:36:06 -0800 (PST) Date: Mon, 19 Dec 2016 11:36:06 -0800 From: hiren panchasara To: "Andrey V. Elsukov" Cc: "Eugene M. Zheganin" , freebsd-net , freebsd-stable@freebsd.org Subject: Re: sonewconn: pcb [...]: Listen queue overflow to human-readable form Message-ID: <20161219193606.GQ82166@strugglingcoder.info> References: <58528B50.8030600@norma.perm.ru> <20161215175141.GE82166@strugglingcoder.info> <010586a3-0d44-7f83-32f1-d3ad79788fad@yandex.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XQ/JOjNzrAcf1KaA" Content-Disposition: inline In-Reply-To: <010586a3-0d44-7f83-32f1-d3ad79788fad@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 19:36:07 -0000 --XQ/JOjNzrAcf1KaA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 12/16/16 at 11:20P, Andrey V. Elsukov wrote: > On 15.12.2016 20:51, hiren panchasara wrote: > > On 12/15/16 at 05:23P, Eugene M. Zheganin wrote: > >> Hi. > >> > >> Sometimes on one of my servers I got dmesg full of > >> > >> sonewconn: pcb 0xfffff80373aec000: Listen queue overflow: 49 already in > >> queue awaiting acceptance (6 occurrences) > > [skip] > >> > >> but at the time of investigation the socket is already closed and lsof > >> cannot show me the owner. I wonder if the kernel can itself decode this > >> output and write it in the human-readable form ? > >=20 > > I have this not-quite-correct patch that may help you. (If you follow t= he > > discussion there, you'd know why its not complete.)=20 > >=20 > > https://lists.freebsd.org/pipermail/freebsd-net/2014-March/038074.html >=20 > Hi Hiren, >=20 > I think the check for socket's domain should be enough? >=20 >=20 > --=20 > WBR, Andrey V. Elsukov > Index: sys/kern/uipc_socket.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/kern/uipc_socket.c (revision 309834) > +++ sys/kern/uipc_socket.c (working copy) > @@ -139,6 +139,7 @@ __FBSDID("$FreeBSD$"); > #include > #include > #include > +#include > =20 > #include > =20 > @@ -577,10 +578,15 @@ sonewconn(struct socket *head, int connstatus) > overcount++; > =20 > if (ratecheck(&lastover, &overinterval)) { > - log(LOG_DEBUG, "%s: pcb %p: Listen queue overflow: " > - "%i already in queue awaiting acceptance " > - "(%d occurrences)\n", > - __func__, head->so_pcb, head->so_qlen, overcount); > + if (INP_CHECK_SOCKAF(head, AF_INET) || > + INP_CHECK_SOCKAF(head, AF_INET6)) > + over =3D ntohs(sotoinpcb(head)->inp_lport); > + else > + over =3D 0; > + log(LOG_DEBUG, "%s: pcb %p: Listen queue overflow on " > + "port %d: %i already in queue awaiting acceptance " > + "(%d occurrences)\n", __func__, head->so_pcb, > + over, head->so_qlen, overcount); > =20 > overcount =3D 0; > } Andrey, Thanks, this seems correct to me. :-) Cheers, Hiren --XQ/JOjNzrAcf1KaA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJYWDajXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/l8w8H/RpSEXSdSJUazfH2Hl+NaqHv 2dtgPLQkRnwz3+XvosDLEJdNRzqMXGdTKm/Vs9NvC5KjERCp3JgmmkGFRTjBx1BE ABe8K7Io2cEhlXeDrDVoKrs8o7x94XYarGb2EcVyR0IPoX1Io5BGn+lGmNa+Sczk xEaMZryNx+B+EyehiBZnVxksdVQkqMNyBtgL5aTENBhArqC5Pcya4m9jqiHg1r+4 oQTC/e4AsrZhU3CaOH6NcurrAPMFVm/9O30g3zpVuFUqXf90kuss7EhBv5lva+wy chsmJhq4+A0uWgE7rDVUWAEhYIPwl7kbmAnSTPftMqohH6jYu4ebVaoqTPHCvkg= =Zwm9 -----END PGP SIGNATURE----- --XQ/JOjNzrAcf1KaA-- From owner-freebsd-net@freebsd.org Mon Dec 19 21:01:53 2016 Return-Path: Delivered-To: freebsd-net@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 E9ED5C888D7 for ; Mon, 19 Dec 2016 21:01:53 +0000 (UTC) (envelope-from alarig@swordarmor.fr) Received: from kaiminus.swordarmor.fr (kaiminus.swordarmor.fr [IPv6:2a00:5884:8200:15::1]) (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 AF8F217AC for ; Mon, 19 Dec 2016 21:01:53 +0000 (UTC) (envelope-from alarig@swordarmor.fr) Received: from kaiminus (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by kaiminus.swordarmor.fr (Postfix) with ESMTPS id 155CF892C5; Mon, 19 Dec 2016 22:01:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swordarmor.fr; s=default; t=1482181311; bh=FEtv9scWT5Z74v7oIxr0A/psENYl/M+pFgxsuAL267c=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=LAlYm4PcDA2GimzGZJG+FAAyXDK4SDfRV0ZoVK4EauuzNz4UpDaCpUmWRvVEgZ/KM YElw/jJrqFpaiOcsWAuC0ZAwpVXDLqAPpP+r0ie/MiVwj75VXmzPmfNa4XBXvd65oa YegKkJsSarYHcI3Sz1qWW0/Sykq7OVD3J6o7n6mg= Date: Mon, 19 Dec 2016 22:01:51 +0100 From: Alarig Le Lay To: Eugene Grosbein Cc: freebsd-net@freebsd.org Subject: Re: Avoid using RFC3927 outside of the link Message-ID: <20161219210150.mf4cwx3k33x2qbbe@kaiminus> References: <20161219184617.7yph7isgtgjy4mja@kaiminus> <58582C25.7090806@grosbein.net> <20161219190506.kc32q7sz3okekup7@kaiminus> <58583645.3090502@grosbein.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qlo3tw4cmxg455lw" Content-Disposition: inline In-Reply-To: <58583645.3090502@grosbein.net> User-Agent: NeoMutt/20161104 (1.7.1) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 21:01:54 -0000 --qlo3tw4cmxg455lw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue Dec 20 02:34:29 2016, Eugene Grosbein wrote: > Well, you can always use brute force instead: >=20 > ipfw nat 169 config reset ip 89.234.186.1 && \ > ipfw add 60 nat 169 ip from 169.254.0.0/16 to any out xmit igb0 >=20 > That's ugly but works. I will work just by side effect: by doing this, I will send BGP packets =66rom 89.234.186.1, which is an IP than the peer learned by BGP. This will create a recursive loop, and the session will be shut. So, no more traffic will transit through this interface, and this IP will not be displayed anymore :p --=20 alarig --qlo3tw4cmxg455lw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYWEq7AAoJEK84SsFrICuI9rIIAIq610fOw3KUonFG+lSBK2Qk bwu/DysUzJXLWc+0KrfDbuAxb0gtYeQSx/DcRBS234jWbruH1eDd8ODE9zirz88s PL8FGNA+kiMazUzPucMN+1flqySrS4UL1mPaL4IsO2C5An5jTAa7TciGD4Wlwan+ GZIJm9W/2UZrdg0RI6BZAtdAuaZwOqKhuWmSjL3IuyJh+ATQh5xyCjDFZIezq7MD 5gljHVJiQzwY9rGvSkvvy02Dux3CNvLLrhV5L07K50vchIf0We1pjkuOT4SQwnw0 lok/b8ny/moQv+TVcCMQHM3hPczArMH3h3K5jBjheZwW2h+YkKKRB09M2q2gVKs= =FfkW -----END PGP SIGNATURE----- --qlo3tw4cmxg455lw-- From owner-freebsd-net@freebsd.org Tue Dec 20 01:16:09 2016 Return-Path: Delivered-To: freebsd-net@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 4A04FC87C67 for ; Tue, 20 Dec 2016 01:16:09 +0000 (UTC) (envelope-from mail@m.jwh.me.uk) Received: from mail.zorins.co.uk (mail.zorins.co.uk [91.121.236.227]) (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 17BBC1FE7 for ; Tue, 20 Dec 2016 01:16:08 +0000 (UTC) (envelope-from mail@m.jwh.me.uk) Received: from [172.21.88.190] (cpc82705-staf9-2-0-cust342.3-1.cable.virginm.net [81.108.23.87]) (Authenticated sender: mail@m.jwh.me.uk) by mail.zorins.co.uk (Postfix) with ESMTPA id 3tjK3h5MfVz4Kfd for ; Tue, 20 Dec 2016 00:51:28 +0000 (UTC) Subject: Re: Avoid using RFC3927 outside of the link To: freebsd-net@freebsd.org References: <20161219184617.7yph7isgtgjy4mja@kaiminus> <58582C25.7090806@grosbein.net> <20161219190506.kc32q7sz3okekup7@kaiminus> <58583645.3090502@grosbein.net> <20161219210150.mf4cwx3k33x2qbbe@kaiminus> From: Joe Holden Message-ID: Date: Tue, 20 Dec 2016 01:10:29 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161219210150.mf4cwx3k33x2qbbe@kaiminus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 01:16:09 -0000 On 19/12/2016 21:01, Alarig Le Lay wrote: > On Tue Dec 20 02:34:29 2016, Eugene Grosbein wrote: >> Well, you can always use brute force instead: >> >> ipfw nat 169 config reset ip 89.234.186.1 && \ >> ipfw add 60 nat 169 ip from 169.254.0.0/16 to any out xmit igb0 >> >> That's ugly but works. > > I will work just by side effect: by doing this, I will send BGP packets > from 89.234.186.1, which is an IP than the peer learned by BGP. This will > create a recursive loop, and the session will be shut. So, no more > traffic will transit through this interface, and this IP will not be > displayed anymore :p > Use valid addressing and optionally, working config, there is no problem here. From owner-freebsd-net@freebsd.org Tue Dec 20 02:58:03 2016 Return-Path: Delivered-To: freebsd-net@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 61FC4C894AD for ; Tue, 20 Dec 2016 02:58:03 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id F3C29173 for ; Tue, 20 Dec 2016 02:58:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id uBK2vrkY062168 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 20 Dec 2016 03:57:53 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: alarig@swordarmor.fr Received: from [10.58.0.10] (dadvw [10.58.0.10]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id uBK2vnVQ011745 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 20 Dec 2016 09:57:49 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: Avoid using RFC3927 outside of the link To: Alarig Le Lay References: <20161219184617.7yph7isgtgjy4mja@kaiminus> <58582C25.7090806@grosbein.net> <20161219190506.kc32q7sz3okekup7@kaiminus> <58583645.3090502@grosbein.net> <20161219210150.mf4cwx3k33x2qbbe@kaiminus> Cc: freebsd-net@freebsd.org From: Eugene Grosbein Message-ID: <58589E28.9020900@grosbein.net> Date: Tue, 20 Dec 2016 09:57:44 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20161219210150.mf4cwx3k33x2qbbe@kaiminus> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 02:58:03 -0000 20.12.2016 4:01, Alarig Le Lay пишет: > On Tue Dec 20 02:34:29 2016, Eugene Grosbein wrote: >> Well, you can always use brute force instead: >> >> ipfw nat 169 config reset ip 89.234.186.1 && \ >> ipfw add 60 nat 169 ip from 169.254.0.0/16 to any out xmit igb0 >> >> That's ugly but works. > > I will work just by side effect: by doing this, I will send BGP packets > from 89.234.186.1, which is an IP than the peer learned by BGP. This will > create a recursive loop, and the session will be shut. So, no more > traffic will transit through this interface, and this IP will not be > displayed anymore :p You could also use another public IP as primary address for interface in question and an address from 169.254.0.0/16 as secondary one. BGP will still work and kernel/ICMP will use public IP. From owner-freebsd-net@freebsd.org Tue Dec 20 09:25:38 2016 Return-Path: Delivered-To: freebsd-net@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 6114EC88FFB for ; Tue, 20 Dec 2016 09:25:38 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x242.google.com (mail-oi0-x242.google.com [IPv6:2607:f8b0:4003:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36223172F; Tue, 20 Dec 2016 09:25:38 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x242.google.com with SMTP id f201so23074030oib.0; Tue, 20 Dec 2016 01:25:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yZ5sMinK6ybgyKGrgUaUql2xMtPgtYkGJdun77l6mWQ=; b=MQiUe4GOTiHc5J0dOpPK9mW8BswPbYhAnBcb6Acm+rVblCMic/8aJ0su3KtlGC/R8I MoqEXYrH+ZHxlaOzhkwwUy8R8qUk0xB3O/iwKELmCiHcH/MThtzkVd8KfXTHLJPH4M2J 2W8AyZyz5itR572XdL8A+tdO+MtPYJqYyo4y6B98VUxcUhXSUxiQvWaYKZ+5vHx6pgqO d9Op6iE3hL2TLXAzWWOStgZJr2kqROP72MBedFQiQPC9pWDwci/1/22VR4eoK+jNR+Te U5G63ctBYwhCDseglQa0YKv+psl40Vph19QEcBtqi8Ze9Iir+n6AckbG1LRKJ14YVeaA xmMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yZ5sMinK6ybgyKGrgUaUql2xMtPgtYkGJdun77l6mWQ=; b=cS2b5c1Hi7mBISItlvo/TmCyBmX8R1x24RZZgjapHfkRMC/dOQeDrYT1L7JFI/sWsr HsPm+p1Krc3vB4NAH1Q/GZKCYNtgFo9j09pAmM+fuEeg6m51azq8M1ZVHZhnw15nhlao 3GoYW8CLrYZmea5ZIWnxRl3KAa5hCZtu85WZuZJdWI8z+BlZS/kpFmfzBywI+AFwF48C 7c0ClXLI+YfE3dEWUeQgmv6eSTGAAoImVX2BsJFfvfp/KcN/gzr06bHoTrXcDb/AMCVf howhLcl9Iq+0fM7O1w8Smu6J44hOh2HySNrJdA2xnl+06dhoPcAHyaAuIt1GumJfmnEi OgDA== X-Gm-Message-State: AIkVDXKY3kzDdwPLIhNQ68DiiaksESYRTUsPXKZAp/TTpNWwjY/uOI84vxCbgExDHwxt28m4dqInelntDQTjWw== X-Received: by 10.202.185.198 with SMTP id j189mr10658934oif.32.1482225937253; Tue, 20 Dec 2016 01:25:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.45.200 with HTTP; Tue, 20 Dec 2016 01:25:36 -0800 (PST) In-Reply-To: References: <20161217222812.GA4979@ox> From: Vincenzo Maffione Date: Tue, 20 Dec 2016 10:25:36 +0100 Message-ID: Subject: Re: cxgbe's native netmap support broken since r307394 To: Navdeep Parhar Cc: Luigi Rizzo , "freebsd-net@freebsd.org" , Giuseppe Lettieri Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 09:25:38 -0000 Ok, applied to the netmap github repo. This fix will be published when Luigi does the next commit on FreeBSD. Cheers, Vincenzo 2016-12-19 20:05 GMT+01:00 Navdeep Parhar : > IFNET_RLOCK will work, thanks. > > Navdeep > > On Mon, Dec 19, 2016 at 3:21 AM, Vincenzo Maffione wrote: >> Hi Navdeep, >> >> Indeed, we have reviewed the code, and we think it is ok to >> implement nm_os_ifnet_lock() with IFNET_RLOCK(), instead of using >> IFNET_WLOCK(). >> Since IFNET_RLOCK() results into sx_slock(), this should fix the issue. >> >> On FreeBSD, this locking is needed to protect a flag read by nm_iszombie(). >> However, on Linux the same lock is also needed to protect the call to >> the nm_hw_register() callback, so we prefer to have an "unified" >> locking scheme, i.e. always calling nm_hw_register under the lock. >> >> Does this make sense to you? Would it be easy for you to make a quick >> test by replacing IFNET_WLOCK with IFNET_RLOCK? >> >> Thanks, >> Vincenzo >> >> 2016-12-17 23:28 GMT+01:00 Navdeep Parhar : >>> Luigi, Vincenzo, >>> >>> The last major update to netmap (r307394 and followups) broke cxgbe's >>> native netmap support. The problem is that netmap_hw_reg now holds an >>> rw_lock around the driver's netmap_on/off routines. It has always been >>> safe for the driver to sleep during these operations but now it panics >>> instead. >>> >>> Why is IFNET_WLOCK needed here? It seems like a regression to disallow >>> sleep on the control path. >>> >>> Regards, >>> Navdeep >>> >>> begin_synchronized_op with the following non-sleepable locks held: >>> exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff8271d680) locked @ >>> /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 >>> stack backtrace: >>> #0 0xffffffff810837a5 at witness_debugger+0xe5 >>> #1 0xffffffff81084d88 at witness_warn+0x3b8 >>> #2 0xffffffff83ef2bcc at begin_synchronized_op+0x6c >>> #3 0xffffffff83f14beb at cxgbe_netmap_reg+0x5b >>> #4 0xffffffff809846f1 at netmap_hw_reg+0x81 >>> #5 0xffffffff809806de at netmap_do_regif+0x19e >>> #6 0xffffffff8098121d at netmap_ioctl+0x7ad >>> #7 0xffffffff8098682f at freebsd_netmap_ioctl+0x5f >> >> >> >> -- >> Vincenzo Maffione >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Vincenzo Maffione From owner-freebsd-net@freebsd.org Tue Dec 20 20:45:16 2016 Return-Path: Delivered-To: freebsd-net@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 45450C89A94 for ; Tue, 20 Dec 2016 20:45:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wj0-x233.google.com (mail-wj0-x233.google.com [IPv6:2a00:1450:400c:c01::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF18C16DB; Tue, 20 Dec 2016 20:45:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wj0-x233.google.com with SMTP id xy5so185826115wjc.0; Tue, 20 Dec 2016 12:45:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=E0exgaAZkvJ/zIaJs6K7e+sZ6ZjgZ0bymYyxRbdzwWI=; b=iFkQS/CUt6LQnF/roQJOmwtg36u1g2lm8sIrK4DoQEo7raOLUvILVhPxxsB2dBhfpV w1YghGWvL2DHwQ+P//aWv/Epvdlm8ZLORa0xH8EUxmLwrlg/lXiFtC0W6VopEV3XfCyN 2jzOtADW3R49lJmgkZ6yTeM+PQVv6cw3Nfmp9vtGbm9aN4X5QwVj/iQAUyQ5g3H1dbFW HSd2S4OxeQNhDQBPWCmTi71A4lRKhZ51QXjQ96WpU0UlJwNZ5vPIKLGWrTfATLZ11McT xuTKWLy2/q5MhlsLEhkfWUkOj4/XQQYtscEh8kAnoCxISLOy/5KD5ZLUNHp5UEqqSw4O xevQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=E0exgaAZkvJ/zIaJs6K7e+sZ6ZjgZ0bymYyxRbdzwWI=; b=MzDz2hMowVEHjDtycYof8wRJORHe/7TqpRo3x8tu3HEJV6AUpTBfhVJ4uD3DUzSu5r qlTig9rYwIjrIDNt2FX94gEHhfkYSQ/nfMfKiPcRgoTtMGXERdWEQNdsnzxcPdcjoaYj l568nnCcgDbhnoP+C/+NdOg+1EYPK8jFhcpXcYS+hl2WIDeYybR0GgmSdXOLhlFOFxYi 4rYyVIHJWorWB06XWyKEoxl2SuS7bd48/vraZSP/gG2xlhE8OTNYcZzHYTDMngPSDVXZ JfRvXpMrtKTCJi/yXE8AziBA0WA5NtK5yxXHffO578lyc1kokQBIeDCpkMV45lTeCvE5 7wIQ== X-Gm-Message-State: AIkVDXLnaks+uORbUik4B7dXGlpOpgtJs7J1S0ivBKQVaxyzo9SVbkNDcpHrCjfDOZDkumk3gJkiNUvy/fZ+RA== X-Received: by 10.194.67.67 with SMTP id l3mr521656wjt.151.1482266714116; Tue, 20 Dec 2016 12:45:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.44.1 with HTTP; Tue, 20 Dec 2016 12:45:13 -0800 (PST) In-Reply-To: References: <20161217222812.GA4979@ox> From: Adrian Chadd Date: Tue, 20 Dec 2016 12:45:13 -0800 Message-ID: Subject: Re: cxgbe's native netmap support broken since r307394 To: Vincenzo Maffione Cc: Navdeep Parhar , "freebsd-net@freebsd.org" , Luigi Rizzo , Giuseppe Lettieri Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 20:45:16 -0000 hi, What's the commit? We should get it into -HEAD asap. -adrian On 20 December 2016 at 01:25, Vincenzo Maffione wrote: > Ok, applied to the netmap github repo. > This fix will be published when Luigi does the next commit on FreeBSD. > > Cheers, > Vincenzo > > 2016-12-19 20:05 GMT+01:00 Navdeep Parhar : >> IFNET_RLOCK will work, thanks. >> >> Navdeep >> >> On Mon, Dec 19, 2016 at 3:21 AM, Vincenzo Maffione wrote: >>> Hi Navdeep, >>> >>> Indeed, we have reviewed the code, and we think it is ok to >>> implement nm_os_ifnet_lock() with IFNET_RLOCK(), instead of using >>> IFNET_WLOCK(). >>> Since IFNET_RLOCK() results into sx_slock(), this should fix the issue. >>> >>> On FreeBSD, this locking is needed to protect a flag read by nm_iszombie(). >>> However, on Linux the same lock is also needed to protect the call to >>> the nm_hw_register() callback, so we prefer to have an "unified" >>> locking scheme, i.e. always calling nm_hw_register under the lock. >>> >>> Does this make sense to you? Would it be easy for you to make a quick >>> test by replacing IFNET_WLOCK with IFNET_RLOCK? >>> >>> Thanks, >>> Vincenzo >>> >>> 2016-12-17 23:28 GMT+01:00 Navdeep Parhar : >>>> Luigi, Vincenzo, >>>> >>>> The last major update to netmap (r307394 and followups) broke cxgbe's >>>> native netmap support. The problem is that netmap_hw_reg now holds an >>>> rw_lock around the driver's netmap_on/off routines. It has always been >>>> safe for the driver to sleep during these operations but now it panics >>>> instead. >>>> >>>> Why is IFNET_WLOCK needed here? It seems like a regression to disallow >>>> sleep on the control path. >>>> >>>> Regards, >>>> Navdeep >>>> >>>> begin_synchronized_op with the following non-sleepable locks held: >>>> exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff8271d680) locked @ >>>> /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 >>>> stack backtrace: >>>> #0 0xffffffff810837a5 at witness_debugger+0xe5 >>>> #1 0xffffffff81084d88 at witness_warn+0x3b8 >>>> #2 0xffffffff83ef2bcc at begin_synchronized_op+0x6c >>>> #3 0xffffffff83f14beb at cxgbe_netmap_reg+0x5b >>>> #4 0xffffffff809846f1 at netmap_hw_reg+0x81 >>>> #5 0xffffffff809806de at netmap_do_regif+0x19e >>>> #6 0xffffffff8098121d at netmap_ioctl+0x7ad >>>> #7 0xffffffff8098682f at freebsd_netmap_ioctl+0x5f >>> >>> >>> >>> -- >>> Vincenzo Maffione >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > -- > Vincenzo Maffione > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@freebsd.org Wed Dec 21 12:59:32 2016 Return-Path: Delivered-To: freebsd-net@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 13D93C8AB8F for ; Wed, 21 Dec 2016 12:59:32 +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 034D21DE9 for ; Wed, 21 Dec 2016 12:59:32 +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 uBLCxV3S081968 for ; Wed, 21 Dec 2016 12:59:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 212283] oversized IP datagrams on raw socket with IP_RAWOUTPUT hang network interface drivers Date: Wed, 21 Dec 2016 12:59:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mat@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 12:59:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212283 --- Comment #19 from Mathieu Arnold --- Still a problem with 11.0-RELEASE-p5. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Dec 21 17:45:00 2016 Return-Path: Delivered-To: freebsd-net@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 5952CC8AAB3 for ; Wed, 21 Dec 2016 17:45:00 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F0A8F1A23 for ; Wed, 21 Dec 2016 17:44:59 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id uBLHivoJ042991; Wed, 21 Dec 2016 18:44:58 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id A57B0401; Wed, 21 Dec 2016 18:44:57 +0100 (CET) Message-ID: <585ABF99.8000500@omnilan.de> Date: Wed, 21 Dec 2016 18:44:57 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD Net CC: Vincenzo Maffione Subject: qualified vale(4) uplink interface clones Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Wed, 21 Dec 2016 18:44:58 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 17:45:00 -0000 Dear netmap gurus, I'm getting different crashes if using vale(4) as a drop in replacement for if_bridge(4). Before collecting dumps I'd like to know if the setup, which I need to keep (including a MTU of 9000 bytes), is meant to be supported at all with netmap. Usually I have two GbE ports forming one lagg(4) interface, like this: lagg0mplx: flags=8943 metric 0 mtu 9000 … laggproto lacp lagghash l2,l3,l4 laggport: igb0 flags=1c laggport: igb1 flags=1c Then I have lots of cloned VLAN-specific interfaces (utilizing Kawela's hardware VLAN filter): vldmz: flags=8942 metric 0 mtu 9000 … vlan: 1 vlanpcp: 0 parent interface: lagg0mplx groups: vlan vlvnl: flags=8942 metric 0 mtu 9000 … vlan: 2 vlanpcp: 0 parent interface: lagg0mplx groups: vlan vlegn: flags=8943 metric 0 mtu 9000 … vlan: 3 vlanpcp: 0 parent interface: lagg0mplx groups: vlan These are then uplink interfaces for different if_bridge(4)es. Now I can use 'vale-ctl -h vale0:vlegn' , but as soon as there's any traffic over lagg0mplx (even not related to the vlegn cloned interface), the machine crashes. Is somebody interested in dumps? Or is this a too weird setup? Thanks, -harry From owner-freebsd-net@freebsd.org Wed Dec 21 19:15:15 2016 Return-Path: Delivered-To: freebsd-net@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 802C3C8B62D for ; Wed, 21 Dec 2016 19:15:15 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 43D8D1A8F; Wed, 21 Dec 2016 19:15:15 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x243.google.com with SMTP id 3so959235oih.1; Wed, 21 Dec 2016 11:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RrZ7RmAjJmLZhTV8ZUsup4NFLqM8WSqCp0LWXTXhnWA=; b=Bug6KmtbUY3ZO3dMbEJWiP898ywv5AkkGT5QKOry527QctP+tzSwQwErCN7HTnSwRf /NyPMKx35qvVBjIko31fiqoMwH4fkXBgGPWOX2nUokL0uKTawES+DtzheZfdUtmtzDN7 rL68/JJ3G6lf1Ykh8t5h3UIMoxSMBBxOMRseYSOCyhOdwtiKNBwjZEZD0JtAq1KdcVGb calerw0jTm6QBGFBipEAWkjPMCQnssxb0AK5q9irGiocQOGu+MXkR6G04PWRpmCjkIkb 9muIfNFUhJEJ63SP2l9QMZT91mYeL55QmQCVyYacc3dKbbf7eyAnZ22RbmJw6MPG00qB ad5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RrZ7RmAjJmLZhTV8ZUsup4NFLqM8WSqCp0LWXTXhnWA=; b=TaCGRg3jqt70YkfWFyyAmcCO0s6m4bAcO2jjSBMAxE1tPAi1pF3ISUltUFgN40vnFE E21hGP1Oemu0VMjUYP1Dn4EHRNqXgHay9nE/MMGjvKDDBITmnQnX/8vmnMseuGIEKN5e ws8GCr1bVlGy7qk6M54zo/hmV9AU7y84LSgH1g/9tZcmeGebqpUvlR+YGi9rdFgfIK0M A47qokHeIrKUhJjCvLuTi+EY20Wo5CZSMuW/SkOTtr3Wsd2b3S7hXLB6GaRs1NFMJwbD +0DyDnwKtktIbkTwG/nsWi+/0vbI4EyK1FAKuJ8IaaHvoj/rjOT8cb3j4nJTTDIM1NSW ikFw== X-Gm-Message-State: AIkVDXKlyBLqgziplxkmLcW1d+hKZFRlWOG2M9yRrkFZZ2AWsIukJLcOqoDvt8uW08lcj+rNf4DxJznJyJZtsg== X-Received: by 10.157.20.235 with SMTP id r40mr3224582otr.143.1482347714490; Wed, 21 Dec 2016 11:15:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.45.200 with HTTP; Wed, 21 Dec 2016 11:15:14 -0800 (PST) In-Reply-To: References: <20161217222812.GA4979@ox> From: Vincenzo Maffione Date: Wed, 21 Dec 2016 20:15:14 +0100 Message-ID: Subject: Re: cxgbe's native netmap support broken since r307394 To: Adrian Chadd Cc: Navdeep Parhar , "freebsd-net@freebsd.org" , Luigi Rizzo , Giuseppe Lettieri Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 19:15:15 -0000 Hi, There is no commit related to that in the FreeBSD svn or git. The fix has been published to the github netmap repository here (branch master): https://github.com/luigirizzo/netmap What we should do is to import all the recent updates from the github into HEAD. I can prepare a patch for HEAD, if you wish. Just let me know. Cheers, Vincenzo 2016-12-20 21:45 GMT+01:00 Adrian Chadd : > hi, > > What's the commit? We should get it into -HEAD asap. > > > -adrian > > > On 20 December 2016 at 01:25, Vincenzo Maffione wrote: >> Ok, applied to the netmap github repo. >> This fix will be published when Luigi does the next commit on FreeBSD. >> >> Cheers, >> Vincenzo >> >> 2016-12-19 20:05 GMT+01:00 Navdeep Parhar : >>> IFNET_RLOCK will work, thanks. >>> >>> Navdeep >>> >>> On Mon, Dec 19, 2016 at 3:21 AM, Vincenzo Maffione wrote: >>>> Hi Navdeep, >>>> >>>> Indeed, we have reviewed the code, and we think it is ok to >>>> implement nm_os_ifnet_lock() with IFNET_RLOCK(), instead of using >>>> IFNET_WLOCK(). >>>> Since IFNET_RLOCK() results into sx_slock(), this should fix the issue. >>>> >>>> On FreeBSD, this locking is needed to protect a flag read by nm_iszombie(). >>>> However, on Linux the same lock is also needed to protect the call to >>>> the nm_hw_register() callback, so we prefer to have an "unified" >>>> locking scheme, i.e. always calling nm_hw_register under the lock. >>>> >>>> Does this make sense to you? Would it be easy for you to make a quick >>>> test by replacing IFNET_WLOCK with IFNET_RLOCK? >>>> >>>> Thanks, >>>> Vincenzo >>>> >>>> 2016-12-17 23:28 GMT+01:00 Navdeep Parhar : >>>>> Luigi, Vincenzo, >>>>> >>>>> The last major update to netmap (r307394 and followups) broke cxgbe's >>>>> native netmap support. The problem is that netmap_hw_reg now holds an >>>>> rw_lock around the driver's netmap_on/off routines. It has always been >>>>> safe for the driver to sleep during these operations but now it panics >>>>> instead. >>>>> >>>>> Why is IFNET_WLOCK needed here? It seems like a regression to disallow >>>>> sleep on the control path. >>>>> >>>>> Regards, >>>>> Navdeep >>>>> >>>>> begin_synchronized_op with the following non-sleepable locks held: >>>>> exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff8271d680) locked @ >>>>> /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 >>>>> stack backtrace: >>>>> #0 0xffffffff810837a5 at witness_debugger+0xe5 >>>>> #1 0xffffffff81084d88 at witness_warn+0x3b8 >>>>> #2 0xffffffff83ef2bcc at begin_synchronized_op+0x6c >>>>> #3 0xffffffff83f14beb at cxgbe_netmap_reg+0x5b >>>>> #4 0xffffffff809846f1 at netmap_hw_reg+0x81 >>>>> #5 0xffffffff809806de at netmap_do_regif+0x19e >>>>> #6 0xffffffff8098121d at netmap_ioctl+0x7ad >>>>> #7 0xffffffff8098682f at freebsd_netmap_ioctl+0x5f >>>> >>>> >>>> >>>> -- >>>> Vincenzo Maffione >>>> _______________________________________________ >>>> freebsd-net@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> >> >> >> -- >> Vincenzo Maffione >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- Vincenzo Maffione From owner-freebsd-net@freebsd.org Wed Dec 21 19:30:59 2016 Return-Path: Delivered-To: freebsd-net@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 C4AD6C8BA6C for ; Wed, 21 Dec 2016 19:30:59 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45DB01055; Wed, 21 Dec 2016 19:30:59 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id u144so32267087wmu.0; Wed, 21 Dec 2016 11:30:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=HXVk0AE87fCTs3y79LkoaSyRgJ0hmOyqttEyD2PDW9A=; b=Y0ivVl0qq4R+g8nI5HFyAf3HLmfy/vUzc4dQImP0ffdYFVHGTLX3+L+TBFcqlaejHU P+kKrEThb81zJYgOYB6LypMI4jm4FyYGcvHMIQjZyTktjQMLjymHF73scpqnl9XNcZHp DnSUm2/gbCwbwy0tQfgDTmDoOXDp6QrMikqeFPcySIAUA5+ew07lsq/p7DiEEU7d8Ju2 PfQNZfGINRMCYw26pZjx2nkqUUxByol+cd++h1oKuzV8GxUYR+Hdj1QKgNRJ3LTQHFTH kqAvmxQaCGqdyrrVosD2MUAiJW1hBklwB6pv7IGfWlPNbZdrTpXeFvV3M7I81/TJSuSC QDyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=HXVk0AE87fCTs3y79LkoaSyRgJ0hmOyqttEyD2PDW9A=; b=oCZMqor+F2n/0lK3jewQI3vMrilbY4BgIsVG4ULKcWQit/d+0kEwb3RAQu2BsYY6b7 +7xh9LfmXjbkVbpxgqbItgfq8+JjYpG3XTSR5P75JcP40BNfMDFNVHhwKsPl9fA9JeFv XzNjrTELZH5mUzM56Q6oX8aNc2mV4OOiR/f2b7UNlG5eyUoUZAZ0rk5fzgrf8afTeEC+ HLjhvlwLcLSzeJUltMzCmJX0hcUddoMUvK7hQ1oa1h3pfqxqoC1Gkxr3WZnYLKBL0aFu H2MTCDLSXeRHbUW0LP+KcfCh70W3u+MOkQqQebOFrjos/WX0Wp4HCsBSQb5Vq8llwYPu vKLg== X-Gm-Message-State: AIkVDXIiDUGzH2xBb3T6nnnZdRh70ye2fM82s2Vh3VPo7OGvpf0RMdGJt2qVaa6HNkRrnRXTGbQ8y0YXwEfMvA== X-Received: by 10.28.211.72 with SMTP id k69mr6084817wmg.137.1482348657598; Wed, 21 Dec 2016 11:30:57 -0800 (PST) MIME-Version: 1.0 Sender: rizzo.unipi@gmail.com Received: by 10.28.196.207 with HTTP; Wed, 21 Dec 2016 11:30:56 -0800 (PST) In-Reply-To: References: <20161217222812.GA4979@ox> From: Luigi Rizzo Date: Wed, 21 Dec 2016 11:30:56 -0800 X-Google-Sender-Auth: N4tAfDYVQjNHQG8xvMbn4YwV9FE Message-ID: Subject: Re: cxgbe's native netmap support broken since r307394 To: Vincenzo Maffione Cc: Adrian Chadd , Navdeep Parhar , "freebsd-net@freebsd.org" , Luigi Rizzo , Giuseppe Lettieri Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 19:30:59 -0000 On Wed, Dec 21, 2016 at 11:15 AM, Vincenzo Maffione wrote: > Hi, > There is no commit related to that in the FreeBSD svn or git. > > The fix has been published to the github netmap repository here > (branch master): https://github.com/luigirizzo/netmap > > What we should do is to import all the recent updates from the github > into HEAD. I can prepare a patch for HEAD, if you wish. Just let me > know. I just checked and the diff between FreeBSD head and netmap head in github is almost 3k lines due to a lot of recent refactoring. So, if there is an easy way to extract just the locking change that would be preferable as an interim solution. cheers luigi > > Cheers, > Vincenzo > > > 2016-12-20 21:45 GMT+01:00 Adrian Chadd : >> hi, >> >> What's the commit? We should get it into -HEAD asap. >> >> >> -adrian >> >> >> On 20 December 2016 at 01:25, Vincenzo Maffione wrote: >>> Ok, applied to the netmap github repo. >>> This fix will be published when Luigi does the next commit on FreeBSD. >>> >>> Cheers, >>> Vincenzo >>> >>> 2016-12-19 20:05 GMT+01:00 Navdeep Parhar : >>>> IFNET_RLOCK will work, thanks. >>>> >>>> Navdeep >>>> >>>> On Mon, Dec 19, 2016 at 3:21 AM, Vincenzo Maffione wrote: >>>>> Hi Navdeep, >>>>> >>>>> Indeed, we have reviewed the code, and we think it is ok to >>>>> implement nm_os_ifnet_lock() with IFNET_RLOCK(), instead of using >>>>> IFNET_WLOCK(). >>>>> Since IFNET_RLOCK() results into sx_slock(), this should fix the issue. >>>>> >>>>> On FreeBSD, this locking is needed to protect a flag read by nm_iszombie(). >>>>> However, on Linux the same lock is also needed to protect the call to >>>>> the nm_hw_register() callback, so we prefer to have an "unified" >>>>> locking scheme, i.e. always calling nm_hw_register under the lock. >>>>> >>>>> Does this make sense to you? Would it be easy for you to make a quick >>>>> test by replacing IFNET_WLOCK with IFNET_RLOCK? >>>>> >>>>> Thanks, >>>>> Vincenzo >>>>> >>>>> 2016-12-17 23:28 GMT+01:00 Navdeep Parhar : >>>>>> Luigi, Vincenzo, >>>>>> >>>>>> The last major update to netmap (r307394 and followups) broke cxgbe's >>>>>> native netmap support. The problem is that netmap_hw_reg now holds an >>>>>> rw_lock around the driver's netmap_on/off routines. It has always been >>>>>> safe for the driver to sleep during these operations but now it panics >>>>>> instead. >>>>>> >>>>>> Why is IFNET_WLOCK needed here? It seems like a regression to disallow >>>>>> sleep on the control path. >>>>>> >>>>>> Regards, >>>>>> Navdeep >>>>>> >>>>>> begin_synchronized_op with the following non-sleepable locks held: >>>>>> exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff8271d680) locked @ >>>>>> /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 >>>>>> stack backtrace: >>>>>> #0 0xffffffff810837a5 at witness_debugger+0xe5 >>>>>> #1 0xffffffff81084d88 at witness_warn+0x3b8 >>>>>> #2 0xffffffff83ef2bcc at begin_synchronized_op+0x6c >>>>>> #3 0xffffffff83f14beb at cxgbe_netmap_reg+0x5b >>>>>> #4 0xffffffff809846f1 at netmap_hw_reg+0x81 >>>>>> #5 0xffffffff809806de at netmap_do_regif+0x19e >>>>>> #6 0xffffffff8098121d at netmap_ioctl+0x7ad >>>>>> #7 0xffffffff8098682f at freebsd_netmap_ioctl+0x5f >>>>> >>>>> >>>>> >>>>> -- >>>>> Vincenzo Maffione >>>>> _______________________________________________ >>>>> freebsd-net@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>> >>> >>> >>> -- >>> Vincenzo Maffione >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > -- > Vincenzo Maffione -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Wed Dec 21 21:16:09 2016 Return-Path: Delivered-To: freebsd-net@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 AB887C8B707 for ; Wed, 21 Dec 2016 21:16:09 +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 9B29E12B7 for ; Wed, 21 Dec 2016 21:16:09 +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 uBLLG92p064704 for ; Wed, 21 Dec 2016 21:16:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 213115] ifconfig ipfw create inside a VNET jail leads to kernel Panic Date: Wed, 21 Dec 2016 21:16:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: vimage X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 21:16:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213115 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open --- Comment #3 from Ed Maste --- Can you test with 11.0? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Wed Dec 21 21:37:44 2016 Return-Path: Delivered-To: freebsd-net@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 8CA94C8BC69 for ; Wed, 21 Dec 2016 21:37:44 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x244.google.com (mail-oi0-x244.google.com [IPv6:2607:f8b0:4003:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CB851EA8; Wed, 21 Dec 2016 21:37:44 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x244.google.com with SMTP id f201so30051994oib.0; Wed, 21 Dec 2016 13:37:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9DqsNdVjOtMNfOonX+jOJuZYSzQskHmFcNtwbEpFTdU=; b=g2IYFAqxXf9vgRMcTW4LMBR88KwbVRz3uslxrfpBuE6mfWtteeGyaHWh0Pu2T77kSv 4IGPRoa4jIIfJCU92QE2DcMeWMwhu2SyRsJrBq8bn3f2+PBj5tJvj9dKUncDpjoq19gH lrQTWUkpSLzXSKjdrbG91CmuveYyWxyus2ueCTTR3Srs7mQDoeAOLaykataXsgplQ62O EpjAcHzsGjIK0T9UyNMgEzg0MxbBQOO9OcVRR2SPQLwJAZugs2voaSno2EILPwaTMxMD NpLJt/o25VCkDzaJJG1v40L4UO4thhavCQ6t3Ua/xC7lOxrtely4zEX05z/Lp2j/Wvk5 H2uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9DqsNdVjOtMNfOonX+jOJuZYSzQskHmFcNtwbEpFTdU=; b=i9wHKKxhppmjwnR2u3jYGrDKpccr9M9ZxikRizyhdtAQrzl6ZoKb1ehwlWIN8S1eHm 6R23Vr2g1wr99L1iKVC6D6Z7IxZMaLoyQM6kWMGPSj+AaDMKBk4hknOqN1UQ9z2o1I4S PhWcf/WUdbZSt2k3P2bQdNEZZ4lkR90VufxoQ1bZgz79NxidhC6D+Sh1bcjnBpnVWrth mx5zONz9OrQGPCV5ei/VwIZTivaH3jyKoYWfGhrFkhaWlSGUpiFUjxGDiIbSB9tSpvrr Uf/iC17VBVxfEiGomLNFjuCg+QabGtdfwtKN6/9ws8LPqr7B7F+6lZ3erg84kcOeTsUu S83g== X-Gm-Message-State: AIkVDXJGr8JGz3AajhO+gaMqFGH9TYsWfJUERJBIGVqlExMTfDsGVcSI4w7Z7QKa2CEfPCb36H9UpVzroKVtXw== X-Received: by 10.202.107.76 with SMTP id g73mr3647348oic.1.1482356263401; Wed, 21 Dec 2016 13:37:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.45.200 with HTTP; Wed, 21 Dec 2016 13:37:42 -0800 (PST) In-Reply-To: References: <20161217222812.GA4979@ox> From: Vincenzo Maffione Date: Wed, 21 Dec 2016 22:37:42 +0100 Message-ID: Subject: Re: cxgbe's native netmap support broken since r307394 To: Luigi Rizzo Cc: Adrian Chadd , Navdeep Parhar , "freebsd-net@freebsd.org" , Luigi Rizzo , Giuseppe Lettieri Content-Type: multipart/mixed; boundary=001a11417c3882e509054431f6ed X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 21:37:44 -0000 --001a11417c3882e509054431f6ed Content-Type: text/plain; charset=UTF-8 Hi Luigi, I attached a minimal change containing two fixes: - change IFNET_WLOCK into IFNET_RLOCK, to fix the cxgbe issue related to this thread - use the proper locking functions for the "worker_lock", unrelated but needed to avoid the O.S. to trap because of a mismatch between MTX_SPIN and MTX_DEF. Cheers, Vincenzo 2016-12-21 20:30 GMT+01:00 Luigi Rizzo : > On Wed, Dec 21, 2016 at 11:15 AM, Vincenzo Maffione > wrote: >> Hi, >> There is no commit related to that in the FreeBSD svn or git. >> >> The fix has been published to the github netmap repository here >> (branch master): https://github.com/luigirizzo/netmap >> >> What we should do is to import all the recent updates from the github >> into HEAD. I can prepare a patch for HEAD, if you wish. Just let me >> know. > > I just checked and the diff between FreeBSD head and netmap head > in github is almost 3k lines due to a lot of recent refactoring. > So, if there is an easy way to extract just the locking change that would > be preferable as an interim solution. > > cheers > luigi > >> >> Cheers, >> Vincenzo >> >> >> 2016-12-20 21:45 GMT+01:00 Adrian Chadd : >>> hi, >>> >>> What's the commit? We should get it into -HEAD asap. >>> >>> >>> -adrian >>> >>> >>> On 20 December 2016 at 01:25, Vincenzo Maffione wrote: >>>> Ok, applied to the netmap github repo. >>>> This fix will be published when Luigi does the next commit on FreeBSD. >>>> >>>> Cheers, >>>> Vincenzo >>>> >>>> 2016-12-19 20:05 GMT+01:00 Navdeep Parhar : >>>>> IFNET_RLOCK will work, thanks. >>>>> >>>>> Navdeep >>>>> >>>>> On Mon, Dec 19, 2016 at 3:21 AM, Vincenzo Maffione wrote: >>>>>> Hi Navdeep, >>>>>> >>>>>> Indeed, we have reviewed the code, and we think it is ok to >>>>>> implement nm_os_ifnet_lock() with IFNET_RLOCK(), instead of using >>>>>> IFNET_WLOCK(). >>>>>> Since IFNET_RLOCK() results into sx_slock(), this should fix the issue. >>>>>> >>>>>> On FreeBSD, this locking is needed to protect a flag read by nm_iszombie(). >>>>>> However, on Linux the same lock is also needed to protect the call to >>>>>> the nm_hw_register() callback, so we prefer to have an "unified" >>>>>> locking scheme, i.e. always calling nm_hw_register under the lock. >>>>>> >>>>>> Does this make sense to you? Would it be easy for you to make a quick >>>>>> test by replacing IFNET_WLOCK with IFNET_RLOCK? >>>>>> >>>>>> Thanks, >>>>>> Vincenzo >>>>>> >>>>>> 2016-12-17 23:28 GMT+01:00 Navdeep Parhar : >>>>>>> Luigi, Vincenzo, >>>>>>> >>>>>>> The last major update to netmap (r307394 and followups) broke cxgbe's >>>>>>> native netmap support. The problem is that netmap_hw_reg now holds an >>>>>>> rw_lock around the driver's netmap_on/off routines. It has always been >>>>>>> safe for the driver to sleep during these operations but now it panics >>>>>>> instead. >>>>>>> >>>>>>> Why is IFNET_WLOCK needed here? It seems like a regression to disallow >>>>>>> sleep on the control path. >>>>>>> >>>>>>> Regards, >>>>>>> Navdeep >>>>>>> >>>>>>> begin_synchronized_op with the following non-sleepable locks held: >>>>>>> exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff8271d680) locked @ >>>>>>> /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 >>>>>>> stack backtrace: >>>>>>> #0 0xffffffff810837a5 at witness_debugger+0xe5 >>>>>>> #1 0xffffffff81084d88 at witness_warn+0x3b8 >>>>>>> #2 0xffffffff83ef2bcc at begin_synchronized_op+0x6c >>>>>>> #3 0xffffffff83f14beb at cxgbe_netmap_reg+0x5b >>>>>>> #4 0xffffffff809846f1 at netmap_hw_reg+0x81 >>>>>>> #5 0xffffffff809806de at netmap_do_regif+0x19e >>>>>>> #6 0xffffffff8098121d at netmap_ioctl+0x7ad >>>>>>> #7 0xffffffff8098682f at freebsd_netmap_ioctl+0x5f >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Vincenzo Maffione >>>>>> _______________________________________________ >>>>>> freebsd-net@freebsd.org mailing list >>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>>>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>>> >>>> >>>> >>>> -- >>>> Vincenzo Maffione >>>> _______________________________________________ >>>> freebsd-net@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> >> >> >> -- >> Vincenzo Maffione > > > > -- > -----------------------------------------+------------------------------- > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > TEL +39-050-2217533 . via Diotisalvi 2 > Mobile +39-338-6809875 . 56122 PISA (Italy) > -----------------------------------------+------------------------------- -- Vincenzo Maffione --001a11417c3882e509054431f6ed Content-Type: text/x-patch; charset=US-ASCII; name="netmap-fix.patch" Content-Disposition: attachment; filename="netmap-fix.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iwzglhe60 ZGlmZiAtLWdpdCBhL3N5cy9kZXYvbmV0bWFwL25ldG1hcF9mcmVlYnNkLmMgYi9zeXMvZGV2L25l dG1hcC9uZXRtYXBfZnJlZWJzZC5jCmluZGV4IGZkNDU5MmI3YjVhLi41MTViZTY2NDhlYSAxMDA2 NDQKLS0tIGEvc3lzL2Rldi9uZXRtYXAvbmV0bWFwX2ZyZWVic2QuYworKysgYi9zeXMvZGV2L25l dG1hcC9uZXRtYXBfZnJlZWJzZC5jCkBAIC05Miw3ICs5Miw3IEBAIG5tX29zX3NlbGluZm9fdW5p bml0KE5NX1NFTElORk9fVCAqc2kpCiB2b2lkCiBubV9vc19pZm5ldF9sb2NrKHZvaWQpCiB7Ci0J SUZORVRfV0xPQ0soKTsKKwlJRk5FVF9STE9DSygpOwogfQogC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kJ bXR4X3VubG9ja19zcGluKCZubWstPndvcmtlcl9sb2NrKTsKIAogCQkJCWN0eC0+d29ya2VyX2Zu KGN0eC0+d29ya2VyX3ByaXZhdGUpOyAvKiB3b3JrZXIgYm9keSAqLwogCkBAIC0xMDk0LDcgKzEw OTQsNyBAQCBubV9rdGhyZWFkX3dvcmtlcih2b2lkICpkYXRhKQogCQkJCSAgICAmbm1rLT53b3Jr ZXJfbG9jaywgIm5ta19ldiIsIGh6KTsKIAkJCQlubWstPnNjaGVkdWxlZCsrOwogCQkJfQotCQkJ bXR4X3VubG9jaygmbm1rLT53b3JrZXJfbG9jayk7CisJCQltdHhfdW5sb2NrX3NwaW4oJm5tay0+ d29ya2VyX2xvY2spOwogCQl9CiAJfQogCg== --001a11417c3882e509054431f6ed-- From owner-freebsd-net@freebsd.org Thu Dec 22 02:53:02 2016 Return-Path: Delivered-To: freebsd-net@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 AFBE7C8BEB6 for ; Thu, 22 Dec 2016 02:53:02 +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 95F97195 for ; Thu, 22 Dec 2016 02:53:02 +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 uBM2r1b3039107 for ; Thu, 22 Dec 2016 02:53:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 196361] Constrain IPv6 routes to each FIB (Consistent with IPv4 route behaviour) Date: Thu, 22 Dec 2016 02:53:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jhujhiti@adjectivism.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.23 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, 22 Dec 2016 02:53:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196361 --- Comment #9 from jhujhiti@adjectivism.org --- Created attachment 178192 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178192&action= =3Dedit Respect net.add_addr_allfibs=3D0 for inet6 (revision 1) I didn't forget about this! I implemented against 10.3 about a year ago and finally found the time to port it to HEAD. This patch essentially makes IPv6 respect net.add_addr_allfibs the same way IPv4 does. This is my first patch against base - any feedback is welcome. The changes here are mostly straightforward: where we have an ifp, we can u= se its FIB, and where we've previously assumed the default FIB, we should cons= ider that local routes can exist outside of it now. A couple changes are more noteworthy: * Default router selection (defrouter_ functions) can select multiple route= rs, up to one per FIB. defrouter_select() now takes a FIB argument to simplify = the logic inside the function. It is up to the caller to determine if we should re-select routers for all FIBs, by making multiple calls, or not. * In icmp6_reflect(), there may be an edge case where source address select= ion fails to use the correct FIB if in6ifa_ifwithaddr() returns NULL. I don't f= ully understand the situations in which this can happen (or if it's possible at all). * rtinit() didn't use the interface's FIB for both AF_INET as well as AF_IN= ET6 and I don't understand why. For all uses of the function in AF_INET context, using the interface FIB seems correct to me, but previous in_addprefix() and rip_ctlinput() seem a little strange. Here's what this looks like when net.add_addr_allfibs is 0. em0 and epair0b here are bridged together and there is a router advertising fd00::/64. em0: flags=3D8943 metric 0 = mtu 1500 options=3D42098 ether e0:cb:4e:00:5c:99 inet6 fe80::e2cb:4eff:fe00:5c99%em0 prefixlen 64 scopeid 0x1=20 inet6 fd00::e2cb:4eff:fe00:5c99 prefixlen 64 autoconf=20 nd6 options=3D23 media: Ethernet autoselect (1000baseT ) status: active epair0b: flags=3D8843 metric 0 mtu = 1500 options=3D8 ether 04:ef:30:02:88:af inet6 fe80::6ef:30ff:fe02:88af%epair0b prefixlen 64 scopeid 0x6=20 inet6 fd00::6ef:30ff:fe02:88af prefixlen 64 autoconf=20 nd6 options=3D23 media: Ethernet 10Gbase-T (10Gbase-T ) status: active fib: 1 groups: epair=20 % ndp -na Neighbor Linklayer Address Netif Expire S F= lags fe80::ff:30ff:fe02:80d%epair0b 02:ff:30:02:08:0d epair0b 23h45m16s S R fd00::6ef:30ff:fe02:88af 04:ef:30:02:88:af epair0b permanent R= =20 fe80::6ef:30ff:fe02:88af%epair0b 04:ef:30:02:88:af epair0b permanent R= =20 fe80::ff:30ff:fe02:80d%em0 02:ff:30:02:08:0d em0 23h43m46s S R fd00::e2cb:4eff:fe00:5c99 e0:cb:4e:00:5c:99 em0 permanent R=20 fe80::e2cb:4eff:fe00:5c99%em0 e0:cb:4e:00:5c:99 em0 permanent R % ndp -np=20 fd00::/64 if=3Depair0b flags=3DLAO vltime=3D600, pltime=3D300, expire=3D8m8s, ref=3D1 advertised by fe80::ff:30ff:fe02:80d%epair0b (reachable) fe80::%epair0b/64 if=3Depair0b flags=3DLAO vltime=3Dinfinity, pltime=3Dinfinity, expire=3DNever, ref=3D0 No advertising router fd00::/64 if=3Dem0 flags=3DLAO vltime=3D600, pltime=3D300, expire=3D8m8s, ref=3D1 advertised by fe80::ff:30ff:fe02:80d%em0 (reachable) fe80::%em0/64 if=3Dem0 flags=3DLAO vltime=3Dinfinity, pltime=3Dinfinity, expire=3DNever, ref=3D0 No advertising router fe80::%lo0/64 if=3Dlo0 flags=3DLAO vltime=3Dinfinity, pltime=3Dinfinity, expire=3DNever, ref=3D0 No advertising router % netstat -rnf inet6 -F0 Routing tables Internet6: Destination Gateway Flags N= etif Expire ::/96 ::1 UGRS = lo0 default fe80::ff:30ff:fe02:80d%em0 UG = em0 ::1 link#3 UH = lo0 ::ffff:0.0.0.0/96 ::1 UGRS = lo0 fd00::/64 link#1 U = em0 fd00::e2cb:4eff:fe00:5c99 link#1 UHS = lo0 fe80::/10 ::1 UGRS = lo0 fe80::%em0/64 link#1 U = em0 fe80::e2cb:4eff:fe00:5c99%em0 link#1 UHS = lo0 fe80::%lo0/64 link#3 U = lo0 fe80::1%lo0 link#3 UHS = lo0 ff02::/16 ::1 UGRS = lo0 % netstat -rnf inet6 -F1 Routing tables (fib: 1) Internet6: Destination Gateway Flags N= etif Expire ::/96 ::1 UGRS = lo0 default fe80::ff:30ff:fe02:80d%epair0b UG epa= ir0b ::1 lo0 UHS = lo0 ::ffff:0.0.0.0/96 ::1 UGRS = lo0 fd00::/64 link#6 U epa= ir0b fd00::6ef:30ff:fe02:88af link#6 UHS = lo0 fe80::/10 ::1 UGRS = lo0 fe80::%epair0b/64 link#6 U epa= ir0b fe80::6ef:30ff:fe02:88af%epair0b link#6 UHS = lo0 ff02::/16 ::1 UGRS = lo0 % ifmcstat -f inet6 em0: inet6 fe80::e2cb:4eff:fe00:5c99%em0 scopeid 0x1 mldv2 flags=3D2 rv 2 qi 125 qri 10 uri 3 group ff01::1%em0 scopeid 0x1 mode exclude mcast-macaddr 33:33:00:00:00:01 group ff02::2:c26b:b618%em0 scopeid 0x1 mode exclude mcast-macaddr 33:33:c2:6b:b6:18 group ff02::2:ffc2:6bb6%em0 scopeid 0x1 mode exclude mcast-macaddr 33:33:ff:c2:6b:b6 group ff02::1%em0 scopeid 0x1 mode exclude mcast-macaddr 33:33:00:00:00:01 group ff02::1:ff00:5c99%em0 scopeid 0x1 mode exclude mcast-macaddr 33:33:ff:00:5c:99 lo0: inet6 fe80::1%lo0 scopeid 0x3 mldv2 flags=3D2 rv 2 qi 125 qri 10 uri 3 group ff01::1%lo0 scopeid 0x3 mode exclude group ff02::2:c26b:b618%lo0 scopeid 0x3 mode exclude group ff02::2:ffc2:6bb6%lo0 scopeid 0x3 mode exclude group ff02::1%lo0 scopeid 0x3 mode exclude group ff02::1:ff00:1%lo0 scopeid 0x3 mode exclude epair0b: inet6 fe80::6ef:30ff:fe02:88af%epair0b scopeid 0x6 mldv2 flags=3D2 rv 2 qi 125 qri 10 uri 3 group ff01::1%epair0b scopeid 0x6 mode exclude mcast-macaddr 33:33:00:00:00:01 group ff02::2:c26b:b618%epair0b scopeid 0x6 mode exclude mcast-macaddr 33:33:c2:6b:b6:18 group ff02::2:ffc2:6bb6%epair0b scopeid 0x6 mode exclude mcast-macaddr 33:33:ff:c2:6b:b6 group ff02::1%epair0b scopeid 0x6 mode exclude mcast-macaddr 33:33:00:00:00:01 group ff02::1:ff02:88af%epair0b scopeid 0x6 mode exclude mcast-macaddr 33:33:ff:02:88:af --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 03:22:11 2016 Return-Path: Delivered-To: freebsd-net@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 9A792C895ED for ; Thu, 22 Dec 2016 03:22:11 +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 89CC21B43 for ; Thu, 22 Dec 2016 03:22:11 +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 uBM3MAXF075964 for ; Thu, 22 Dec 2016 03:22:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 196361] Constrain IPv6 routes to each FIB (Consistent with IPv4 route behaviour) Date: Thu, 22 Dec 2016 03:22:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 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, 22 Dec 2016 03:22:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196361 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asomers@FreeBSD.org --- Comment #10 from Alan Somers --- jhujhiti it looks good so far. Do you think you could also add regression tests to tests/sys/netinet/fibs_test.sh? You can probably just mirror the logic in the existing loopback_and_network_routes_on_nondefault_fib, default_route_with_multiple_fibs_on_same_subnet, same_ip_multiple_ifaces_fi= b0, and subnet_route_with_multiple_fibs_on_same_subnet tests. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 04:43:41 2016 Return-Path: Delivered-To: freebsd-net@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 3EE89C8C160 for ; Thu, 22 Dec 2016 04:43:41 +0000 (UTC) (envelope-from vikashb@where-ever.za.net) Received: from mailbox.is.co.za (mailbox.is.co.za [196.35.45.20]) by mx1.freebsd.org (Postfix) with ESMTP id 13526AA4 for ; Thu, 22 Dec 2016 04:43:39 +0000 (UTC) (envelope-from vikashb@where-ever.za.net) X-AuthUser: vikashb@where-ever.za.net Received: from laptop.where-ever.za.net ([196.35.45.20]:64499) by mailbox.is.co.za with [XMail 1.22 ESMTP Server] id for from ; Thu, 22 Dec 2016 06:13:21 +0200 Subject: Re: tcp between tap interfaces To: dkleinh@phy.ucsf.edu References: <20161210215405.886061vp9d04ld6l@keck.ucsf.edu> From: Vikash Badal Cc: freebsd-net@freebsd.org Message-ID: <43529428-d97e-31c4-8ffb-95393cdbeb9b@where-ever.za.net> Date: Thu, 22 Dec 2016 06:13:18 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161210215405.886061vp9d04ld6l@keck.ucsf.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Dec 2016 04:43:41 -0000 On 11/12/2016 07:54, dkleinh@phy.ucsf.edu wrote: > I'm trying to setup a private testing environment using the bhyve > hypervisor and some virtual machines connected with tap interfaces > to a bridge. My network configuration for this environment looks like > this: > > I have a bridge interface with 5 tap interfaces, but no real interface as > this is to be virtual. The bridge interface has interface: 192.168.1.1 > This is the gateway for the VMs. Each tap interface on the (virtual) bridge > to each VM is on the 192.168.1.0/24 network. I nat the private network out > through a real interface on the host. > > I use the pf packet filter and nat is working great, each VM can connect out > to the world. The host can connect into each VM through the bridge and icmp > and udp seem to work great between the VMs on the private network, but tcp > does not seem to work. add skip on bridgeX to your pf rules alternatively you can add the filtering rules you want > That is, I cannot ssh between the VMs, but ping works and I've setup a DNS > server on one of the VMs and that works for resolving the different private VM > host names and external names. The host can ssh into each VM OK. > > I'm totally at a loss where to go with this. > > I'm running FreeBSD 10.1 on the host. > > > > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@freebsd.org Thu Dec 22 14:17:00 2016 Return-Path: Delivered-To: freebsd-net@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 B00CAC8AE9A for ; Thu, 22 Dec 2016 14:17:00 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp208.alice.it (smtp208.alice.it [82.57.200.104]) by mx1.freebsd.org (Postfix) with ESMTP id A371E19F4 for ; Thu, 22 Dec 2016 14:16:59 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (79.26.48.31) by smtp208.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 585AB83D002887E6 for freebsd-net@freebsd.org; Thu, 22 Dec 2016 15:16:50 +0100 Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) by soth.ventu (8.15.2/8.15.2) with ESMTP id uBMEGRrN090631 for ; Thu, 22 Dec 2016 15:16:30 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu From: Andrea Venturoli Subject: CARP troubles with 10.x To: freebsd-net@freebsd.org Message-ID: <248d8949-87f0-dfec-cf2d-171f5bcf4670@netfence.it> Date: Thu, 22 Dec 2016 15:16:27 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Dec 2016 14:17:00 -0000 Hello. I've been using CARP for years and I'm only getting troubles since a week or so. My setup is as follows: > |re0=10.1.2.13/10.1.2.127 fw1 fxp0=192.168.124.3| > |client re0=10.1.2.18| --- --- |192.168.124.1 router WAN| > |re0=10.1.2.15/10.1.2.127 fw2 fxp0=192.168.124.2| Client, fw1 and fw2 are FreeBSD 10.3 with the latest patches. On fw1 I have: > ifconfig_re0="inet 10.1.2.13 netmask 255.255.255.0" > ifconfig_re0_alias0="vhid 1 advskew 100 pass xxxxxx inet 10.1.2.127" > ifconfig_fxp0="inet 192.168.124.3 netmask 255.255.255.0 -tso" On fw2 I have: > ifconfig_re0="inet 10.1.2.15 netmask 255.255.255.0" > ifconfig_re0_alias0="vhid 1 pass xxxxxx inet 10.1.2.127" > ifconfig_fxp0="192.168.124.2 netmask 255.255.255.0 -tso" "client"'s gateway is 10.1.2.127. Problem is, I start ssh sessions to some external hosts from "client"; fw1 and fw2 run stateful ipfw rules and ssh is configured to use keep-alives. After a while my ssh session will stop responding and later time out; restarting them works immediately (for a while). Digging the two firewalls' logs, I saw that the connections normally go out through fw2 (which is expected due to advskew on fw1), but at some point will switch to fw1 for no reason (no network event I'm aware of has happened). Nothing is in the logs about a CARP status change on both fw1 and fw2 (net.inet.carp.log=1). Any help is appreciated, but first thing that puzzles me is that "tcpdump -l -i re0 carp" shows absolutely nothing. Shouldn't this log the CARP advertisement packets? bye & Thanks av. From owner-freebsd-net@freebsd.org Thu Dec 22 15:57:22 2016 Return-Path: Delivered-To: freebsd-net@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 94292C8BAD9 for ; Thu, 22 Dec 2016 15:57:22 +0000 (UTC) (envelope-from hhsheng@corp.netease.com) Received: from corp-front03-corp.i.nease.net (corp-front03-corp.i.nease.net [123.58.164.176]) by mx1.freebsd.org (Postfix) with ESMTP id 82F6E1A51 for ; Thu, 22 Dec 2016 15:57:19 +0000 (UTC) (envelope-from hhsheng@corp.netease.com) Received: from E13D (unknown [218.107.55.252]) by corp-front03-corp.i.nease.net (Coremail) with SMTP id sKR4CgC3vTLW91tYhKYCAA--.329S2; Thu, 22 Dec 2016 23:57:10 +0800 (HKT) Date: Thu, 22 Dec 2016 23:57:09 +0800 From: =?GB2312?B?yqK727uq?= To: freebsd-net Subject: question about fopen fd limit X-Priority: 3 X-Has-Attach: no X-Mailer: Foxmail 7, 2, 5, 140[cn] Mime-Version: 1.0 Message-ID: <2016122223570929089978@corp.netease.com> X-CM-TRANSID: sKR4CgC3vTLW91tYhKYCAA--.329S2 X-Coremail-Antispam: 1UD129KBjvJXoW7tryDCr18tw4kCw1UAr1rXrb_yoW8Zw1xpa 1ag392krWkJa4xWryvk3yI9F1Sq3y3K3yYqr1fJryqkr1Ygrs3Xrs3tFs09a4UG3ZI9ryj qa1DtFWDArs5ZaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUZmb7IF0VCYb41lb7IF0VCYb415M7k042IE4IxYO2xFxVAqjxCE w4Av424lb7Iv0xC_Zr1lb4IE77IF4wAFc2x0x2IEx4CE42xK8VAv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jIFyTuYvjxUDQ6JUUUUU X-CM-SenderInfo: xkkvxv1qj6u0tuso0v5whd2voofrz/1tbiAgARBVUojrv6bAABsJ Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Dec 2016 15:57:22 -0000 aGkgYWxsLA0KDQogICBoaX4NCiAgIHdlIGFyZSBmcm9tIENoaW5lc2UgR2FtZSBEZXZlbG9wIENv cnAsIE5ldGVhc2UuDQogICBhbmQgT25lIG9mIG91ciBwcm9kdWN0IHVzaW5nIEZyZWVCc2QgYXMg aXRzIE9TIHBsYXRmb3JtLg0KICAgVGhpcyBHYW1lIGhhcyBNaWxsaW9ucyBvZiBwbGF5ZXJzIG9u bGluZSAsIGFuZCBFYWNoIFNlcnZlciBtYXkgaG9sZHMgMjUwMDArIHRjcCBjb25uZWN0aW9uIGF0 IHRoZSBzYW1lIHRpbWUuVGhhbmtzIHRvIEJTRCBhbmQga3F1ZXVlIDopDQoNCiAgIGZvciBleGFt cGxlLCBpdCdzIG9uZSBvZiBvdXIgc2VydmVyICwgbmV0c3RhdCBjbWQgdG8gbGlzdCBjb25uZWN0 aW9ucyBvdmVyYWxsLi4uDQogICBuZXRzdGF0IC1hbiB8IGdyZXAgMTMzOTYgKGl0J3Mgb3VyIGxp c3RlbmluZyBwb3J0KSB8IHdjIC1sIA0KICAgMjMyMjENCg0KICAgIHJlY2VudGx5IHdlIGRvIHNv bWUgcGVyZm9ybWFuY2Ugb3B0aW1pemUgYW5kIHByb21vdGUgdGhpcyBjb25uZWN0IGxpbWl0IHRv IDI4MDAwKyBvciAzMDAwMCsuDQogIEJ1dCB3ZSBmaW5kIEZyZWVic2QgaGFzIGEgbGltaXQgdGhh dCB0aGlzIGh1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B3ZSBtYXkgbmVl ZCB0byANCiAgZmluZCBzb21lIG90aGVyIHBsYW4gdG8gcmVzb2x2ZWQgdGhpcyBzdWZmZXJpbmcg dGhpbmcuDQogIExvTCwgdGhhbmsgeW91ICEhISEhDQoNCnlvdXJzIHNpbmNlcmVseQ0KICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2luc29uIHNoZW5nDQoNCg0Kd2luc29u IHNoZW5nDQo= From owner-freebsd-net@freebsd.org Thu Dec 22 17:07:34 2016 Return-Path: Delivered-To: freebsd-net@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 40FF0C8D4D8 for ; Thu, 22 Dec 2016 17:07:34 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from hz.citrin.ru (hz.citrin.ru [IPv6:2a01:4f8:d16:10c3::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C0B9ACE for ; Thu, 22 Dec 2016 17:07:33 +0000 (UTC) (envelope-from citrin+bsd@citrin.ru) Received: from x220.lan (c-24-60-168-172.hsd1.ct.comcast.net [24.60.168.172]) by hz.citrin.ru (Postfix) with ESMTPSA id C05FA286A66 for ; Thu, 22 Dec 2016 17:07:30 +0000 (UTC) Subject: Re: question about fopen fd limit To: freebsd-net@freebsd.org References: <2016122223570929089978@corp.netease.com> From: Anton Yuzhaninov Message-ID: Date: Thu, 22 Dec 2016 12:07:28 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <2016122223570929089978@corp.netease.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrin.ru; s=s0; t=1482426451; bh=FkhJ/6OP9edZHyB8kpUeBjgeJAtXYYMNcEpM5L3Za2c=; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Xq9wC0fJ5UddlBCOachU5QaODlPej516ALu05W/TMxfCfqUv/2rlpezyqwzM3+xY4fX7zFjDTnIj5lp5ucCv9zTE9Ri02FdF8OauPHTapRke9yVd3eFtp+Zm2KbQ2+Y0ppKzQLDNt6AvPP21LZ4sd+VuCeqiytJge5BXfaBf9C4= X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Dec 2016 17:07:34 -0000 On 12/22/16 10:57, 盛慧华 wrote: > and even in BSD 10 , it seems this short limit still there , but other OS as debian , FILE strucnt's fileno is a int . * Certain members of __sFILE are accessed directly via macros or * inline functions. To preserve ABI compat, these members must not * be disturbed. These members are marked below with (*). */ struct __sFILE { .... short _file; /* (*) fileno, if Unix descriptor, else -1 */ If _file will be changed to int it will break existing binaries on upgrade. Other OSes are more liberal in breaking compatibility. > > we found an unoffical patch easily change this fileno to unsigned , but we are a very stready project, we can't afford the risk > to use an unoffical patch. It is better change this field to int and rebuild all binaries (base system and ports). But if you mix binaries from patched and unpatched tree, system will be broken. Other options are: - use open instead fopen, write instead fwrite e.t.c. For big applications it is a lot of work, but almost all scalable applications don't use f* functions to work with files. - find some library for file io with similar interface or write one. - port musl libc to FreeBSD and link your application statically with musl (not an option really, to much work). From owner-freebsd-net@freebsd.org Thu Dec 22 17:41:09 2016 Return-Path: Delivered-To: freebsd-net@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 818BEC8B120 for ; Thu, 22 Dec 2016 17:41:09 +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 7107DB6E for ; Thu, 22 Dec 2016 17:41:09 +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 uBMHf9M3060707 for ; Thu, 22 Dec 2016 17:41:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 193724] [panic] [tcp] in tcp_discardcb (/usr/src/sys/netinet/tcp_subr.c:929) Date: Thu, 22 Dec 2016 17:41:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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.23 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, 22 Dec 2016 17:41:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193724 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 17:43:05 2016 Return-Path: Delivered-To: freebsd-net@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 B6E17C8B451 for ; Thu, 22 Dec 2016 17:43:05 +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 A6893107D for ; Thu, 22 Dec 2016 17:43:05 +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 uBMHh4qV070200 for ; Thu, 22 Dec 2016 17:43:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 205592] TCP processing in IPSec causes kernel panic Date: Thu, 22 Dec 2016 17:43:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: 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.23 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, 22 Dec 2016 17:43:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205592 --- Comment #3 from Hiren Panchasara --- Andrew, Can you try to reproduce this on a more recent 11 based release? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 17:53:53 2016 Return-Path: Delivered-To: freebsd-net@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 BC1B3C8BA12 for ; Thu, 22 Dec 2016 17:53:53 +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 ABB7319C9 for ; Thu, 22 Dec 2016 17:53:53 +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 uBMHrrYa094181 for ; Thu, 22 Dec 2016 17:53:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 206122] tcp keep-alive message sent without timestamp option Date: Thu, 22 Dec 2016 17:53:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status cc 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.23 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, 22 Dec 2016 17:53:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206122 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed CC| |hiren@FreeBSD.org --- Comment #1 from Hiren Panchasara --- I believe r296455 by jtl@ fixed this. If not, please reopen. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 18:10:40 2016 Return-Path: Delivered-To: freebsd-net@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 5CB9AC8C251 for ; Thu, 22 Dec 2016 18:10:40 +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 4C25A842 for ; Thu, 22 Dec 2016 18:10:40 +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 uBMIAcx3097130 for ; Thu, 22 Dec 2016 18:10:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 182382] [tcp] sysctl to set TCP CC method on BIG ENDIAN systems fails Date: Thu, 22 Dec 2016 18:10:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.2-PRERELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc 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.23 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, 22 Dec 2016 18:10:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D182382 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED CC| |hiren@FreeBSD.org --- Comment #3 from Hiren Panchasara --- Based on last comment. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 18:28:45 2016 Return-Path: Delivered-To: freebsd-net@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 362BEC8C792 for ; Thu, 22 Dec 2016 18:28:45 +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 254B0128F for ; Thu, 22 Dec 2016 18:28:45 +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 uBMISjIR034600 for ; Thu, 22 Dec 2016 18:28:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 15095] TCP's advertised window is not scaled immediately upon discovering use of Window scale option Date: Thu, 22 Dec 2016 18:28:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 3.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status cc 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.23 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, 22 Dec 2016 18:28:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D15095 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|In Progress |Closed CC| |hiren@FreeBSD.org --- Comment #7 from Hiren Panchasara --- r156125 by andre@ --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 18:35:47 2016 Return-Path: Delivered-To: freebsd-net@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 C9670C8CC7B for ; Thu, 22 Dec 2016 18:35:47 +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 AF0C71AA4 for ; Thu, 22 Dec 2016 18:35:47 +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 uBMIZlIt054024 for ; Thu, 22 Dec 2016 18:35:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 61744] [netinet] [patch] TCP hangs onto mbufs with no tcp data unnecessily under certain error conditions Date: Thu, 22 Dec 2016 18:35:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to cc 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.23 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, 22 Dec 2016 18:35:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D61744 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Open Assignee|andre@freebsd.org |freebsd-net@FreeBSD.org CC| |hiren@FreeBSD.org, | |lstewart@FreeBSD.org --- Comment #4 from Hiren Panchasara --- Unsure if this is still a problem. CC'd lawrence as he was mentioned in the last comment and assigning back to -net. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 18:40:23 2016 Return-Path: Delivered-To: freebsd-net@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 F185BC8CDFE for ; Thu, 22 Dec 2016 18:40: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 E0F1D1E10 for ; Thu, 22 Dec 2016 18:40: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 uBMIeN2f059995 for ; Thu, 22 Dec 2016 18:40:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 71965] TCP MSS issue in combination with ipfw fwd Date: Thu, 22 Dec 2016 18:40:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 5.2.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status assigned_to cc 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.23 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, 22 Dec 2016 18:40:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D71965 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|In Progress |Closed Assignee|andre@freebsd.org |freebsd-net@FreeBSD.org CC| |hiren@FreeBSD.org --- Comment #3 from Hiren Panchasara --- 10+ years without any update. Please reopen if this issue still persists. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 19:08:33 2016 Return-Path: Delivered-To: freebsd-net@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 7E55DC8D9B0 for ; Thu, 22 Dec 2016 19:08:33 +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 6DB6B15F6 for ; Thu, 22 Dec 2016 19:08:33 +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 uBMJ8V95062217 for ; Thu, 22 Dec 2016 19:08:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 93378] [tcp] Slow data transfer in Postfix and Cyrus IMAP (workaround known) Date: Thu, 22 Dec 2016 19:08:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Feedback Timeout X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution 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.23 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, 22 Dec 2016 19:08:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D93378 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed CC| |hiren@FreeBSD.org Resolution|--- |Feedback Timeout --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 19:10:08 2016 Return-Path: Delivered-To: freebsd-net@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 3B5A5C8DB0B for ; Thu, 22 Dec 2016 19:10:08 +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 2A9721816 for ; Thu, 22 Dec 2016 19:10:08 +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 uBMJA76W064432 for ; Thu, 22 Dec 2016 19:10:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 112528] [nfs] NFS over TCP under load hangs with "impossible packet length" Date: Thu, 22 Dec 2016 19:10:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 6.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution 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.23 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, 22 Dec 2016 19:10:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D112528 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed CC| |hiren@FreeBSD.org Resolution|--- |Overcome By Events --- Comment #3 from Hiren Panchasara --- Quite a bit has changed in 10 years. Please reopen if issue persists. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 19:14:36 2016 Return-Path: Delivered-To: freebsd-net@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 72229C8DCA5 for ; Thu, 22 Dec 2016 19:14:36 +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 60F741BA3 for ; Thu, 22 Dec 2016 19:14:36 +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 uBMJEZww079429 for ; Thu, 22 Dec 2016 19:14:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 82468] Using 64MB tcp send/recv buffers, trafficflow stops, iperf can't be killed Date: Thu, 22 Dec 2016 19:14:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 5.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Feedback Timeout X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc 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.23 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, 22 Dec 2016 19:14:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D82468 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Feedback Timeout CC| |hiren@FreeBSD.org --- Comment #3 from Hiren Panchasara --- Please reopen if this is still a problem. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 19:27:52 2016 Return-Path: Delivered-To: freebsd-net@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 DF457C8D01D for ; Thu, 22 Dec 2016 19:27:52 +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 CF0B7323 for ; Thu, 22 Dec 2016 19:27:52 +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 uBMJRpok004498 for ; Thu, 22 Dec 2016 19:27:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 121257] [tcp] TSO + natd -> slow outgoing tcp traffic Date: Thu, 22 Dec 2016 19:27:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 7.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.23 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, 22 Dec 2016 19:27:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D121257 --- Comment #6 from Hiren Panchasara --- This seems like a real bug. Unsure if anything changed to fix it. It'd be nice if someone with more knowledge can comment. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 19:59:32 2016 Return-Path: Delivered-To: freebsd-net@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 9D3EAC8D945 for ; Thu, 22 Dec 2016 19:59:32 +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 8CD8B18CD for ; Thu, 22 Dec 2016 19:59:32 +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 uBMJxWlj072863 for ; Thu, 22 Dec 2016 19:59:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200361] net.inet.tcp.hostcache.list is jail information leak Date: Thu, 22 Dec 2016 19:59:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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.23 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, 22 Dec 2016 19:59:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200361 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --- Comment #3 from Hiren Panchasara --- I think you also need to include sys/pcpu.h to get curthread definition. Can you try the patch with it and see if it does the right thing? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 20:01:45 2016 Return-Path: Delivered-To: freebsd-net@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 99D05C8DB11 for ; Thu, 22 Dec 2016 20:01:45 +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 812591DA9 for ; Thu, 22 Dec 2016 20:01:45 +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 uBMK1ifC010935 for ; Thu, 22 Dec 2016 20:01:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 174087] [tcp] Problems with ephemeral port selection Date: Thu, 22 Dec 2016 20:01:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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.23 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, 22 Dec 2016 20:01:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D174087 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|andre@freebsd.org |freebsd-net@FreeBSD.org --- Comment #4 from Hiren Panchasara --- Assigning back to the pool as this seems like a valid problem from a cursory glance. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 20:06:37 2016 Return-Path: Delivered-To: freebsd-net@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 1F5BCC8DE60 for ; Thu, 22 Dec 2016 20:06:37 +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 0EC831B6 for ; Thu, 22 Dec 2016 20:06:37 +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 uBMK6ajr030559 for ; Thu, 22 Dec 2016 20:06:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 200361] net.inet.tcp.hostcache.list is jail information leak Date: Thu, 22 Dec 2016 20:06:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: op@hardenedbsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable10? mfc-stable11? X-Bugzilla-Changed-Fields: flagtypes.name 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.23 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, 22 Dec 2016 20:06:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200361 op@hardenedbsd.org changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable10?, | |mfc-stable11? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 20:07:02 2016 Return-Path: Delivered-To: freebsd-net@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 72447C8DE94 for ; Thu, 22 Dec 2016 20:07:02 +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 E5DDC255 for ; Thu, 22 Dec 2016 20:07:01 +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 uBMK71sd031060 for ; Thu, 22 Dec 2016 20:07:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 121257] [tcp] TSO + natd -> slow outgoing tcp traffic Date: Thu, 22 Dec 2016 20:07:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 7.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ports@grosbein.net X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 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, 22 Dec 2016 20:07:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D121257 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ports@grosbein.net --- Comment #7 from Eugene Grosbein --- natd and ipfw nat both based on libalias that is not compatible with ISO. T= his is documented in ipfw(8) manual page, section BUGS. Before introduction of = ipfw nat this section mentioned natd and was erronously changed to mention only = ipfw nat. Antway, it says: "Thus, to reliably nat your network traffic, please disable TSO on your NICs using ifconfig(8)". This PR should be closed as this documented behavour was always such. ipfw(8) manual page and natd(8) should be fixed to explicitly mention that natd(8) is not compatible with TSO. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 20:08:51 2016 Return-Path: Delivered-To: freebsd-net@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 D1402C8C00E for ; Thu, 22 Dec 2016 20:08:51 +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 C0D1F832 for ; Thu, 22 Dec 2016 20:08:51 +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 uBMK8pX3033300 for ; Thu, 22 Dec 2016 20:08:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 173444] [socket] [patch] IPV6_USE_MIN_MTU and TCP is broken Date: Thu, 22 Dec 2016 20:08:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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.23 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, 22 Dec 2016 20:08:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D173444 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andre@freebsd.org Assignee|andre@freebsd.org |freebsd-net@FreeBSD.org --- Comment #5 from Hiren Panchasara --- Mark, can you please check if this is still a problem? Assigning back to the pool. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 20:13:52 2016 Return-Path: Delivered-To: freebsd-net@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 BBCF2C8C366 for ; Thu, 22 Dec 2016 20:13:52 +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 AB4E2E85 for ; Thu, 22 Dec 2016 20:13:52 +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 uBMKDpuT052045 for ; Thu, 22 Dec 2016 20:13:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 121257] [tcp] TSO + natd -> slow outgoing tcp traffic Date: Thu, 22 Dec 2016 20:13:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 7.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution 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.23 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, 22 Dec 2016 20:13:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D121257 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed CC| |hiren@FreeBSD.org Resolution|--- |Works As Intended --- Comment #8 from Hiren Panchasara --- Thanks a lot, Eugene. Closing based on the last comment. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 20:15:21 2016 Return-Path: Delivered-To: freebsd-net@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 3C98AC8C41E for ; Thu, 22 Dec 2016 20:15:21 +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 2B9A5F63 for ; Thu, 22 Dec 2016 20:15:21 +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 uBMKFKWT054313 for ; Thu, 22 Dec 2016 20:15:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 154600] [tcp] [panic] Random kernel panics on tcp_output Date: Thu, 22 Dec 2016 20:15:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.2-PRERELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc 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.23 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, 22 Dec 2016 20:15:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D154600 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Overcome By Events CC| |hiren@FreeBSD.org --- Comment #2 from Hiren Panchasara --- Not seen this problem at all lately. Please reopen if this is a problem for= you with later FreeBSD versions. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 20:22:46 2016 Return-Path: Delivered-To: freebsd-net@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 C4B90C8CAFB for ; Thu, 22 Dec 2016 20: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 mx1.freebsd.org (Postfix) with ESMTPS id B431C1942 for ; Thu, 22 Dec 2016 20:22:46 +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 uBMKMkqP073360 for ; Thu, 22 Dec 2016 20:22:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 191520] [PATCH] Implementation of draft-ieft-tcpm-newcwv-06 Date: Thu, 22 Dec 2016 20:22:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: feature, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rrs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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.23 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, 22 Dec 2016 20:22:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191520 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress Assignee|freebsd-net@FreeBSD.org |rrs@FreeBSD.org --- Comment #5 from Hiren Panchasara --- This work is supposed to land from Netflix in coming months. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 20:27:32 2016 Return-Path: Delivered-To: freebsd-net@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 1566AC8CE68 for ; Thu, 22 Dec 2016 20:27:32 +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 044301D77 for ; Thu, 22 Dec 2016 20:27:32 +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 uBMKRVb7080662 for ; Thu, 22 Dec 2016 20:27:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 174535] [tcp] TCP fast retransmit feature works strange Date: Thu, 22 Dec 2016 20:27:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Feedback Timeout X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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.23 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, 22 Dec 2016 20:27:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D174535 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Feedback Timeout --- Comment #3 from Hiren Panchasara --- Please reopen with requested details if needed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Thu Dec 22 20:29:11 2016 Return-Path: Delivered-To: freebsd-net@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 42CBBC8D008 for ; Thu, 22 Dec 2016 20:29:11 +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 32CCE1FDF for ; Thu, 22 Dec 2016 20:29:11 +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 uBMKTBr7083315 for ; Thu, 22 Dec 2016 20:29:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 168913] tcpdump(8) causing interface to drop Date: Thu, 22 Dec 2016 20:29:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.23 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, 22 Dec 2016 20:29:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168913 --- Comment #2 from Hiren Panchasara --- Dave, Can you try to reprod this on more recent (11 or head) version? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 01:15:21 2016 Return-Path: Delivered-To: freebsd-net@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 8CB6DC8C2BE for ; Fri, 23 Dec 2016 01:15:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 175791FCB; Fri, 23 Dec 2016 01:15:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-wm0-x241.google.com with SMTP id u144so39000866wmu.0; Thu, 22 Dec 2016 17:15:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=i6wIHFO5/KQJVZv3m7S1Cfrl6WVtDJprtXncislgSDM=; b=U/TBh2zL44uSNCsCgYAx0f+Uhp3yawpyY15+z6MexyjWV+0UKrd9mNLz1Kl0EdWdNg WdvJW/ZojsqbL+L/GdNdUCNwQOaLB3985lr7WZQaWWHxME0JBWofRZ3yVBd4TVfpmPjX v/u4Vmz4FcnkKr3FFwQog+gGniP4K04glA6KhISsq23MeiaOzw/8X8yrlrqvyxeqeTcO nPpnEaQ51uBpIBi2zJkwkQnN90uTTX2uSKVITGR/1QVsrkCTjvMC4bObmMfyzkagBktW xRbMqYHzPqt4Tc9u/SFa0IP0hSV2KxcySWEqADmJzFQzvNLQAgNm8wY1HKoErvdXqw4p vyRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=i6wIHFO5/KQJVZv3m7S1Cfrl6WVtDJprtXncislgSDM=; b=DnJhU20+4UtKe+Q7ttjh8ETYdAspg0EwuE1wV53Psu3IHIpUyPjSz/ijV/YmICGQpP w4HRdazeNpMoHoeffvBsSCNNGzi5dWy4mA6rjRcxa9pwdxPeHyKKGLhJQ+3qERJxpRpf uF3AxuRG1tNa42BvofeEy1AKozDxH7I9gF7hq7dyN/tKaRo+zY7LZzSaW2wxdgzY1gwH A2TRkMOTT8zf59oOEJcdLL7UaNAuT5eNrK3K7agyLVV/lHxbzgxx52vOgZVpNlXmwiGW Nxh94S+xMb2TrglQTKOsp9YZfDK3Q2BC4zWNkQ5Kdzg9nX7wF1n6qQK5uJp4jaqhfen4 F0vQ== X-Gm-Message-State: AIkVDXLHqzl+HGgZiQHMs6J1YeQUCliV59QfcydIx10kZb6ggIE1OakHd4omi86AUREK1Hhex6P3P80nO8Krmg== X-Received: by 10.28.165.82 with SMTP id o79mr1053301wme.129.1482455719549; Thu, 22 Dec 2016 17:15:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.44.1 with HTTP; Thu, 22 Dec 2016 17:15:18 -0800 (PST) In-Reply-To: References: <20161217222812.GA4979@ox> From: Adrian Chadd Date: Thu, 22 Dec 2016 17:15:18 -0800 Message-ID: Subject: Re: cxgbe's native netmap support broken since r307394 To: Vincenzo Maffione Cc: Luigi Rizzo , Navdeep Parhar , "freebsd-net@freebsd.org" , Luigi Rizzo , Giuseppe Lettieri Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 01:15:21 -0000 ok, does anyone mind if I commit it as-is? -a On 21 December 2016 at 13:37, Vincenzo Maffione wrote: > Hi Luigi, > I attached a minimal change containing two fixes: > > - change IFNET_WLOCK into IFNET_RLOCK, to fix the cxgbe issue related > to this thread > - use the proper locking functions for the "worker_lock", unrelated > but needed to avoid the O.S. to trap because of a mismatch between > MTX_SPIN and MTX_DEF. > > Cheers, > Vincenzo > > 2016-12-21 20:30 GMT+01:00 Luigi Rizzo : >> On Wed, Dec 21, 2016 at 11:15 AM, Vincenzo Maffione >> wrote: >>> Hi, >>> There is no commit related to that in the FreeBSD svn or git. >>> >>> The fix has been published to the github netmap repository here >>> (branch master): https://github.com/luigirizzo/netmap >>> >>> What we should do is to import all the recent updates from the github >>> into HEAD. I can prepare a patch for HEAD, if you wish. Just let me >>> know. >> >> I just checked and the diff between FreeBSD head and netmap head >> in github is almost 3k lines due to a lot of recent refactoring. >> So, if there is an easy way to extract just the locking change that would >> be preferable as an interim solution. >> >> cheers >> luigi >> >>> >>> Cheers, >>> Vincenzo >>> >>> >>> 2016-12-20 21:45 GMT+01:00 Adrian Chadd : >>>> hi, >>>> >>>> What's the commit? We should get it into -HEAD asap. >>>> >>>> >>>> -adrian >>>> >>>> >>>> On 20 December 2016 at 01:25, Vincenzo Maffione wrote: >>>>> Ok, applied to the netmap github repo. >>>>> This fix will be published when Luigi does the next commit on FreeBSD. >>>>> >>>>> Cheers, >>>>> Vincenzo >>>>> >>>>> 2016-12-19 20:05 GMT+01:00 Navdeep Parhar : >>>>>> IFNET_RLOCK will work, thanks. >>>>>> >>>>>> Navdeep >>>>>> >>>>>> On Mon, Dec 19, 2016 at 3:21 AM, Vincenzo Maffione wrote: >>>>>>> Hi Navdeep, >>>>>>> >>>>>>> Indeed, we have reviewed the code, and we think it is ok to >>>>>>> implement nm_os_ifnet_lock() with IFNET_RLOCK(), instead of using >>>>>>> IFNET_WLOCK(). >>>>>>> Since IFNET_RLOCK() results into sx_slock(), this should fix the issue. >>>>>>> >>>>>>> On FreeBSD, this locking is needed to protect a flag read by nm_iszombie(). >>>>>>> However, on Linux the same lock is also needed to protect the call to >>>>>>> the nm_hw_register() callback, so we prefer to have an "unified" >>>>>>> locking scheme, i.e. always calling nm_hw_register under the lock. >>>>>>> >>>>>>> Does this make sense to you? Would it be easy for you to make a quick >>>>>>> test by replacing IFNET_WLOCK with IFNET_RLOCK? >>>>>>> >>>>>>> Thanks, >>>>>>> Vincenzo >>>>>>> >>>>>>> 2016-12-17 23:28 GMT+01:00 Navdeep Parhar : >>>>>>>> Luigi, Vincenzo, >>>>>>>> >>>>>>>> The last major update to netmap (r307394 and followups) broke cxgbe's >>>>>>>> native netmap support. The problem is that netmap_hw_reg now holds an >>>>>>>> rw_lock around the driver's netmap_on/off routines. It has always been >>>>>>>> safe for the driver to sleep during these operations but now it panics >>>>>>>> instead. >>>>>>>> >>>>>>>> Why is IFNET_WLOCK needed here? It seems like a regression to disallow >>>>>>>> sleep on the control path. >>>>>>>> >>>>>>>> Regards, >>>>>>>> Navdeep >>>>>>>> >>>>>>>> begin_synchronized_op with the following non-sleepable locks held: >>>>>>>> exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff8271d680) locked @ >>>>>>>> /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 >>>>>>>> stack backtrace: >>>>>>>> #0 0xffffffff810837a5 at witness_debugger+0xe5 >>>>>>>> #1 0xffffffff81084d88 at witness_warn+0x3b8 >>>>>>>> #2 0xffffffff83ef2bcc at begin_synchronized_op+0x6c >>>>>>>> #3 0xffffffff83f14beb at cxgbe_netmap_reg+0x5b >>>>>>>> #4 0xffffffff809846f1 at netmap_hw_reg+0x81 >>>>>>>> #5 0xffffffff809806de at netmap_do_regif+0x19e >>>>>>>> #6 0xffffffff8098121d at netmap_ioctl+0x7ad >>>>>>>> #7 0xffffffff8098682f at freebsd_netmap_ioctl+0x5f >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Vincenzo Maffione >>>>>>> _______________________________________________ >>>>>>> freebsd-net@freebsd.org mailing list >>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>>>>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>>>> >>>>> >>>>> >>>>> -- >>>>> Vincenzo Maffione >>>>> _______________________________________________ >>>>> freebsd-net@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>> >>> >>> >>> -- >>> Vincenzo Maffione >> >> >> >> -- >> -----------------------------------------+------------------------------- >> Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione >> http://www.iet.unipi.it/~luigi/ . Universita` di Pisa >> TEL +39-050-2217533 . via Diotisalvi 2 >> Mobile +39-338-6809875 . 56122 PISA (Italy) >> -----------------------------------------+------------------------------- > > > > -- > Vincenzo Maffione From owner-freebsd-net@freebsd.org Fri Dec 23 01:29:44 2016 Return-Path: Delivered-To: freebsd-net@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 A9DBEC8C6E5 for ; Fri, 23 Dec 2016 01:29:44 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A78E16A1; Fri, 23 Dec 2016 01:29:44 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mail-wm0-x244.google.com with SMTP id u144so39035497wmu.0; Thu, 22 Dec 2016 17:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=nDuHEaIV74qZU2BgvB+YNowgejsNeQ5PL2dnWw3n3QE=; b=TJW24ed0BxBaWVCYoN5rS1iq4ukAfDCDVjmkYiToyJwSy0eid4bpi3sNNYCTd3dDRG PQuj5B7MPiTpuMBwYWa2tMJClr7rdlgB9WXpqv4DKwvhJvqvCkfDrJkHAzALN60Hj64X 9qTyHlfTZ1olCBqMFi6+LGFnrhx7Af8VbARQ9lsQLP2AL5Osg29MC+fO21u6V88ql4N9 uA3pX8pOn0OhpWFYBHMnxpLfnVtjDpX2ggyK0cpkPKrfDVyugid8PR8YPMIMEd/s1Opr qTK46qnH9Se+eb5L2eelTjWYkOoAFxZPzBCB22zISkUEE7yxnEhjz/LcwXfvgeyrwE9D HCJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=nDuHEaIV74qZU2BgvB+YNowgejsNeQ5PL2dnWw3n3QE=; b=G+xH/iBmI9bcTL933HKY82QVQK8OQtqQBPo0lgpLrS3dVt/zB3oIZKdSBmpEJuMcDK gtfDE9grtfjWSlZHld9R8V0tsI0d/8TWYYtPPRjJ4XvIicCte7iabFyqIFu0Ej29T6Ku eRKsI2aCZ7GnyWILl7Uqruf09oX4VQK3i27xUzEWdDPqMZp7GyGFyvpDfpn15vURlSXW 20ksFOKriSOU45Nd/FJaFJgdGx6HXRDdhTv538H8oYooBxLbVw+kiY3S1dfuUcDR0jMq nIZYKfdsUySeEUuqg1eLO9rvYdGwxcwslcdjoHScg3WZpAJjsY1moqADy3OKxR6Pc7an SkCg== X-Gm-Message-State: AIkVDXINfCPD5lp2sGHh6pQkY+hWJ181oGJQa/HCvhnbUPTj2XfFcJfuc+oVVE1wGCCxQBXofQAoJtYY2CfaaQ== X-Received: by 10.28.125.136 with SMTP id y130mr13936163wmc.112.1482456582387; Thu, 22 Dec 2016 17:29:42 -0800 (PST) MIME-Version: 1.0 Sender: rizzo.unipi@gmail.com Received: by 10.28.196.207 with HTTP; Thu, 22 Dec 2016 17:29:41 -0800 (PST) In-Reply-To: References: <20161217222812.GA4979@ox> From: Luigi Rizzo Date: Thu, 22 Dec 2016 17:29:41 -0800 X-Google-Sender-Auth: uKYPkXdTKK4lEo3eSO6zfTOHnXc Message-ID: Subject: Re: cxgbe's native netmap support broken since r307394 To: Adrian Chadd Cc: Vincenzo Maffione , Navdeep Parhar , "freebsd-net@freebsd.org" , Luigi Rizzo , Giuseppe Lettieri Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 01:29:44 -0000 sure go ahead and thank you! On Thu, Dec 22, 2016 at 5:15 PM, Adrian Chadd wrote: > ok, does anyone mind if I commit it as-is? > > > -a > > > On 21 December 2016 at 13:37, Vincenzo Maffione wrote: >> Hi Luigi, >> I attached a minimal change containing two fixes: >> >> - change IFNET_WLOCK into IFNET_RLOCK, to fix the cxgbe issue related >> to this thread >> - use the proper locking functions for the "worker_lock", unrelated >> but needed to avoid the O.S. to trap because of a mismatch between >> MTX_SPIN and MTX_DEF. >> >> Cheers, >> Vincenzo >> >> 2016-12-21 20:30 GMT+01:00 Luigi Rizzo : >>> On Wed, Dec 21, 2016 at 11:15 AM, Vincenzo Maffione >>> wrote: >>>> Hi, >>>> There is no commit related to that in the FreeBSD svn or git. >>>> >>>> The fix has been published to the github netmap repository here >>>> (branch master): https://github.com/luigirizzo/netmap >>>> >>>> What we should do is to import all the recent updates from the github >>>> into HEAD. I can prepare a patch for HEAD, if you wish. Just let me >>>> know. >>> >>> I just checked and the diff between FreeBSD head and netmap head >>> in github is almost 3k lines due to a lot of recent refactoring. >>> So, if there is an easy way to extract just the locking change that would >>> be preferable as an interim solution. >>> >>> cheers >>> luigi >>> >>>> >>>> Cheers, >>>> Vincenzo >>>> >>>> >>>> 2016-12-20 21:45 GMT+01:00 Adrian Chadd : >>>>> hi, >>>>> >>>>> What's the commit? We should get it into -HEAD asap. >>>>> >>>>> >>>>> -adrian >>>>> >>>>> >>>>> On 20 December 2016 at 01:25, Vincenzo Maffione wrote: >>>>>> Ok, applied to the netmap github repo. >>>>>> This fix will be published when Luigi does the next commit on FreeBSD. >>>>>> >>>>>> Cheers, >>>>>> Vincenzo >>>>>> >>>>>> 2016-12-19 20:05 GMT+01:00 Navdeep Parhar : >>>>>>> IFNET_RLOCK will work, thanks. >>>>>>> >>>>>>> Navdeep >>>>>>> >>>>>>> On Mon, Dec 19, 2016 at 3:21 AM, Vincenzo Maffione wrote: >>>>>>>> Hi Navdeep, >>>>>>>> >>>>>>>> Indeed, we have reviewed the code, and we think it is ok to >>>>>>>> implement nm_os_ifnet_lock() with IFNET_RLOCK(), instead of using >>>>>>>> IFNET_WLOCK(). >>>>>>>> Since IFNET_RLOCK() results into sx_slock(), this should fix the issue. >>>>>>>> >>>>>>>> On FreeBSD, this locking is needed to protect a flag read by nm_iszombie(). >>>>>>>> However, on Linux the same lock is also needed to protect the call to >>>>>>>> the nm_hw_register() callback, so we prefer to have an "unified" >>>>>>>> locking scheme, i.e. always calling nm_hw_register under the lock. >>>>>>>> >>>>>>>> Does this make sense to you? Would it be easy for you to make a quick >>>>>>>> test by replacing IFNET_WLOCK with IFNET_RLOCK? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Vincenzo >>>>>>>> >>>>>>>> 2016-12-17 23:28 GMT+01:00 Navdeep Parhar : >>>>>>>>> Luigi, Vincenzo, >>>>>>>>> >>>>>>>>> The last major update to netmap (r307394 and followups) broke cxgbe's >>>>>>>>> native netmap support. The problem is that netmap_hw_reg now holds an >>>>>>>>> rw_lock around the driver's netmap_on/off routines. It has always been >>>>>>>>> safe for the driver to sleep during these operations but now it panics >>>>>>>>> instead. >>>>>>>>> >>>>>>>>> Why is IFNET_WLOCK needed here? It seems like a regression to disallow >>>>>>>>> sleep on the control path. >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Navdeep >>>>>>>>> >>>>>>>>> begin_synchronized_op with the following non-sleepable locks held: >>>>>>>>> exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff8271d680) locked @ >>>>>>>>> /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 >>>>>>>>> stack backtrace: >>>>>>>>> #0 0xffffffff810837a5 at witness_debugger+0xe5 >>>>>>>>> #1 0xffffffff81084d88 at witness_warn+0x3b8 >>>>>>>>> #2 0xffffffff83ef2bcc at begin_synchronized_op+0x6c >>>>>>>>> #3 0xffffffff83f14beb at cxgbe_netmap_reg+0x5b >>>>>>>>> #4 0xffffffff809846f1 at netmap_hw_reg+0x81 >>>>>>>>> #5 0xffffffff809806de at netmap_do_regif+0x19e >>>>>>>>> #6 0xffffffff8098121d at netmap_ioctl+0x7ad >>>>>>>>> #7 0xffffffff8098682f at freebsd_netmap_ioctl+0x5f >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Vincenzo Maffione >>>>>>>> _______________________________________________ >>>>>>>> freebsd-net@freebsd.org mailing list >>>>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>>>>>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Vincenzo Maffione >>>>>> _______________________________________________ >>>>>> freebsd-net@freebsd.org mailing list >>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-net >>>>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>>> >>>> >>>> >>>> -- >>>> Vincenzo Maffione >>> >>> >>> >>> -- >>> -----------------------------------------+------------------------------- >>> Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione >>> http://www.iet.unipi.it/~luigi/ . Universita` di Pisa >>> TEL +39-050-2217533 . via Diotisalvi 2 >>> Mobile +39-338-6809875 . 56122 PISA (Italy) >>> -----------------------------------------+------------------------------- >> >> >> >> -- >> Vincenzo Maffione -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+------------------------------- From owner-freebsd-net@freebsd.org Fri Dec 23 02:49:26 2016 Return-Path: Delivered-To: freebsd-net@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 1B9B9C8D9D9 for ; Fri, 23 Dec 2016 02:49:26 +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 0B63316CB for ; Fri, 23 Dec 2016 02:49:26 +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 uBN2nPJa091651 for ; Fri, 23 Dec 2016 02:49:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 175153] [tcp] will there miss a FIN when do TSO? Date: Fri, 23 Dec 2016 02:49:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 02:49:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D175153 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hiren@FreeBSD.org --- Comment #2 from Hiren Panchasara --- Your observation seems correct to me but I've never seen this problem. If t= his problem occurs, i.e. if we miss sending the FIN, keepalive would kick in and it's response would cause us to send RST as the application has closed. I'll try to spend some time on it to look at the code more closely. Thanks = for the report. BTW, did you see this happen anywhere? or is this just from the code inspection? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 03:08:23 2016 Return-Path: Delivered-To: freebsd-net@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 EEF3CC8C1A7 for ; Fri, 23 Dec 2016 03:08: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 DD8C718F1 for ; Fri, 23 Dec 2016 03:08: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 uBN38Ndd078057 for ; Fri, 23 Dec 2016 03:08:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 164265] [netinet] [patch] tcp_lro_rx computes wrong checksum if 'csum' variable is 0 Date: Fri, 23 Dec 2016 03:08:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 03:08:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D164265 --- Comment #2 from Hiren Panchasara --- Dilip, LRO code has changed/improve lately. Can you please check if this problem s= till persists? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 03:11:35 2016 Return-Path: Delivered-To: freebsd-net@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 D4785C8C454 for ; Fri, 23 Dec 2016 03:11:35 +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 C0AA81C34 for ; Fri, 23 Dec 2016 03:11:35 +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 uBN3BZWs017479 for ; Fri, 23 Dec 2016 03:11:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 154557] [tcp] Freeze tcp-session of the clients, if in the gateway is used quagga Date: Fri, 23 Dec 2016 03:11:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.2-PRERELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 03:11:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D154557 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|In Progress |Closed --- Comment #4 from Hiren Panchasara --- Looks like the suggested workaround works for the o/p. Closing this bug. Pl= ease reopen if we need to fix this. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 03:31:48 2016 Return-Path: Delivered-To: freebsd-net@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 558A8C8CD15 for ; Fri, 23 Dec 2016 03:31:48 +0000 (UTC) (envelope-from hhsheng@corp.netease.com) Received: from corp-front02-corp.i.nease.net (corp-front02-corp.i.nease.net [123.58.164.175]) by mx1.freebsd.org (Postfix) with ESMTP id 149FE1E6A for ; Fri, 23 Dec 2016 03:31:35 +0000 (UTC) (envelope-from hhsheng@corp.netease.com) Received: from E13D (unknown [218.107.55.252]) by corp-front02-corp.i.nease.net (Coremail) with SMTP id r6R4CgBHSRKUk1xYQqIDAA--.595S2; Fri, 23 Dec 2016 11:01:40 +0800 (HKT) Date: Fri, 23 Dec 2016 11:01:41 +0800 From: =?UTF-8?B?55ub5oWn5Y2O?= To: "Hongjiang Zhang" , freebsd-net Subject: Re: RE: question about fopen fd limit References: <2016122223570929089978@corp.netease.com>, X-Priority: 3 X-Has-Attach: no X-Mailer: Foxmail 7, 2, 5, 140[cn] Mime-Version: 1.0 Message-ID: <2016122311014089280414@corp.netease.com> X-CM-TRANSID: r6R4CgBHSRKUk1xYQqIDAA--.595S2 X-Coremail-Antispam: 1UD129KBjvJXoWxZw4rZF47KF17try5KrW5Awb_yoWrXr45p3 yag3y2krWDJF1xu34qyr18CF10v3y3Ww4UXrZ3Gryjy3s8WFsrXr43tFsY93WUWrnakryj qF42kFZFqrs8Z3DanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUj1vb7IF0VCYb41lb7IF0VCYb415M7k042IE4IxYO2xFxVAqjxCE w4Av424lb7Iv0xC_Cr1lb4IE77IF4wAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3w A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26w1j 6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26rxl6s0DM28EF7xvwVC2z280aVAFwI0_Gc CE3s1l84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s0DM2kK67ZEXf0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2jsIE14 v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Jr0_Gr1l6VACY4xI67k04243AbIYCTnI WIevJa73UjIFyTuYvjxUSXo2DUUUU X-CM-SenderInfo: xkkvxv1qj6u0tuso0v5whd2voofrz/1tbiAgASBVUojrzpWAAAsr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 03:31:48 -0000 aGkgYWxsLA0KDQogIG5vdCBtYXAgIFRDUCB0byBGSUxFLCB5b3UgbWlzdW5kZXJzdGFuZGluZyBt eSBtZWFuaW5nfg0KDQogIGZvciBleGFtcGxlLCBpZiBteSBzZXJ2ZXIgdGNwIGFscmVhZHkgaG9s ZHMgMzIwMDAgY29ubmVjdGlvbg0KICBmb3BlbiBvbmx5IGhhcyA3NjcgZmQgdG8gdXNlDQoNCiAg dGhlIHByb2JsZW0gaGFzIG5vIGJ1c3NpbmVzcyB3aXRoIHRjcCBmZCwgQlVUIGZvcGVuIC4uLg0K DQogIGluIHNvbWUgcGFydGljdWxhciBzaXR1bGF0aW9ucyAsIG15IHNlcnZlciB3aWxsIG9wZW4g MWsrIEZJTEUgLCB0aGF0IHdpbGwgZXhjZWVkIHRoZSBmaWxlbm8gbGltaXQsIGFuZCBvdmVyZmxv dyBvY2N1cg0KICBteSBzZXJ2ZXIgY2FuJ3Qgb3BlbiBhbnkgZmlsZSBtb3JlICx0aGF0J3MgdGhl IHByb2JsZW0gfg0KDQogIHNvIGkgZmVsdCBpZiBic2Qgb2ZmaWNpYWwgY291bGQgY2hhbmdlIEZJ TEUgc3RydWN0J3MgZmlsZW5vIHRvIGEgVU5TSUdORUQgU0hPUlQgdGhhdCBtYXkgYmUgYW4gZWZ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19fX19fX19fX19fX19fX19fX18NCmZyZWVic2QtbmV0QGZyZWVic2Qub3JnIG1haWxpbmcgbGlz dA0KaHR0cHM6Ly9uYTAxLnNhZmVsaW5rcy5wcm90ZWN0aW9uLm91dGxvb2suY29tLz91cmw9aHR0 cHMlM0ElMkYlMkZsaXN0cy5mcmVlYnNkLm9yZyUyRm1haWxtYW4lMkZsaXN0aW5mbyUyRmZyZWVi c2QtbmV0JmRhdGE9MDIlN0MwMSU3Q2hvbnpoYW4lNDBtaWNyb3NvZnQuY29tJTdDNGE5ZGZjY2Jj Y2Q0NDZiZTJmNGEwOGQ0MmE4MzNmYjAlN0M3MmY5ODhiZjg2ZjE0MWFmOTFhYjJkN2NkMDExZGI0 NyU3QzElN0MwJTdDNjM2MTgwMTkwNTg0NDc4ODkwJnNkYXRhPVBBd0pQNUlYSHkwV0p3eGJWN01C JTJCOHp2S2hlWlVZamhIeDNvaEZSU1BaTSUzRCZyZXNlcnZlZD0wDQpUbyB1bnN1YnNjcmliZSwg c2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1uZXQtdW5zdWJzY3JpYmVAZnJlZWJzZC5vcmciDQo= From owner-freebsd-net@freebsd.org Fri Dec 23 05:52:01 2016 Return-Path: Delivered-To: freebsd-net@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 B6DFAC8D290 for ; Fri, 23 Dec 2016 05:52:01 +0000 (UTC) (envelope-from honzhan@microsoft.com) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0094.outbound.protection.outlook.com [104.47.41.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 719441667 for ; Fri, 23 Dec 2016 05:52:00 +0000 (UTC) (envelope-from honzhan@microsoft.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=LsF/mo6Y8r5A8oAHnhsXa/R742GoGg15mHanCFIveSk=; b=PJVtvXqnep1vjxDjPMEyo/Tch4tFKnYWfSAcG4nZOX4nanyPPuBMRsYOC8wcyXmAytWQIbXjYXEKFzbxlA9YKbKZQ0hS1FsAjShdSmsPr0wqxKq9Kd+nU8a/aTLGjF6c5/ymj2rbD4yNEM0FMNIHdwFdxXqj7hJE6NAKfh6Hs4M= Received: from CY1PR03MB1517.namprd03.prod.outlook.com (10.163.17.23) by CY1PR03MB1517.namprd03.prod.outlook.com (10.163.17.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.789.14; Fri, 23 Dec 2016 02:17:23 +0000 Received: from CY1PR03MB1517.namprd03.prod.outlook.com ([10.163.17.23]) by CY1PR03MB1517.namprd03.prod.outlook.com ([10.163.17.23]) with mapi id 15.01.0789.021; Fri, 23 Dec 2016 02:17:23 +0000 From: Hongjiang Zhang To: =?utf-8?B?55ub5oWn5Y2O?= , freebsd-net Subject: RE: question about fopen fd limit Thread-Topic: question about fopen fd limit Thread-Index: AQHSXGwf2qSe3kt94kW28cl0jvogp6EUyCGA Date: Fri, 23 Dec 2016 02:17:23 +0000 Message-ID: References: <2016122223570929089978@corp.netease.com> In-Reply-To: <2016122223570929089978@corp.netease.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=honzhan@microsoft.com; x-originating-ip: [2404:f801:9000:19::23a] x-ms-office365-filtering-correlation-id: 14f48776-8edc-4578-22e0-08d42ad9d538 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY1PR03MB1517; x-microsoft-exchange-diagnostics: 1; CY1PR03MB1517; 7:Xcmn7bw7K2rHoQ52wuhGUgRlMRu5uU26sTN2qOLe4yHoCARFFGpV1IWnybnoO/KMw/kfGSFZg63Gold8cR9tjPcxJfHThFm7NuCmwq61BuiCd4xCM6l0K83J02Cab8+dDCaJhK1hGgc7JD5GcnmHOFCZas08cFxNl7B1QI+FLghSh9eemk5kg1SzWofTxaQf+rfbCELLFu+TmZ/NuGC61eq3MD7YDo7rRx1OIf3wzXrvkUYUUczuqPeTV3IXIweHLaxDtpUvsklUeV5Dvh1uzRTBfQ8D4bsjQZzyh8McNRvv5Ffw9PaDdCSbWPkJlHlIQ7HQ+sPQIN1uwkboSZw0ve5iv/arHS65+8s4JfNn5vk46YGPvpfS5jMP7QfAhl6szE3Hft8KCrkRNbFcuwxgjd4iqIPSR5H3snAxFzp1on+bMr9v//uZd9zBXkFj2BuHSNE5F0qvp5eQuFuStC+rPJxe2U1gt8fi83aRlbwzd50= x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(209352067349851)(189930954265078)(219752817060721)(21532816269658); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123558021)(20161123560025)(6072148)(6047074); SRVR:CY1PR03MB1517; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1517; x-forefront-prvs: 016572D96D x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(53754006)(13464003)(199003)(377454003)(189002)(61484003)(305945005)(8990500004)(5001770100001)(6436002)(8936002)(3660700001)(33656002)(2950100002)(3280700002)(38730400001)(86612001)(2906002)(7736002)(189998001)(76576001)(9686002)(10290500002)(8676002)(5005710100001)(81156014)(101416001)(92566002)(81166006)(6506006)(2900100001)(68736007)(74316002)(107886002)(76176999)(54356999)(50986999)(77096006)(25786008)(5660300001)(229853002)(102836003)(6116002)(10090500001)(105586002)(99286002)(575784001)(86362001)(122556002)(97736004)(106356001)(106116001)(7696004); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR03MB1517; H:CY1PR03MB1517.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Dec 2016 02:17:23.6655 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1517 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 05:52:01 -0000 V2h5IGRvIHlvdSBuZWVkIHRvIG1hcCBUQ1AgZmQgdG8gRklMRT8gDQoNCkl0IGlzIGRpZmZpY3Vs dCB0byBtb2RpZnkgRklMRSBzdHJ1Y3R1cmUuIElmIGl0IGlzIHBvc3NpYmxlLCBsZXQgdXMgZmln dXJlIG91dCBzb21lIG5ldyBkZXNpZ25zIHRvIG1lZXQgeW91ciByZXF1aXJlbWVudC4NCg0KLS0t LS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IG93bmVyLWZyZWVic2QtbmV0QGZyZWVic2Qu b3JnIFttYWlsdG86b3duZXItZnJlZWJzZC1uZXRAZnJlZWJzZC5vcmddIE9uIEJlaGFsZiBPZiA/ Pz8NClNlbnQ6IFRodXJzZGF5LCBEZWNlbWJlciAyMiwgMjAxNiAxMTo1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ICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5zb24gc2hlbmcNCg0K DQp3aW5zb24gc2hlbmcNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fDQpmcmVlYnNkLW5ldEBmcmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QNCmh0dHBzOi8vbmEw MS5zYWZlbGlua3MucHJvdGVjdGlvbi5vdXRsb29rLmNvbS8/dXJsPWh0dHBzJTNBJTJGJTJGbGlz dHMuZnJlZWJzZC5vcmclMkZtYWlsbWFuJTJGbGlzdGluZm8lMkZmcmVlYnNkLW5ldCZkYXRhPTAy JTdDMDElN0Nob256aGFuJTQwbWljcm9zb2Z0LmNvbSU3QzRhOWRmY2NiY2NkNDQ2YmUyZjRhMDhk NDJhODMzZmIwJTdDNzJmOTg4YmY4NmYxNDFhZjkxYWIyZDdjZDAxMWRiNDclN0MxJTdDMCU3QzYz NjE4MDE5MDU4NDQ3ODg5MCZzZGF0YT1QQXdKUDVJWEh5MFdKd3hiVjdNQiUyQjh6dktoZVpVWWpo SHgzb2hGUlNQWk0lM0QmcmVzZXJ2ZWQ9MA0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwg dG8gImZyZWVic2QtbmV0LXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0K From owner-freebsd-net@freebsd.org Fri Dec 23 06:28:32 2016 Return-Path: Delivered-To: freebsd-net@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 2FCBCC8DA5F for ; Fri, 23 Dec 2016 06:28:32 +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 1F3AF111B for ; Fri, 23 Dec 2016 06:28:32 +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 uBN6SVQS004257 for ; Fri, 23 Dec 2016 06:28:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 168842] [tcp] FreeBSD hosts are sending TCP packets with FIN flag and no ACK set Date: Fri, 23 Dec 2016 06:28:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to bug_status 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 06:28:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D168842 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|andre@freebsd.org |freebsd-net@FreeBSD.org Status|In Progress |Open --- Comment #4 from Hiren Panchasara --- Putting this back to the pool as I suspect the problems andre mentioned may still exist. Nikolay, is it possible for you to check if you are still seeing the proble= m? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 06:49:44 2016 Return-Path: Delivered-To: freebsd-net@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 83CC8C8C091 for ; Fri, 23 Dec 2016 06:49:44 +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 680EA1BB7 for ; Fri, 23 Dec 2016 06:49:44 +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 uBN6nic9060039 for ; Fri, 23 Dec 2016 06:49:44 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211441] incorrect handling of TCPS_SYN_SENT and TCPS_SYN_RECEIVED in API tcp_usrclosed() in file tcp_usrreq.c Date: Fri, 23 Dec 2016 06:49:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 06:49:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211441 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hiren@FreeBSD.org, | |tuexen@freebsd.org --- Comment #1 from Hiren Panchasara --- CCing Michael as he has fixed some state transition bugs in TCP lately. Michael, would you be able to take a look? If not, let me know and I'll try= to do it. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 07:36:01 2016 Return-Path: Delivered-To: freebsd-net@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 25708C8CC2C for ; Fri, 23 Dec 2016 07:36:01 +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 0A5711E5E for ; Fri, 23 Dec 2016 07:36:01 +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 uBN7ZxqK000992 for ; Fri, 23 Dec 2016 07:36:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211003] net.inet.tcp.delayed_ack=0 delaying local tcp requests Date: Fri, 23 Dec 2016 07:36:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 07:36:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211003 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hiren@FreeBSD.org --- Comment #1 from Hiren Panchasara --- Exact 5s delay is very interesting. It usually points to persist timer but = not sure how to relate that here. Looks like lynx is not draining the recv space fast enough? I am not quite sure but if possible, can you try 1) capturing = the transfer 2) something other than lynx on recv side 3) -HEAD or 11? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 07:38:35 2016 Return-Path: Delivered-To: freebsd-net@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 8A758C8CCEA for ; Fri, 23 Dec 2016 07:38:35 +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 7A4AB1F34 for ; Fri, 23 Dec 2016 07:38:35 +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 uBN7cZNZ004254 for ; Fri, 23 Dec 2016 07:38:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 175153] [tcp] will there miss a FIN when do TSO? Date: Fri, 23 Dec 2016 07:38:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yizhouzhou@ict.ac.cn X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 07:38:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D175153 --- Comment #3 from yizhouzhou@ict.ac.cn --- (In reply to Hiren Panchasara from comment #2) Thanks for reviewing my report. This is about 3 years ago, I forget wether= =20 or not I have debugged it through gdb. But the problem was discovered during the=20 code inspection. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 07:42:16 2016 Return-Path: Delivered-To: freebsd-net@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 AC471C8CF06 for ; Fri, 23 Dec 2016 07:42:16 +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 9BC66130D for ; Fri, 23 Dec 2016 07:42:16 +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 uBN7gGRE015994 for ; Fri, 23 Dec 2016 07:42:16 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211441] incorrect handling of TCPS_SYN_SENT and TCPS_SYN_RECEIVED in API tcp_usrclosed() in file tcp_usrreq.c Date: Fri, 23 Dec 2016 07:42:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 07:42:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211441 --- Comment #2 from Michael Tuexen --- Hi Hiren, I can take care of it. Best regards Michael --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 07:42:50 2016 Return-Path: Delivered-To: freebsd-net@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 74539C8D08E for ; Fri, 23 Dec 2016 07:42:50 +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 63D721437 for ; Fri, 23 Dec 2016 07:42:50 +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 uBN7gofR017624 for ; Fri, 23 Dec 2016 07:42:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211441] incorrect handling of TCPS_SYN_SENT and TCPS_SYN_RECEIVED in API tcp_usrclosed() in file tcp_usrreq.c Date: Fri, 23 Dec 2016 07:42:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tuexen@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 07:42:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211441 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-net@FreeBSD.org |tuexen@freebsd.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 07:43:28 2016 Return-Path: Delivered-To: freebsd-net@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 36A13C8D128 for ; Fri, 23 Dec 2016 07:43:28 +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 2615B1529 for ; Fri, 23 Dec 2016 07:43:28 +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 uBN7hRaR018353 for ; Fri, 23 Dec 2016 07:43:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 197230] [patch] Add rcNG startup script to configure ng_tcpmss(4) Date: Fri, 23 Dec 2016 07:43:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 07:43:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197230 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org --- Comment #3 from Hiren Panchasara --- Anyone interested in commiting this work? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 07:49:23 2016 Return-Path: Delivered-To: freebsd-net@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 14945C8D35B for ; Fri, 23 Dec 2016 07:49: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 03AA51747 for ; Fri, 23 Dec 2016 07:49: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 uBN7nMO1025466 for ; Fri, 23 Dec 2016 07:49:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 151996] [patch] new tcpdrop(8) option to select interactively connections to drop Date: Fri, 23 Dec 2016 07:49:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 9.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 07:49:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D151996 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org CC| |hiren@FreeBSD.org --- Comment #1 from Hiren Panchasara --- Thanks for the submission. I have no opinion on the added functionality. If people find this useful, we can get this committed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 07:51:35 2016 Return-Path: Delivered-To: freebsd-net@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 07716C8D56E for ; Fri, 23 Dec 2016 07:51:35 +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 EAD661A6E for ; Fri, 23 Dec 2016 07:51:34 +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 uBN7pYdg032492 for ; Fri, 23 Dec 2016 07:51:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 138046] [tcp] tcp sockets stay in SYN_SENT even after receiving RST. never time out as well. Date: Fri, 23 Dec 2016 07:51:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.0-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 07:51:35 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D138046 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hiren@FreeBSD.org Assignee|andre@freebsd.org |freebsd-net@FreeBSD.org --- Comment #3 from Hiren Panchasara --- Need to evaluate if this is still the case. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 07:54:08 2016 Return-Path: Delivered-To: freebsd-net@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 49FC4C8D68A for ; Fri, 23 Dec 2016 07:54:08 +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 393141C2C for ; Fri, 23 Dec 2016 07:54:08 +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 uBN7s795041601 for ; Fri, 23 Dec 2016 07:54:08 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 141741] Etherlink III NIC won't work after upgrade to FBSD 8, If I run tcpdump - it works. Date: Fri, 23 Dec 2016 07:54:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status resolution 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 07:54:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D141741 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hiren@FreeBSD.org Status|In Progress |Closed Resolution|--- |Overcome By Events --- Comment #5 from Hiren Panchasara --- Please reopen if this is still a problem. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 08:03:00 2016 Return-Path: Delivered-To: freebsd-net@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 38513C8DCF5 for ; Fri, 23 Dec 2016 08:03:00 +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 27E961478 for ; Fri, 23 Dec 2016 08:03:00 +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 uBN82x7b000860 for ; Fri, 23 Dec 2016 08:03:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199287] Missing TCP retransmit timer reset Date: Fri, 23 Dec 2016 08:02:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 08:03:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199287 --- Comment #3 from Hiren Panchasara --- Ping - to see if you got a chance to look into the details. :-) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 08:49:15 2016 Return-Path: Delivered-To: freebsd-net@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 18B5DC899C7 for ; Fri, 23 Dec 2016 08:49:15 +0000 (UTC) (envelope-from hhsheng@corp.netease.com) Received: from corp-front03-corp.i.nease.net (corp-front03-corp.i.nease.net [123.58.164.176]) by mx1.freebsd.org (Postfix) with ESMTP id 877E81C93 for ; Fri, 23 Dec 2016 08:48:56 +0000 (UTC) (envelope-from hhsheng@corp.netease.com) Received: from E13D (unknown [218.107.55.252]) by corp-front03-corp.i.nease.net (Coremail) with SMTP id sKR4CgAXHyvn5FxY_6gEAA--.565S2; Fri, 23 Dec 2016 16:48:39 +0800 (HKT) Date: Fri, 23 Dec 2016 16:48:40 +0800 From: =?UTF-8?B?55ub5oWn5Y2O?= To: "Hongjiang Zhang" , freebsd-net Subject: Re: RE: question about fopen fd limit References: <2016122223570929089978@corp.netease.com>, , <2016122311014089280414@corp.netease.com>, X-Priority: 3 X-Has-Attach: no X-Mailer: Foxmail 7, 2, 5, 140[cn] Mime-Version: 1.0 Message-ID: <2016122316484066524625@corp.netease.com> X-CM-TRANSID: sKR4CgAXHyvn5FxY_6gEAA--.565S2 X-Coremail-Antispam: 1UD129KBjvJXoWxtFW5ZFW7Kw43JFWUur4fAFb_yoW7uF1kp3 yagw42krWkJr1kua4qyr48Cr10v3y8Ww45Gr93GryUA398WF47Jr43tFsY9a48Wrs3CryY qF429F9rGrs8ZaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUjOSb7IF0VCYb41lb7IF0VCYb415M7k042IE4IxYO2xFxVAqjxCE w4Av424lb7IF0VCFIxCj07C26c02F40Eb7x2x7xfM7k0a2IF6F4UM7kC6x804xWl1xkIjI 8I6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWDJVCq3wA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W0oVCq3wA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0 oVCq3wAawVAFpf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42IY6xIIjxv2 0xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z2 80aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JwCE64xvF2IEb7IF0Fy7 YxBIdaVFxhVjvjDU0xZFpf9x07jRYLPUUUUU= X-CM-SenderInfo: xkkvxv1qj6u0tuso0v5whd2voofrz/1tbiAgASBVUojr139QALsS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 08:49:15 -0000 aGkgYWxsLA0KDQpUaGFuayB5b3UgZm9yIHlvdXIgYWR2aWNlIH4NCnNvbHV0aW9uIDIgIGRlZmlu aXRseSBicm9hZGVuIG15IGhvcml6b25zIH5+YnV0IG1heSBiZSAgbm90IGEgZ29vZCBjaG9pY2Ug Zm9yIG15IHByb2plY3Qgfn5Mb0wNCmkgd2lsbCB0cnkgdG8gbWFpbCAgZnJlZWJzZC1jdXJyZW50 IG1haWwgbGlzdCwgaWYgbGliYyBpcyBhcyB5b3VyIGRlc2NyaXB0aW9uICwgbWF5IGJlIGkgc2hv dWxkIG1vZGlmeSBpdCBieSBteXNlbGYgfn4NClRoYW5rIHlvdSBzbyBtdWNofg0KQXJlIHUgS2lu Z1NvZnQncyBEciBaaGFuZyA/IG5pY2UgdG8gbWVldCB5b3UgISEhISENCg0KICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgd2luc29uICBzaGVuZw0KIA0KDQoNCndpbnNvbiBzaGVuZw0KIA0KRnJv bTogSG9uZ2ppYW5nIFpoY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oZVpVWWpo SHgzb2hGUlNQWk0lM0QmcmVzZXJ2ZWQ9MA0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYW55IG1haWwg dG8gImZyZWVic2QtbmV0LXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIg0K From owner-freebsd-net@freebsd.org Fri Dec 23 09:57:20 2016 Return-Path: Delivered-To: freebsd-net@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 80898C8D4F8 for ; Fri, 23 Dec 2016 09:57:20 +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 70511B60 for ; Fri, 23 Dec 2016 09:57:20 +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 uBN9vKAG016137 for ; Fri, 23 Dec 2016 09:57:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199287] Missing TCP retransmit timer reset Date: Fri, 23 Dec 2016 09:57:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sebastian.huber@embedded-brains.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 09:57:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199287 --- Comment #4 from sebastian.huber@embedded-brains.de --- (In reply to Hiren Panchasara from comment #3) Sorry, I am even more busy than last year. I didn't forget about this, but I have to set priorities. We update currently to FreeBSD HEAD. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 10:17:50 2016 Return-Path: Delivered-To: freebsd-net@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 C3A8EC8DF10 for ; Fri, 23 Dec 2016 10:17:50 +0000 (UTC) (envelope-from honzhan@microsoft.com) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0139.outbound.protection.outlook.com [104.47.36.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 699051B55 for ; Fri, 23 Dec 2016 10:17:49 +0000 (UTC) (envelope-from honzhan@microsoft.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=kqKDevtgu7Eot68QOkFAvZeivwFfHgX18Vrg5Yk2DYA=; b=M2aV30HrB0FzJL7cUzCzYthYR4fp93e4OK7tVGKDJR+50HtFdy01Bx6or+NkSPbzxfVAkwC0XjTGlvz8HmFFNI+7PQNDGIfGlG0n5Io/SACudGDio9AEyjXJhOdM9dlWXLdlYu59u9ULwVfKn6vdt1jrO9lSYQCrGA+SXKjkSEE= Received: from CY1PR03MB1517.namprd03.prod.outlook.com (10.163.17.23) by CY1PR03MB1519.namprd03.prod.outlook.com (10.163.17.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Fri, 23 Dec 2016 03:44:47 +0000 Received: from CY1PR03MB1517.namprd03.prod.outlook.com ([10.163.17.23]) by CY1PR03MB1517.namprd03.prod.outlook.com ([10.163.17.23]) with mapi id 15.01.0789.021; Fri, 23 Dec 2016 03:44:47 +0000 From: Hongjiang Zhang To: =?utf-8?B?55ub5oWn5Y2O?= , freebsd-net Subject: RE: RE: question about fopen fd limit Thread-Topic: RE: question about fopen fd limit Thread-Index: AQHSXGwf2qSe3kt94kW28cl0jvogp6EUyCGAgAAQ1AOAAADSoA== Date: Fri, 23 Dec 2016 03:44:47 +0000 Message-ID: References: <2016122223570929089978@corp.netease.com>, <2016122311014089280414@corp.netease.com> In-Reply-To: <2016122311014089280414@corp.netease.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=honzhan@microsoft.com; x-originating-ip: [2404:f801:9000:19::23a] x-ms-office365-filtering-correlation-id: 551148b1-d6ac-4bc9-7e08-08d42ae60abf x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY1PR03MB1519; x-microsoft-exchange-diagnostics: 1; CY1PR03MB1519; 7:wTqMqe/MOdZmBozCSnThheA+zqXlaON+AtR4jvtHAWD+13/nKiDP5Zqvf1aNphj2ym5BtcQdzv/eVUgug6Ep/2ssRB3M6Z2sCbSmU+Jds4saz3Jx/jHxRei7XjV0XoiWT+K3fgEjy2umlEU8denyHQJzcZBe0q9H4TTHS4S+04ojA66xenXzdDS0d44rBwl8kE1bEhayXljJUXf2X7nGl9MC1s2eXsaKzTSG5Tu4pdfrX/BXfhRaGjLuFtHduWdDpKIE+YWzQbRPRAuaK/82fd0okokdR0gFLH2cCjrxX+RWTUSuSrIB8Gu9E14YFL3ePYx9BlcgDdDOliUvKywVAvp3xCf8UoSHRJnwagNyRFCrzn7JyuaxRGpjxzkh8lL9oFTZSe2AjF2W5usuMUcArSZ/Dm/d+Ij00zoeUyJmuPHwmT7kTCK/5UP5IhbLPWJtTTp1VdA9hgjclxMxKYRBRoUGK69vAkqAG3FqXDvnyjw= x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(209352067349851)(189930954265078)(219752817060721)(21748063052155)(21532816269658); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123555025)(6042181)(6072148)(6047074); SRVR:CY1PR03MB1519; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1519; x-forefront-prvs: 016572D96D x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(7916002)(61484003)(13464003)(53754006)(377424004)(199003)(377454003)(189002)(2906002)(5001770100001)(8990500004)(97736004)(102836003)(122556002)(76576001)(189998001)(38730400001)(9686002)(2950100002)(4001150100001)(10290500002)(25786008)(5005710100001)(107886002)(74316002)(606005)(6436002)(790700001)(19609705001)(6116002)(229853002)(7906003)(6506006)(106356001)(7736002)(99286002)(5660300001)(3280700002)(10090500001)(575784001)(77096006)(33656002)(86362001)(86612001)(7696004)(81156014)(81166006)(8676002)(68736007)(8936002)(54356999)(3660700001)(2900100001)(92566002)(50986999)(106116001)(105586002)(101416001)(76176999); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR03MB1519; H:CY1PR03MB1517.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Dec 2016 03:44:47.5427 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1519 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 10:17:50 -0000 T2suIEkga25vdy4NClRoZXJlIGFyZSB0d28gcG9zc2libGUgc29sdXRpb25zOg0KDQogIDEuICBR dWljayBzb2x1dGlvbiBmb3Igc2hvcnQgdGVybTogbW9kaWZ5IHNob3J0IHRvIGludCBpbiBsaWJj IGJ5IHlvdXJzZWxmLCBidWlsZHdvcmxkIGFuZCBpbnN0YWxsd29ybGQuIFB1c2hpbmcgdG8gbW9k aWZ5IGxpYmMgbWF5IHRha2UgYSBsb25nIHRpbWUsIGVzcGVjaWFsbHkgb25seSBmZXcgcGVvcGxl IGVuY291bnRlciB0aGlzIGlzc3VlLiBZb3XigJlkIGJldHRlciBzZW5kIGVtYWlsIHRvIGZyZWVi c2QtY3VycmVudCB0byBjb25maXJtIHdoZXRoZXIgdGhleSBhY2NlcHQgeW91ciBzdWdnZXN0aW9u Lg0KICAyLiAgV29yayBhcm91bmQ6IFlvdSBjYW4gZmlyc3QgcmVzZXJ2ZSBhIHNlcmllcyBvZiBm ZCBiZWZvcmUgb3BlbmluZyBUQ1AgY29ubmVjdGlvbnMuIEZvciBleGFtcG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ICAgICAgICAgICAgICAgICAgICAgICB3aW5zb24gc2hlbmcNCg0K DQp3aW5zb24gc2hlbmcNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fDQpmcmVlYnNkLW5ldEBmcmVlYnNkLm9yZzxtYWlsdG86ZnJlZWJzZC1uZXRAZnJlZWJz ZC5vcmc+IG1haWxpbmcgbGlzdA0KaHR0cHM6Ly9uYTAxLnNhZmVsaW5rcy5wcm90ZWN0aW9uLm91 dGxvb2suY29tLz91cmw9aHR0cHMlM0ElMkYlMkZsaXN0cy5mcmVlYnNkLm9yZyUyRm1haWxtYW4l MkZsaXN0aW5mbyUyRmZyZWVic2QtbmV0JmRhdGE9MDIlN0MwMSU3Q2hvbnpoYW4lNDBtaWNyb3Nv ZnQuY29tJTdDNGE5ZGZjY2JjY2Q0NDZiZTJmNGEwOGQ0MmE4MzNmYjAlN0M3MmY5ODhiZjg2ZjE0 MWFmOTFhYjJkN2NkMDExZGI0NyU3QzElN0MwJTdDNjM2MTgwMTkwNTg0NDc4ODkwJnNkYXRhPVBB d0pQNUlYSHkwV0p3eGJWN01CJTJCOHp2S2hlWlVZamhIeDNvaEZSU1BaTSUzRCZyZXNlcnZlZD0w DQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1uZXQtdW5zdWJzY3Jp YmVAZnJlZWJzZC5vcmc8bWFpbHRvOmZyZWVic2QtbmV0LXVuc3Vic2NyaWJlQGZyZWVic2Qub3Jn PiINCg== From owner-freebsd-net@freebsd.org Fri Dec 23 10:49:47 2016 Return-Path: Delivered-To: freebsd-net@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 CA83AC8D72B for ; Fri, 23 Dec 2016 10:49:47 +0000 (UTC) (envelope-from jdison16@yahoo.com) Received: from nm32-vm7.bullet.mail.bf1.yahoo.com (nm32-vm7.bullet.mail.bf1.yahoo.com [72.30.239.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 913BEC30 for ; Fri, 23 Dec 2016 10:49:46 +0000 (UTC) (envelope-from jdison16@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1482490080; bh=CAR9SDEQLZAHEJUTfyv61tRGNCJVj6WqEMNBQsS7LcA=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=fCTviC30jyChWDSs/hUZvDt2zOp0wN4HPmMhopxJAlX56j7EhecmrLHKPCtFpdpMgpHxUGqhu3rg9yA/W73e80j6xbCQF5fRGJXztpznHwINOpl0erIYwfOaZolrEZeRY82ykXmM1ucR6QlL73lRrtXM8tMdbcua/vl8pVjR7/eE08bhLsP/dG0PNjT6L4imbMmZ26dLhfvd5/CyRFAdpHYt+1K1oR19a7IrotrSdmNtXwqE6BN/f8gsb6RKeQ9d5Ma3mRleOoSW0dBXEk5zQY7V+IJAqbnZxtFcrKIzfxb0aI2NIt8OElbwtsiTFP8vumdb34z+iPZUbL7x3vyzxg== Received: from [66.196.81.171] by nm32.bullet.mail.bf1.yahoo.com with NNFMP; 23 Dec 2016 10:48:00 -0000 Received: from [98.139.212.193] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 23 Dec 2016 10:48:00 -0000 Received: from [127.0.0.1] by omp1002.mail.bf1.yahoo.com with NNFMP; 23 Dec 2016 10:48:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 907737.68405.bm@omp1002.mail.bf1.yahoo.com X-YMail-OSG: 7AnCAkIVM1l_9zobf3vuNfZHXQIJj97m0Zgkh7thxVLjzBjtokv9DJKWlXkMnA. jx3ZJB5wU9Xx_1zBLUSUMoKRmVF3fqY4e36JggdpyWa_CfSDlzuFg8RfVqAkpdXtEoXsh7CePY4m 9pN734mgQOkt7TVPCHpKPC0d209qs5GEZnvEjkiGbazAzdTVscTdiWiBbnzPWEPPMMc1Q2t1t6Ej ejL9ec0VtRIzvlFB2S0eI7FZRX6uFFSbE44m.bTeyovZogrLFijfAU87U.uGUNcddTD6WhvelxSq mMJVgCZwIGC1bq3Vm8OofHgldjDV5msUyobqCTAuQLbqOIAFGDcC0h4JLIwFo2.ZTwWrjtV4C14N EJWRyOJNByoxDgO.W5KkVxxNAx082g29AVQg0M6684W77qqqRjkY4IsF9orVfivWy9kRr2e.9ZAw 2qkGkig1k_Bwywk1mM1mGOol_CweebgSpQLglZnEG0c1f3gSmFcMmoqNYVm4axXFuHjAKxMjjjbk S_xF01CuYAp0d144uoPQOnv0d9C2fWJS6gFTlt6DikjghO0_xxQjMsuW4KlzhBrFp8A-- Received: from jws400179.mail.bf2.yahoo.com by sendmailws152.mail.bf1.yahoo.com; Fri, 23 Dec 2016 10:48:00 +0000; 1482490080.533 Date: Fri, 23 Dec 2016 10:48:00 +0000 (UTC) From: John Dison Reply-To: John Dison To: "freebsd-net@freebsd.org" Message-ID: <1799694948.900229.1482490080295@mail.yahoo.com> In-Reply-To: <484245134.901856.1482481724608@mail.yahoo.com> References: <484245134.901856.1482481724608.ref@mail.yahoo.com> <484245134.901856.1482481724608@mail.yahoo.com> Subject: How to configure another loopback device? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 10:49:47 -0000 Hello, I want to configure lo1 loopback device and assign aliases to it via rc.con= f system (at boot).I also want loopback addresses to remain on lo0. What I have:ipv6_activate_all_interfaces=3D"YES"ifconfig_lo1_alias0=3D"inet= IP4/32"ifconfig_lo1_alias1=3D"inet6 IP6/128"cloned_interfaces=3D"lo1"creat= e_args_lo1=3D"inet6 auto_linklocal" As a result I have: 1) inet6 ::1 prefixlen 128 =C2=A0 is configured on lo1 (I want it to stay a= t lo0)2) IP6 alias is missing from lo1 at all I can achieve the desired configuration from command line, but I am unable = to do the same via rc.conf.=C2=A0 Any suggestions? Thanks. =20 From owner-freebsd-net@freebsd.org Fri Dec 23 13:04:52 2016 Return-Path: Delivered-To: freebsd-net@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 63B4BC8D5B3 for ; Fri, 23 Dec 2016 13:04:52 +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 52FDE1C0C for ; Fri, 23 Dec 2016 13:04:52 +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 uBND4qg0011955 for ; Fri, 23 Dec 2016 13:04:52 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 138046] [tcp] tcp sockets stay in SYN_SENT even after receiving RST. never time out as well. Date: Fri, 23 Dec 2016 13:04:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.0-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 13:04:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D138046 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tuexen@freebsd.org --- Comment #4 from Michael Tuexen --- Hi Hiren, if the response to the SYN is a pure RST (without an ACK bit set), it shoul= d be ignored. If it is a RST-ACK, it should be accepted if and only if it acks t= he SYN. This is tested in https://github.com/freebsd-net/tcp-testsuite/blob/master/state-event-engine= /rcv-rst-syn-sent/README.md and https://github.com/freebsd-net/tcp-testsuite/blob/master/state-event-engine= /rcv-rst-ack-syn-sent/README.md. I found no issues using the test scripts. Best regards Michael --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Fri Dec 23 14:10:20 2016 Return-Path: Delivered-To: freebsd-net@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 D074FC8E7B9 for ; Fri, 23 Dec 2016 14:10:20 +0000 (UTC) (envelope-from jdison16@yahoo.com) Received: from nm7.bullet.mail.bf1.yahoo.com (nm7.bullet.mail.bf1.yahoo.com [98.139.212.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F2021D23 for ; Fri, 23 Dec 2016 14:10:20 +0000 (UTC) (envelope-from jdison16@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1482502218; bh=77s2ICCufp6hJMwudF0u+4TAEGOxhQyAHnPNZIzBtmc=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=hvI8+OlsgYwPFazUBQ/3wsZthwEz4Tw3uYmyKRG203Nx7x76lqSDWoIx5kufXH8AR8Kun9IvqZqVuSjRMLNaOAhg5/0+S0T3DMuXnTFNLhZuybujMwmwDaqR88mgw8kSrnNRwuD40xMJLfcinhpMEAkeVv0e2rR2Cnv7xyWQ8PsSc/Li6VU5/aISYU9hNOdKgQzsbeqvBycNWLQMvZkIESQzlzkwr0ATLIN+gkD3ui7bakZmiXRyBArn4amq1Yf6hxBCJ7GOMHxcme0fInQI11e04f/5vGCf5b1zP5RBMzIQBskVb4UGkgHBDdEL/G4TcoKzC97ADG40xh3dGD4Gjg== Received: from [66.196.81.174] by nm7.bullet.mail.bf1.yahoo.com with NNFMP; 23 Dec 2016 14:10:18 -0000 Received: from [98.139.212.192] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 23 Dec 2016 14:10:18 -0000 Received: from [127.0.0.1] by omp1001.mail.bf1.yahoo.com with NNFMP; 23 Dec 2016 14:10:18 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 350802.91893.bm@omp1001.mail.bf1.yahoo.com X-YMail-OSG: 3sLCtXMVM1ls_Ne46jw64va2ZVyEJa1.L4x8AUEGraTYPtcqsZjTpUlTZ8A7oMc SCL_ez3NbUlsj437sVQltPCeWyw2UarbUyG4p_q0m5P.fpSwAHfixcMUm3575nQ3duF..U7EzvuS f3wpfm4qqXphv8IAqUm5VRSKwBdzXscR4qiMRtM3EAE4GnVsBLgSFw6JetZFjLR.k2HSQmUADw8p kJY.oXwQ6K7eLiYIgsH7RhwN46h0lLwPsAj4ErYIGFdsr0kMSvnR21fClVV.tsSvTm1xu928nUTf fLQtn15i6q7Xf2K_wdK8pxLXNpIysg_gI8ITE4FnfiUMYsP7oWxLSGsg0DQkoQkbC9el3GiV9CuZ BqkGcfubWKbtm5fbV4U4szPKEde0ZIBmJv6MEa29MTD.O6RI_LU3PWyn3zWWadk2aWoCXK.m4MGp 05M8BrHBjWY1WSNRKqzImnv9iCFKSpjHs8XpY3TcwwaBtPjrVEHfb4GU7cmkXpNwwtWi01hzfuw-- Received: from jws400142.mail.bf2.yahoo.com by sendmailws113.mail.bf1.yahoo.com; Fri, 23 Dec 2016 14:10:17 +0000; 1482502217.976 Date: Fri, 23 Dec 2016 14:10:06 +0000 (UTC) From: John Dison Reply-To: John Dison To: "freebsd-net@freebsd.org" Message-ID: <1031105507.1010181.1482502206363@mail.yahoo.com> In-Reply-To: <1799694948.900229.1482490080295@mail.yahoo.com> References: <484245134.901856.1482481724608.ref@mail.yahoo.com> <484245134.901856.1482481724608@mail.yahoo.com> <1799694948.900229.1482490080295@mail.yahoo.com> Subject: Re: How to configure another loopback device? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 14:10:20 -0000 Sorry, just noticed damn yahoo mailer eat all line breaks. Resending in plain text (I hope): I want to configure lo1 loopback device and assign aliases to it via rc.conf system (at boot). I also want loopback addresses to remain on lo0. What I have: ipv6_activate_all_interfaces="YES" ifconfig_lo1_alias0="inet IP4/32" ifconfig_lo1_alias1="inet6 IP6/128" cloned_interfaces="lo1" create_args_lo1="inet6 auto_linklocal" As a result I have: 1) inet6 ::1 prefixlen 128 is configured on lo1 (I want it to stay at lo0) 2) IP6 alias is missing from lo1 at all I can achieve the desired configuration from command line, but I am unable to do the same via rc.conf. Any suggestions? Thanks. From owner-freebsd-net@freebsd.org Fri Dec 23 15:27:51 2016 Return-Path: Delivered-To: freebsd-net@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 896B3C8EE40 for ; Fri, 23 Dec 2016 15:27:51 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 4F0D41252 for ; Fri, 23 Dec 2016 15:27:50 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9BB1328489; Fri, 23 Dec 2016 16:27:47 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id E936028471; Fri, 23 Dec 2016 16:27:46 +0100 (CET) Subject: Re: How to configure another loopback device? To: John Dison , "freebsd-net@freebsd.org" References: <484245134.901856.1482481724608.ref@mail.yahoo.com> <484245134.901856.1482481724608@mail.yahoo.com> <1799694948.900229.1482490080295@mail.yahoo.com> <1031105507.1010181.1482502206363@mail.yahoo.com> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <585D4272.2010706@quip.cz> Date: Fri, 23 Dec 2016 16:27:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <1031105507.1010181.1482502206363@mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 15:27:51 -0000 John Dison via freebsd-net wrote on 2016/12/23 15:10: > Sorry, just noticed damn yahoo mailer eat all line breaks. Resending in plain text (I hope): > > I want to configure lo1 loopback device and assign aliases to it via rc.conf system (at boot). > I also want loopback addresses to remain on lo0. > > What I have: > ipv6_activate_all_interfaces="YES" > ifconfig_lo1_alias0="inet IP4/32" > ifconfig_lo1_alias1="inet6 IP6/128" > cloned_interfaces="lo1" > create_args_lo1="inet6 auto_linklocal" > > > As a result I have: > > 1) inet6 ::1 prefixlen 128 is configured on lo1 (I want it to stay at lo0) > 2) IP6 alias is missing from lo1 at all > > I can achieve the desired configuration from command line, but I am unable to do the same via rc.conf. I don't have much experiences with IPv6. Can you post 'ifconfig' output with right (manual) settings and the second one with the wrong settings you have from rc.conf? Miroslav Lachman From owner-freebsd-net@freebsd.org Fri Dec 23 16:52:59 2016 Return-Path: Delivered-To: freebsd-net@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 09DFFC8E65F for ; Fri, 23 Dec 2016 16:52:59 +0000 (UTC) (envelope-from jdison16@yahoo.com) Received: from nm5-vm0.bullet.mail.bf1.yahoo.com (nm5-vm0.bullet.mail.bf1.yahoo.com [98.139.213.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B0D131EBE for ; Fri, 23 Dec 2016 16:52:57 +0000 (UTC) (envelope-from jdison16@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1482511971; bh=jpOmp+vZNKoS5TY9vG1Qir3tIGj9oP1pNCByTUWpziU=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=E2aVdDEcMhEHQCLvmLBYY6nA7+tLaPX5RnODPeEyoPTMLkHQcVHmkAEGGL6tv0iD+QtjdhoHd+ds1oQFsB3IbPpjUm5YjSm36Za1bi/6tR+Q2ZAkfiQDZYWQn5HJf4TITg1FYiuhFi8e3VvGIn4RhEiuJKrNPyLlOlwgX+K0r4m8Matix2uJA4EJgE/3LFGHeiypDoHEfTL701w+UmlzvTXCoduvBuiDzsi1OrmNpZvFe1TkdorXyq0sm0tad1xjhhd4Bzqy4/UqSdXUTe0eNxb4rxhwM6AEXS1Lpy8A0QOIpD0/k9wjKyL5ykdIBCI2SrJqBkj4ucANYeHum9b2jA== Received: from [98.139.215.141] by nm5.bullet.mail.bf1.yahoo.com with NNFMP; 23 Dec 2016 16:52:51 -0000 Received: from [98.139.212.225] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 23 Dec 2016 16:52:51 -0000 Received: from [127.0.0.1] by omp1034.mail.bf1.yahoo.com with NNFMP; 23 Dec 2016 16:52:51 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 164427.67665.bm@omp1034.mail.bf1.yahoo.com X-YMail-OSG: zcPJgvkVM1l0ZrLcHditap_3IBAgjo56iWtO8aLZc.mCZFDEQe4PHkSYd45z5ZO tXv_8SEZICluWo3xM7ZKtuXf9ozYl_rLR3x.sBZ7im5hvw9jHngh55KnG_YgrlnzP91xqGj.MPIb 4IU3AvViYZjKNsQsnnVDOc3vNwytj8lbBFISLVtLogAJeaUe3JD0nugKZWHlh2JxQ6R5AoMmmg9W YxVIk7jQ27T6Iky8JwRzttz36GFYaQwh4wCYCWjlOaoidAf8E6SSgpZ5YZ5Snm4djW3WfxkQzhFx n.kMSvYrYlLA.VWeJ4OsO2QgmFXP8KV1rn499CHaQdhA0Q4CoRPZ4OQEPr2Ptv_QeAida5D9gW93 OJ1EJvkIONcXxnFFBnBjk0Ylh1Cl9vq9rXexkojO_uJUSvJXUiYyrN.MRbMQts7ZpVgZYNatBsmn m4KIrL0RHluaphCHvBkPclQrilsoKfrg52kBQgpKThl2JAPpdj4yJfjqUgHsgwmMsHORKOKu1FQG RZ_VlTu7ZdROIzc1rfdaH4uRBWQ-- Received: from jws400053.mail.bf2.yahoo.com by sendmailws114.mail.bf1.yahoo.com; Fri, 23 Dec 2016 16:52:50 +0000; 1482511970.737 Date: Fri, 23 Dec 2016 16:52:48 +0000 (UTC) From: John Dison Reply-To: John Dison To: Miroslav Lachman <000.fbsd@quip.cz>, "freebsd-net@freebsd.org" Message-ID: <301695008.1064517.1482511968553@mail.yahoo.com> In-Reply-To: <585D4272.2010706@quip.cz> References: <484245134.901856.1482481724608.ref@mail.yahoo.com> <484245134.901856.1482481724608@mail.yahoo.com> <1799694948.900229.1482490080295@mail.yahoo.com> <1031105507.1010181.1482502206363@mail.yahoo.com> <585D4272.2010706@quip.cz> Subject: Re: How to configure another loopback device? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 16:52:59 -0000 > I don't have much experiences with IPv6. > Can you post 'ifconfig' output with right (manual) settings and the > second one with the wrong settings you have from rc.conf? With these rc.conf settings I get: lo0: flags=8049 metric 0 mtu 16384 options=600003 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 (missing ::1/128) lo1: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo1 prefixlen 64 scopeid 0x4 inet IP4 netmask 0xffffffff inet6 IP6 prefixlen 128 nd6 options=21 (extra ::1, I want it to remain on lo0) With manual configuration I get: lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 (standard localhost configuration, both 127.0.0.1 and ::1 are here) lo1: flags=8049 metric 0 mtu 16384 options=600003 inet IP4 netmask 0xffffffff inet6 IP6 prefixlen 128 nd6 options=21 (Okay, neither 127.0.0.1 nor ::1 are here) From owner-freebsd-net@freebsd.org Fri Dec 23 17:06:51 2016 Return-Path: Delivered-To: freebsd-net@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 63362C8EBFB for ; Fri, 23 Dec 2016 17:06:51 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 30F827EB for ; Fri, 23 Dec 2016 17:06:51 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id uBNH6nmW002270 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 23 Dec 2016 12:06:50 -0500 (EST) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c] ([IPv6:2607:f3e0:0:4:5c30:ed1b:e203:c55c]) by lava.sentex.ca (8.15.2/8.14.9) with ESMTP id uBNH6lQq083597; Fri, 23 Dec 2016 12:06:48 -0500 (EST) (envelope-from mike@sentex.net) Subject: Re: How to configure another loopback device? To: John Dison , "freebsd-net@freebsd.org" References: <484245134.901856.1482481724608.ref@mail.yahoo.com> <484245134.901856.1482481724608@mail.yahoo.com> <1799694948.900229.1482490080295@mail.yahoo.com> <1031105507.1010181.1482502206363@mail.yahoo.com> From: Mike Tancsa Organization: Sentex Communications Message-ID: Date: Fri, 23 Dec 2016 12:06:43 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1031105507.1010181.1482502206363@mail.yahoo.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 17:06:51 -0000 On 12/23/2016 9:10 AM, John Dison via freebsd-net wrote: > Sorry, just noticed damn yahoo mailer eat all line breaks. Resending in plain text (I hope): > > I want to configure lo1 loopback device and assign aliases to it via rc.conf system (at boot). > I also want loopback addresses to remain on lo0. > > What I have: > ifconfig_lo1_alias0="inet IP4/32" > ifconfig_lo1_alias1="inet6 IP6/128" > cloned_interfaces="lo1" > create_args_lo1="inet6 auto_linklocal" > if your first IPs are say 192.168.1.1-2/32 and 2001:550:2:8::1e-f Try without an alias0 for the first set of IPs ifconfig_lo1="inet 192.168.1.1/32" ifconfig_lo1_ipv6="inet6 2001:550:2:8::1e prefixlen 126" ifconfig_lo1_alias0="inet 192.168.1.2/32" ifconfig_lo1_ipv6_alias0="inet6 2001:550:2:8::1f prefixlen 126" ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-net@freebsd.org Fri Dec 23 19:42:22 2016 Return-Path: Delivered-To: freebsd-net@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 E0E1FC8D66F for ; Fri, 23 Dec 2016 19:42:22 +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 C9827167C for ; Fri, 23 Dec 2016 19:42:22 +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 uBNJgM9j067286 for ; Fri, 23 Dec 2016 19:42:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 199287] Missing TCP retransmit timer reset Date: Fri, 23 Dec 2016 19:42:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 19:42:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199287 --- Comment #5 from Hiren Panchasara --- (In reply to sebastian.huber from comment #4) Much better if you can test of -HEAD and report back whenever time permits. Cheers. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Dec 24 02:05:09 2016 Return-Path: Delivered-To: freebsd-net@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 6CEC9C8D665 for ; Sat, 24 Dec 2016 02:05:09 +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 5C9AC1A0B for ; Sat, 24 Dec 2016 02:05:09 +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 uBO257Kp063790 for ; Sat, 24 Dec 2016 02:05:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211003] net.inet.tcp.delayed_ack=0 delaying local tcp requests Date: Sat, 24 Dec 2016 02:05:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rkoberman@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 02:05:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211003 rkoberman@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rkoberman@gmail.com --- Comment #2 from rkoberman@gmail.com --- You might look at using siftr(4) to collect statistics on the transfer. It = is often overlooked, but is a part of the base system and captures detailed information on TCP activity. This can be very useful for analyzing TCP performance issues. The man page is quite detailed. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Dec 24 06:18:26 2016 Return-Path: Delivered-To: freebsd-net@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 53F28C8E426 for ; Sat, 24 Dec 2016 06:18:26 +0000 (UTC) (envelope-from david.somayajulu@qlogic.com) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0114.outbound.protection.outlook.com [104.47.38.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 098ACB5C for ; Sat, 24 Dec 2016 06:18:25 +0000 (UTC) (envelope-from david.somayajulu@qlogic.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qlgc.onmicrosoft.com; s=selector1-qlogic-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=X9a4lNyVpccpmUVjuGXA5OiVEJQfws+S2OZc6Y8rDmo=; b=Mu1DNdnwIqKE5z2TZbaIk6LfIWlV2Y+Ds061duOR/ZXUPOOd5Lj70jGpEkbfMVHb+9wl+WEl9z7gi/CI9i6943Cs5IDVvgLv+e0LGld2tmA2OKBAFzZaJObVwqKTEu6hTtPi9e0MwJl1Vu9psaCiuveq9sTNrxlDYzv9N6pVavI= Received: from BN6PR11MB1267.namprd11.prod.outlook.com (10.173.32.14) by BN6PR11MB1266.namprd11.prod.outlook.com (10.173.32.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Fri, 23 Dec 2016 21:45:58 +0000 Received: from BN6PR11MB1267.namprd11.prod.outlook.com ([10.173.32.14]) by BN6PR11MB1267.namprd11.prod.outlook.com ([10.173.32.14]) with mapi id 15.01.0803.013; Fri, 23 Dec 2016 21:45:58 +0000 From: David Somayajulu To: "freebsd-net@freebsd.org" Subject: IPV6 LRO in FreeBSD7.4 or Stable_7 Thread-Topic: IPV6 LRO in FreeBSD7.4 or Stable_7 Thread-Index: AdJdZeeIQuBMwZplTm2bsBAA/kgDeQ== Date: Fri, 23 Dec 2016 21:45:58 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=david.somayajulu@qlogic.com; x-originating-ip: [198.186.0.2] x-ms-office365-filtering-correlation-id: 41127c52-3109-472e-b896-08d42b7d14ef x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR11MB1266; x-microsoft-exchange-diagnostics: 1; BN6PR11MB1266; 7:XMcdBs/2AN0DGeZKLfQEdtido2XB9EjbZ8ifnOANo4ZjBNZITQ01pEWoVgye87T8d7QRyLx8g/sv23T+ApLasgAyNjl/VFm83/KGV3RepQJqNAKs6Jx7iYCJdOOcL1T1dqotFQMN/fA1tp4o94LzlzDKliVnDdWuH76jT024kgv9r2hZKCz2OkaYToyD4+Siwvk4q5hF0Q1FDsf7v7g9XN26wSK6w+VqQ28ejnFc3fHcd8lLX0kfUyfqGxE245VBgE5I7Qrnc5kZRi6BZ2s2R9U3IOIMlL3j6MsH38QAHGZkEL5OlEAPFGSN8rS3I6bQTXNw3wAUMefKtvKnY86nsFyUhNvD2PjPggmNjh20eT7vh1yDBHcL8M2mBMkbXwlykqSi0PZ04li++UTNv+3Uwv4LAmS4xaDbzqbBZR9wkTN5li3I2cZN4Q7hmYB8yiqeW43WtfimPRyCgfAjV/0uIw== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123558021)(20161123560025)(6072148); SRVR:BN6PR11MB1266; BCL:0; PCL:0; RULEID:; SRVR:BN6PR11MB1266; x-forefront-prvs: 016572D96D x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39450400003)(199003)(189002)(2900100001)(5640700003)(2906002)(3660700001)(450100001)(6916009)(110136003)(76576001)(25786008)(122556002)(38730400001)(7696004)(77096006)(99286002)(54356999)(105586002)(3846002)(6116002)(33656002)(102836003)(6436002)(790700001)(81166006)(6506006)(5660300001)(8676002)(81156014)(8936002)(9326002)(74316002)(50986999)(101416001)(2351001)(7736002)(66066001)(106356001)(92566002)(9686002)(86362001)(2501003)(3280700002)(68736007)(107886002)(97736004)(558084003)(5630700001)(189998001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR11MB1266; H:BN6PR11MB1267.namprd11.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: qlogic.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: qlogic.com X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Dec 2016 21:45:58.4030 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d68a1f9-1490-4d0e-8767-a87dab3ef2ba X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1266 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 06:18:26 -0000 Hi, Is IPv6 LRO support available in FreeBSD7.4 or Stable_7 ? Examining tcp_inp= ut() in netinet/tcp_input.c, it appears that it is not. Just want to make s= ure I didn't miss anything. Thanks David S. From owner-freebsd-net@freebsd.org Sat Dec 24 08:54:49 2016 Return-Path: Delivered-To: freebsd-net@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 D49E7C8CD7B for ; Sat, 24 Dec 2016 08:54:49 +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 B5DEBD32 for ; Sat, 24 Dec 2016 08:54:49 +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 uBO8smVZ024567 for ; Sat, 24 Dec 2016 08:54:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 138046] [tcp] tcp sockets stay in SYN_SENT even after receiving RST. never time out as well. Date: Sat, 24 Dec 2016 08:54:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 8.0-BETA2 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 08:54:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D138046 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Overcome By Events --- Comment #5 from Hiren Panchasara --- Michael, Thanks a lot for checking. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Dec 24 09:03:06 2016 Return-Path: Delivered-To: freebsd-net@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 6F941C8D395 for ; Sat, 24 Dec 2016 09:03:06 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from mail.strugglingcoder.info (strugglingcoder.info [104.236.146.68]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5491469 for ; Sat, 24 Dec 2016 09:03:06 +0000 (UTC) (envelope-from hiren@strugglingcoder.info) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPA id 1E8EF17FD5; Sat, 24 Dec 2016 01:03:00 -0800 (PST) Date: Sat, 24 Dec 2016 01:02:59 -0800 From: hiren panchasara To: David Somayajulu Cc: "freebsd-net@freebsd.org" Subject: Re: IPV6 LRO in FreeBSD7.4 or Stable_7 Message-ID: <20161224090259.GK82166@strugglingcoder.info> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ibe32dcbQs37CEZO" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 09:03:06 -0000 --ibe32dcbQs37CEZO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 12/23/16 at 09:45P, David Somayajulu wrote: > Hi, > Is IPv6 LRO support available in FreeBSD7.4 or Stable_7 ? Examining tcp_input() in netinet/tcp_input.c, it appears that it is not. Just want to make sure I didn't miss anything. > As far as I can tell, you are right. Cheers, Hiren --ibe32dcbQs37CEZO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJYXjm/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lwm8H/2qK4pbbVAfb5+IrjxqOCZAN GFb+GCHICKIwYho+HBHS+BmHsqENQ6tNAISmgMhzzAa2QT+6/IbgLI5BTA8qYuqq GU1Aaa6BWGTEjXZvClmO4OP4JkZOOQtccpQ7HAcRZO7nP4tCHg4MtuQ6o8HshxZw N6hymuIvO7moWNlGvDwJ/mon82V3ac1NI8AM0ZkXbHwKC+k4fNxHyppuXC/SEfFZ Itf3y/UiNH0n4BcY+/MNH85dnIYSF9hYUgIStFQXOXBtdZE8tc+on6z+1CLe2d3/ Q3gYNc/S5mLJOZlO8J8X82Egn8mXfU+juhT9i5G+a1LdmMdc7Y8OEJhLUw5q4rk= =hmIm -----END PGP SIGNATURE----- --ibe32dcbQs37CEZO-- From owner-freebsd-net@freebsd.org Sat Dec 24 09:59:43 2016 Return-Path: Delivered-To: freebsd-net@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 A3D02C8B31F for ; Sat, 24 Dec 2016 09:59:43 +0000 (UTC) (envelope-from jdison16@yahoo.com) Received: from nm49-vm3.bullet.mail.bf1.yahoo.com (nm49-vm3.bullet.mail.bf1.yahoo.com [216.109.115.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C3CBDE4 for ; Sat, 24 Dec 2016 09:59:43 +0000 (UTC) (envelope-from jdison16@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1482573469; bh=nwvtq3SPdeO01eZAoiK05f6XM19IEdhO8z9LkPFTwJs=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=crsvI7mgOgTZ5HZc0S4+9SDjvfIwjFRNSN3+/d/cyxi5948MypFO5eIWqAlSAL9gKBrRqd0HWJNmgnExsPPeLYZzdGg43hyJDQBWn9GP9flywnyDFplYchP4NXvuwcABZRHa8FZufCqMFathWierTVdOfnu91KNH+wjzpJwx0VEXLcawD5cyzL9203XZBguZTCacASYZt9kb2N5Rp4UR3cdwG5/eC5h8rRKioCB1KyqzuTWK2Mw02BBxowCGIG+3vGz5mONw7odZw6uCpT9kIelaJaXeswW4D55z7u9lYfBHPXlj4NoKfaF209PP3Slg9jLYZYQs7Ed6BjVTEFFWHA== Received: from [98.139.214.32] by nm49.bullet.mail.bf1.yahoo.com with NNFMP; 24 Dec 2016 09:57:49 -0000 Received: from [98.139.212.244] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 24 Dec 2016 09:57:49 -0000 Received: from [127.0.0.1] by omp1053.mail.bf1.yahoo.com with NNFMP; 24 Dec 2016 09:57:49 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 460007.87028.bm@omp1053.mail.bf1.yahoo.com X-YMail-OSG: BY.5IsoVM1kasiwa3r7n2qF.uZLk5oj6Nq005ZQQLQOCBB9iC8qyv77PnAz_tyv cFVZ5zTRAgqQ16wEzqumq1OtqoBgC9ug0wb_8LhriG6YZ.Y7ghUakQohC7MEoWqsFv1J0nxnUQ7v oAJXcEsJVwsVk.Ra_xkf7sY8e17uVbFKO..JgQDOd_QL_gF4JnioF8_9aGz.IhKddAIvAbf7IQBm Nl57QmaJri08QNQTimpVwEw5A6_jktuYeZJc42rZe4blzwTPBs4NKcj4t6BYEUPr8G6aocXR00WC f5s3hPPH9Ae1GC103PaUDXsJWFCNxqBLc0NffrKmeCmboo7Q1dH1HuumKUoyfILcgfyzk1Ox.a.N O9Y5po1L_Nf4MFyLCRgm34lIpFdGtSS3QVsHsVDNR6pwhB4UEbyHUdXHv8pbpzCP8_qN1LTXtyPB KfYljkxrWpYIJDZWpTQLpkYzxGJYqt88L.lyxrGYhjeW3btX.DdtlaOA.KS7nsaWRYkXIlf5dWOw- Received: from jws400149.mail.bf2.yahoo.com by sendmailws101.mail.bf1.yahoo.com; Sat, 24 Dec 2016 09:57:49 +0000; 1482573469.106 Date: Sat, 24 Dec 2016 09:57:48 +0000 (UTC) From: John Dison Reply-To: John Dison To: Mike Tancsa , "freebsd-net@freebsd.org" Message-ID: <1404669989.1370681.1482573468893@mail.yahoo.com> In-Reply-To: References: <484245134.901856.1482481724608.ref@mail.yahoo.com> <484245134.901856.1482481724608@mail.yahoo.com> <1799694948.900229.1482490080295@mail.yahoo.com> <1031105507.1010181.1482502206363@mail.yahoo.com> Subject: Re: How to configure another loopback device? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 09:59:43 -0000 > if your first IPs are say 192.168.1.1-2/32 and 2001:550:2:8::1e-f > Try without an alias0 for the first set of IPs > ifconfig_lo1="inet 192.168.1.1/32" > ifconfig_lo1_ipv6="inet6 2001:550:2:8::1e prefixlen 126" > ifconfig_lo1_alias0="inet 192.168.1.2/32" > ifconfig_lo1_ipv6_alias0="inet6 2001:550:2:8::1f prefixlen 126" It does not help: ::1/128 is still on lo1, rather than lo0. From owner-freebsd-net@freebsd.org Sat Dec 24 11:57:47 2016 Return-Path: Delivered-To: freebsd-net@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 0100CC8E339 for ; Sat, 24 Dec 2016 11:57:46 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.allbsd.org", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 72578D8F for ; Sat, 24 Dec 2016 11:57:46 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail-d.allbsd.org (p2027-ipbf1605funabasi.chiba.ocn.ne.jp [123.225.191.27]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id uBOBvHPT074376 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) (Client CN "/OU=GT07882699/OU=See+20www.rapidssl.com/resources/cps+20+28c+2915/OU=Domain+20Control+20Validated+20-+20RapidSSL+28R+29/CN=*.allbsd.org", Issuer "/C=US/O=GeoTrust+20Inc./CN=RapidSSL+20SHA256+20CA+20-+20G3"); Sat, 24 Dec 2016 20:57:37 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from alph.allbsd.org (alph.allbsd.org [192.168.0.10]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id uBOBu24x005005 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 24 Dec 2016 20:56:02 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.15.2/8.15.2) with ESMTPA id uBOBtxPS005002; Sat, 24 Dec 2016 20:56:01 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sat, 24 Dec 2016 20:54:57 +0900 (JST) Message-Id: <20161224.205457.537205546150309741.hrs@allbsd.org> To: jdison16@yahoo.com, freebsd-net@freebsd.org Cc: mike@sentex.net Subject: Re: How to configure another loopback device? From: Hiroki Sato In-Reply-To: <1404669989.1370681.1482573468893@mail.yahoo.com> References: <1031105507.1010181.1482502206363@mail.yahoo.com> <1404669989.1370681.1482573468893@mail.yahoo.com> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sat_Dec_24_20_54_57_2016_213)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.4.3 (mail.allbsd.org [133.31.130.32]); Sat, 24 Dec 2016 20:57:41 +0900 (JST) X-Spam-Status: No, score=-99.9 required=13.0 tests=CONTENT_TYPE_PRESENT, QENCPTR1,USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on gatekeeper.allbsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 11:57:47 -0000 ----Security_Multipart(Sat_Dec_24_20_54_57_2016_213)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit John Dison via freebsd-net wrote in <1404669989.1370681.1482573468893@mail.yahoo.com>: fr> > if your first IPs are say 192.168.1.1-2/32 and 2001:550:2:8::1e-f fr> fr> > Try without an alias0 for the first set of IPs fr> fr> > ifconfig_lo1="inet 192.168.1.1/32" fr> > ifconfig_lo1_ipv6="inet6 2001:550:2:8::1e prefixlen 126" fr> > ifconfig_lo1_alias0="inet 192.168.1.2/32" fr> > ifconfig_lo1_ipv6_alias0="inet6 2001:550:2:8::1f prefixlen 126" fr> fr> fr> fr> It does not help: ::1/128 is still on lo1, rather than lo0. Does adding ifconfig_lo0="inet 127.0.0.1/8" to /etc/rc.conf work? -- Hiroki ----Security_Multipart(Sat_Dec_24_20_54_57_2016_213)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlheYhEACgkQTyzT2CeTzy2MhgCgqsLpLZCmtE6MFlGcSuJSvU38 yUUAoKFvv6i+mBJYLOSQ+HyyAP4/ekzt =4e08 -----END PGP SIGNATURE----- ----Security_Multipart(Sat_Dec_24_20_54_57_2016_213)---- From owner-freebsd-net@freebsd.org Sat Dec 24 13:18:00 2016 Return-Path: Delivered-To: freebsd-net@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 DFAACC8EF01 for ; Sat, 24 Dec 2016 13:18:00 +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 CF43D182A for ; Sat, 24 Dec 2016 13:18:00 +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 uBODHxde088229 for ; Sat, 24 Dec 2016 13:18:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 215122] Try to change route default to IP out of range lock the system Date: Sat, 24 Dec 2016 13:18:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: guyyur@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 13:18:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215122 guyyur@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guyyur@gmail.com --- Comment #4 from guyyur@gmail.com --- *** Bug 211602 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Dec 24 13:18:00 2016 Return-Path: Delivered-To: freebsd-net@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 8EEA2C8EEFF for ; Sat, 24 Dec 2016 13:18:00 +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 7E4F31828 for ; Sat, 24 Dec 2016 13:18:00 +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 uBODHxda088229 for ; Sat, 24 Dec 2016 13:18:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211602] route change command for ipv6 route with bad gateway leads to deadlock/panic Date: Sat, 24 Dec 2016 13:18:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-BETA3 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guyyur@gmail.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 13:18:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211602 guyyur@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|New |Closed --- Comment #1 from guyyur@gmail.com --- *** This bug has been marked as a duplicate of bug 215122 *** --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Dec 24 18:26:12 2016 Return-Path: Delivered-To: freebsd-net@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 78BFDC8FC2D for ; Sat, 24 Dec 2016 18:26:12 +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 5AF97EBC for ; Sat, 24 Dec 2016 18:26:12 +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 uBOIQBp5040100 for ; Sat, 24 Dec 2016 18:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 205592] TCP processing in IPSec causes kernel panic Date: Sat, 24 Dec 2016 18:26:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: andrew@rinet.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 18:26:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205592 --- Comment #4 from andrew@rinet.ru --- (In reply to Hiren Panchasara from comment #3) Unfortunately, no: I don't see 11-R being ready for production yet. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Dec 24 18:28:58 2016 Return-Path: Delivered-To: freebsd-net@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 55EACC8FCE5 for ; Sat, 24 Dec 2016 18:28:58 +0000 (UTC) (envelope-from jdison16@yahoo.com) Received: from nm50-vm8.bullet.mail.bf1.yahoo.com (nm50-vm8.bullet.mail.bf1.yahoo.com [216.109.115.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D57BFA9 for ; Sat, 24 Dec 2016 18:28:57 +0000 (UTC) (envelope-from jdison16@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1482604130; bh=wJmcOwg6w8FKHQxf+pDpyv8brbXp7Y3CG4gycm3mZT4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=MQs4Va2WNOISETqwxcZiNTZeUC+cn0O2sURBFfcUdI5+mjAcQd5zTiIX2VOL3fHqw2p3LDOJzaWd9raiWWq7P0pwygeyPnezaJ0Q1vUilqblbAmcYsD6e7z2tQpi1k4vbxvrJJRQd9AU1Mg1V7DggkjOpiNEeM6tLlrxBOYwDWjscUpe8HEOwMeiFYngz/BpVwIIcW7Y3yfO5TwJMDw+Z63usS2HFVXenfb6VHeh5vYfP6oECC8o2uBx3e4IW3PR4Eq0MyMZQSoOnG0lDRygL91dEHa4v2jyGHK10smBUpeSx+tIFPgGqgMPndoxjpoesmJThHeOpWmct2lR512x3g== Received: from [98.139.170.179] by nm50.bullet.mail.bf1.yahoo.com with NNFMP; 24 Dec 2016 18:28:50 -0000 Received: from [98.139.212.229] by tm22.bullet.mail.bf1.yahoo.com with NNFMP; 24 Dec 2016 18:28:50 -0000 Received: from [127.0.0.1] by omp1038.mail.bf1.yahoo.com with NNFMP; 24 Dec 2016 18:28:50 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 209868.45854.bm@omp1038.mail.bf1.yahoo.com X-YMail-OSG: ReXB38UVM1mAqMDQ_QPee4rPfL55jIsxqu0Y5Xf3AYcctso14RzO2otoWrqrirU YBfn83xl_F_7yu0uZYdR98zW4IPXBmfjoCFd8aCoMcyVWQTtGRsSy.oZZ_UFLj2jcCAEy7JdP6th _1ToR.koX_8Iuaq5Xb63yb6bHlPFNo7FAr.LC7vT.pBLnAXvWfQ1Wh0qglYYrYScKQw39Gk2XoLr 4O1NTFBVfvh047CD9Ap79AXsDRMXjce87dIfwcFERVeb1teXj.9Bgy8Cfs0YXYsqWPeYKpKbi.7v vYRbGIk5X4gWPlIB7yuj.wk.4K_SiKlkSMl2CYij3dA9F6c7535jROynkVDRZ9mVPPVasseZBz2h Duc.ASEipPCweMGEIUQDEkR66t67Kvvk9xLzgFCUTAFPXUuJsgRAILjTTJRo8F9zijOQuVT7lHMX tlpLCPv4TUx7GRtSOkwVCf25EV1YzB7D75Rz.t6Q8pBDmcZxIr.OIyVRYSkPr3EhEUPAPKGTyaLb 0I80UQIomEoXx37alSnEJtkTPrLbAQvUzDbE- Received: from jws400080.mail.bf2.yahoo.com by sendmailws163.mail.bf1.yahoo.com; Sat, 24 Dec 2016 18:28:49 +0000; 1482604129.822 Date: Sat, 24 Dec 2016 18:28:33 +0000 (UTC) From: John Dison Reply-To: John Dison To: "freebsd-net@freebsd.org" Cc: "hrs@FreeBSD.org" , "mike@sentex.net" Message-ID: <252311393.1502179.1482604113540@mail.yahoo.com> In-Reply-To: <31938292.1421737.1482589536048@mail.yahoo.com> References: <1031105507.1010181.1482502206363@mail.yahoo.com> <1404669989.1370681.1482573468893@mail.yahoo.com> <20161224.205457.537205546150309741.hrs@allbsd.org> <31938292.1421737.1482589536048@mail.yahoo.com> Subject: RE: How to configure another loopback device? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 18:28:58 -0000 Resending, for some reason my reply is not in ML archives... probably everyone hates Yahoo Mail... ----- Forwarded Message ----- From: John Dison To: Hiroki Sato ; "freebsd-net@freebsd.org" Cc: "mike@sentex.net" Sent: Saturday, December 24, 2016 5:25 PM Subject: Re: How to configure another loopback device? fr> > if your first IPs are say 192.168.1.1-2/32 and 2001:550:2:8::1e-f fr> fr> > Try without an alias0 for the first set of IPs fr> fr> > ifconfig_lo1="inet 192.168.1.1/32" fr> > ifconfig_lo1_ipv6="inet6 2001:550:2:8::1e prefixlen 126" fr> > ifconfig_lo1_alias0="inet 192.168.1.2/32" fr> > ifconfig_lo1_ipv6_alias0="inet6 2001:550:2:8::1f prefixlen 126" fr> fr> fr> fr> It does not help: ::1/128 is still on lo1, rather than lo0. > Does adding ifconfig_lo0="inet 127.0.0.1/8" to /etc/rc.conf work? Yes, adding ifconfig_lo0="inet 127.0.0.1/8" helps indeed. Interesting is that if I also add ifconfig_lo0_ipv6="inet6 ::1/128" then ::1/128 will be on lo1. If I do not add that line, it will be on lo0. Looks weird but that workaround work. Thanks. From owner-freebsd-net@freebsd.org Sat Dec 24 18:29:15 2016 Return-Path: Delivered-To: freebsd-net@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 CBC88C8FD1B for ; Sat, 24 Dec 2016 18:29:15 +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 BB576104B for ; Sat, 24 Dec 2016 18:29:15 +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 uBOITFJS044005 for ; Sat, 24 Dec 2016 18:29:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 205592] TCP processing in IPSec causes kernel panic Date: Sat, 24 Dec 2016 18:29:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ports@grosbein.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: mfc-stable9? mfc-stable10? X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 18:29:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205592 Eugene Grosbein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ports@grosbein.net --- Comment #5 from Eugene Grosbein --- (In reply to andrew from comment #4) And lack of testing does not make it more ready. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Dec 24 19:53:00 2016 Return-Path: Delivered-To: freebsd-net@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 9C5B9C8FEF3 for ; Sat, 24 Dec 2016 19:53:00 +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 8C3381245 for ; Sat, 24 Dec 2016 19:53:00 +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 uBOJr0wU033843 for ; Sat, 24 Dec 2016 19:53:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 215513] panic: SACK scoreboard must not be empty Date: Sat, 24 Dec 2016 19:53:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hiren@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 19:53:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215513 Hiren Panchasara changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-net@FreeBSD.org CC| |hiren@FreeBSD.org --- Comment #1 from Hiren Panchasara --- Peter, which test causes this? Any way I can reprod this? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-net@freebsd.org Sat Dec 24 22:02:37 2016 Return-Path: Delivered-To: freebsd-net@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 969F6C8F0F9 for ; Sat, 24 Dec 2016 22:02:37 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.allbsd.org", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17D6681C for ; Sat, 24 Dec 2016 22:02:36 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail-d.allbsd.org (p2027-ipbf1605funabasi.chiba.ocn.ne.jp [123.225.191.27]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id uBOM2G9N026353 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) (Client CN "/OU=GT07882699/OU=See+20www.rapidssl.com/resources/cps+20+28c+2915/OU=Domain+20Control+20Validated+20-+20RapidSSL+28R+29/CN=*.allbsd.org", Issuer "/C=US/O=GeoTrust+20Inc./CN=RapidSSL+20SHA256+20CA+20-+20G3"); Sun, 25 Dec 2016 07:02:32 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from alph.allbsd.org (alph.allbsd.org [192.168.0.10]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id uBOM11oa010041 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 25 Dec 2016 07:01:01 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.15.2/8.15.2) with ESMTPA id uBOM0osT009933; Sun, 25 Dec 2016 07:01:00 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 25 Dec 2016 06:59:34 +0900 (JST) Message-Id: <20161225.065934.1192800130496756773.hrs@allbsd.org> To: jdison16@yahoo.com Cc: freebsd-net@freebsd.org, mike@sentex.net Subject: Re: How to configure another loopback device? From: Hiroki Sato In-Reply-To: <252311393.1502179.1482604113540@mail.yahoo.com> References: <20161224.205457.537205546150309741.hrs@allbsd.org> <31938292.1421737.1482589536048@mail.yahoo.com> <252311393.1502179.1482604113540@mail.yahoo.com> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sun_Dec_25_06_59_34_2016_627)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.4.3 (mail.allbsd.org [133.31.130.32]); Sun, 25 Dec 2016 07:02:33 +0900 (JST) X-Spam-Status: No, score=-99.9 required=13.0 tests=CONTENT_TYPE_PRESENT, QENCPTR1,USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on gatekeeper.allbsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 22:02:37 -0000 ----Security_Multipart(Sun_Dec_25_06_59_34_2016_627)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit John Dison wrote in <252311393.1502179.1482604113540@mail.yahoo.com>: jd> > Does adding ifconfig_lo0="inet 127.0.0.1/8" to /etc/rc.conf work? jd> jd> Yes, adding ifconfig_lo0="inet 127.0.0.1/8" helps indeed. jd> jd> Interesting is that if I also add ifconfig_lo0_ipv6="inet6 ::1/128" jd> then ::1/128 will be on lo1. If I do not add that line, it will be on lo0. jd> jd> Looks weird but that workaround work. Thanks. Here are the reasons: - 127.0.0.1/8 will be configured on lo0 in rc.d scripts if ifconfig_lo0 is missing after processing ifconfig_IF and before doing ifconfig_IF_alias*. - You cannot manually configure ::1/128 because it is configured by the kernel when a loopback interface becomes "up". If you have an ifconfig_lo1 and no ifconfig_lo0, ifconfig_lo1 will be processed and make lo1 "up" first. -- Hiroki ----Security_Multipart(Sun_Dec_25_06_59_34_2016_627)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlhe78YACgkQTyzT2CeTzy3OLgCfT9vtXF0NICpjQXT1tAovXK9c ZnEAoNP+oA4Kz26Z49qoM80TCooyxeK/ =lSjK -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Dec_25_06_59_34_2016_627)---- From owner-freebsd-net@freebsd.org Sat Dec 24 22:50:54 2016 Return-Path: Delivered-To: freebsd-net@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 53A80C8FDB6 for ; Sat, 24 Dec 2016 22:50:54 +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 43B801A74 for ; Sat, 24 Dec 2016 22:50:54 +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 uBOMorom058597 for ; Sat, 24 Dec 2016 22:50:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 215513] panic: SACK scoreboard must not be empty Date: Sat, 24 Dec 2016 22:50:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tuexen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 22:50:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215513 Michael Tuexen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tuexen@freebsd.org --- Comment #2 from Michael Tuexen --- (In reply to Peter Holm from comment #0) Any change to get a pcap or pcapng tracefile which triggers the issue? I wo= uld like to reproduce this with packetdrill... --=20 You are receiving this mail because: You are the assignee for the bug.=