From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net-next v2 1/1] bridge: return error code when deleting Vlan Date: Fri, 13 Oct 2017 08:31:42 -0600 Message-ID: References: <1507816314-2896-1-git-send-email-mrv@mojatatu.com> <64292550-f043-c1f7-5b0e-004288832887@mojatatu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: David Miller , Stephen Hemminger , Linux Kernel Network Developers To: Nikolay Aleksandrov , Jamal Hadi Salim , Roman Mashak Return-path: Received: from mail-pf0-f178.google.com ([209.85.192.178]:53571 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758063AbdJMObl (ORCPT ); Fri, 13 Oct 2017 10:31:41 -0400 Received: by mail-pf0-f178.google.com with SMTP id t188so7976000pfd.10 for ; Fri, 13 Oct 2017 07:31:41 -0700 (PDT) In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 10/12/17 8:15 PM, Nikolay Aleksandrov wrote: > I do agree it's a bug, but there might be scripts that rely on it and > don't check the return value when clearing vlans. They will end up with > a partial clear and wrongly assumed state, so maybe leave the > opportunistic delete but count if anything was actually deleted and send > an event only then ? +1