From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <542DF7BF.4000408@lab.ntt.co.jp> Date: Fri, 03 Oct 2014 10:11:27 +0900 From: Toshiaki Makita MIME-Version: 1.0 References: <1412294070-11930-1-git-send-email-vyasevic@redhat.com> <1412294070-11930-3-git-send-email-vyasevic@redhat.com> In-Reply-To: <1412294070-11930-3-git-send-email-vyasevic@redhat.com> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] [PATCH v3 net-next 2/3] bridge: Simplify pvid checks. List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Yasevich , netdev@vger.kernel.org Cc: stephen@networkplumber.org, bridge@lists.linux-foundation.org, Vladislav Yasevich On 2014/10/03 8:54, Vladislav Yasevich wrote: > Currently, if the pvid is not set, we return an illegal vlan value > even though the pvid value is set to 0. Since pvid of 0 is currently > invalid, just return 0 instead. This makes the current and future > checks simpler. > > Signed-off-by: Vladislav Yasevich Acked-by: Toshiaki Makita Thanks, Toshiaki Makita From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toshiaki Makita Subject: Re: [PATCH v3 net-next 2/3] bridge: Simplify pvid checks. Date: Fri, 03 Oct 2014 10:11:27 +0900 Message-ID: <542DF7BF.4000408@lab.ntt.co.jp> References: <1412294070-11930-1-git-send-email-vyasevic@redhat.com> <1412294070-11930-3-git-send-email-vyasevic@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Cc: stephen@networkplumber.org, bridge@lists.linux-foundation.org, Vladislav Yasevich To: Vladislav Yasevich , netdev@vger.kernel.org Return-path: In-Reply-To: <1412294070-11930-3-git-send-email-vyasevic@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bridge-bounces@lists.linux-foundation.org Errors-To: bridge-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org On 2014/10/03 8:54, Vladislav Yasevich wrote: > Currently, if the pvid is not set, we return an illegal vlan value > even though the pvid value is set to 0. Since pvid of 0 is currently > invalid, just return 0 instead. This makes the current and future > checks simpler. > > Signed-off-by: Vladislav Yasevich Acked-by: Toshiaki Makita Thanks, Toshiaki Makita