From: David Ahern Subject: Re: [PATCH net-next 1/2] net: vrf: Add support for sends to local broadcast address Date: Thu, 25 Jan 2018 15:01:23 -0700 Message-ID: References: <20180125033738.28544-1-dsahern@gmail.com> <20180125033738.28544-2-dsahern@gmail.com> <20180125.162309.696135022243773090.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: David Miller Return-path: Received: from mail-pg0-f66.google.com ([74.125.83.66]:46870 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259AbeAYWB0 (ORCPT ); Thu, 25 Jan 2018 17:01:26 -0500 Received: by mail-pg0-f66.google.com with SMTP id s9so5930296pgq.13 for ; Thu, 25 Jan 2018 14:01:26 -0800 (PST) In-Reply-To: <20180125.162309.696135022243773090.davem@davemloft.net> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 1/25/18 2:23 PM, David Miller wrote: > From: David Ahern > Date: Wed, 24 Jan 2018 19:37:37 -0800 > >> Sukumar reported that sends to the local broadcast address >> (255.255.255.255) are broken. Check for the address in vrf driver >> and do not redirect to the VRF device - similar to multicast >> packets. >> >> With this change sockets can use SO_BINDTODEVICE to specify an >> egress interface and receive responses. Note: the egress interface >> can not be a VRF device but needs to be the enslaved device. >> >> https://bugzilla.kernel.org/show_bug.cgi?id=198521 >> >> Reported-by: Sukumar Gopalakrishnan >> Signed-off-by: David Ahern >> >> --- >> Dave: Really this is a day 1 bug that goes back to the beginning of VRF. >> IMO, backport to the 4.14 LTS kernel is sufficient; the multicast >> handling for IPv4 was only complete as of the 4.12 kernel. I directed >> this at net-next because it is not urgent for the 4.15 merge window. > > You have to decide, either this is for 'net' and -stable, or it isn't. > > We don't put things into net-next and then -stable backport it. It > doesn't work like that. > Please take this one for -net and patch 2 for net-next (it's a new feature). I can re-send as separate patches if needed.