From owner-svn-src-head@freebsd.org Sat Aug 20 18:57:37 2016 Return-Path: Delivered-To: svn-src-head@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 621A1BC0EFF; Sat, 20 Aug 2016 18:57:37 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 25B1B1C40; Sat, 20 Aug 2016 18:57:37 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-io0-x230.google.com with SMTP id 38so76997594iol.0; Sat, 20 Aug 2016 11:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GzYXeQos5FAGlL7ru4K5UO/s8F6AQg6K/om87Nb9uKU=; b=q7WmFaa6CXZTl5INjzABW+AlfowKzcq9rWbUtPffcGeWgEZaiNyzAFPrebQ57IzT00 dw/QvZCSj0860EKt2fbbAJzVFGfetev2a4nLPWnfiq6kNKM5oIlfMTkjgkRl8g6LOC18 IS2PTUw2W/HW2r69z1N3VamnwBVDQUf5T9oSZXtlAeLltUDAokttbddrIiuHiw6D37v7 XebnvhYD5xe2eCvwawCNc3lxRuiiHOCKb8BEat3bvLpLUEGLocln65LX+yjVRa6YPl4n 4cgezvg8wguqK9+mQF0GiKWkxDOlj0OWIyH7Z9vTr9i117lPq/BW4OfcJWPeKoitSx2M xBnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GzYXeQos5FAGlL7ru4K5UO/s8F6AQg6K/om87Nb9uKU=; b=j827XgqeNnzZIQdWyL/VQMI+FGAUdNcfrIy0ahmiBRwIYRqLtsKQzxSknAuhXJmM8q /t4oVu74BirFU/xFnSVF1k+3iazicrn3UHWTYbCW+gDyTSU5AaexXVce9Q1CcsXz8Cmu EhEpoDU43/rI01Xbnx9Wm/E92DYH7O2bHv1bMr+N1XyZOZpVWFcFyktR7Tw32klU/9dq t+xqrUvZOr+lQkWRB47VK0p1XfIwtKZLMNn0RhjLRB0GZ264wiHT2Ji62sukhZXS9Vsh GH2P1ovEdeFKcbVCA0qlKhZeFQDOnMQQl11l32QZcHdHYsKVPsN5s8YUtlPesUzS9Rz7 7CMQ== X-Gm-Message-State: AEkooutXMg6FTowNDHPbsVrUdOYlwONLncND+rXhwE8VW0BogQ0+ei1jn2d1xFGvfwvqOflz8cTAVDiB7hu3gg== X-Received: by 10.107.159.147 with SMTP id i141mr15640182ioe.29.1471719456573; Sat, 20 Aug 2016 11:57:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.200.71 with HTTP; Sat, 20 Aug 2016 11:57:36 -0700 (PDT) In-Reply-To: <20160820184506.GV8192@zxy.spb.ru> References: <201608182259.u7IMx5oW002018@repo.freebsd.org> <4fbc2e1d-3a62-5963-83d5-f9c931503e51@fastmail.net> <3806700d-ed27-7915-4818-c2d64f7b806d@fastmail.net> <6f4449f2-d145-8b49-c3f0-433e8ff4d2a2@fastmail.net> <20160820173050.GQ22212@zxy.spb.ru> <20160820184506.GV8192@zxy.spb.ru> From: Ryan Stone Date: Sat, 20 Aug 2016 14:57:36 -0400 Message-ID: Subject: Re: svn commit: r304436 - in head: . sys/netinet To: Slawa Olhovchenkov Cc: Bruce Simpson , "svn-src-head@freebsd.org" , Ryan Stone , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 18:57:37 -0000 On Sat, Aug 20, 2016 at 2:45 PM, Slawa Olhovchenkov wrote: > You also can recive this on ethernet too, IMHO, in case of /32. > Receiving L3 broadcst in L2 unicast is legitime (IMHO) and we must be > relaxed on this. > There is no broadcast address on a /32 network. Independent of my change, we would not treat a packet received on a /32 network as a broadcast here because in_broadcast() will return 0 for it.