From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bernat.im; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=postfix; bh=cO00Z4JV3D5eI6UtRE72Z+5T6XI=; b=ZWF vVWwHbJNQx6dBjfQPPyF4BJrPMJ32D32wGu46Yle9+ccwXnbs10Yw6nXLeUJeA5x /IO6rglAPS2yHgefAPFppVDQYahJ3dhaVMyGXE2TsFyvHjPFVwPGr/3TPIonylSr 0OJHHGeZtffov7cVpSlXFrJwMRFf0cPqnU6XRZnc= From: Vincent Bernat References: <20170915193808.22338-1-vincent@bernat.im> In-Reply-To: <20170915193808.22338-1-vincent@bernat.im> (Vincent Bernat's message of "Fri, 15 Sep 2017 21:38:08 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Bridge] [PATCH net-next v1] bridge: also trigger RTM_NEWLINK when interface is released from bridge List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 15 Sep 2017 21:17:10 -0000 To: Stephen Hemminger Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, "David S. Miller" =E2=9D=A6 15 septembre 2017 21:38 +0200, Vincent Bernat =C2=A0: > Currently, when an interface is released from a bridge, we get a > RTM_DELLINK event through netlink: > > Deleted 2: dummy0: mtu 1500 master bridge0 = state UNKNOWN > link/ether 6e:23:c2:54:3a:b3 It should be noted this only happens when using the ioctl API. When using the netlink API, rtnetlink.c will send a RTM_NEWLINK because of the modification. --=20 When in doubt, tell the truth. -- Mark Twain From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Bernat Subject: Re: [PATCH net-next v1] bridge: also trigger RTM_NEWLINK when interface is released from bridge Date: Fri, 15 Sep 2017 23:08:42 +0200 Message-ID: References: <20170915193808.22338-1-vincent@bernat.im> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "David S. Miller" , bridge@lists.linux-foundation.org, netdev@vger.kernel.org To: Stephen Hemminger Return-path: Received: from bart.luffy.cx ([78.47.78.131]:53140 "EHLO bart.luffy.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751628AbdIOVRJ (ORCPT ); Fri, 15 Sep 2017 17:17:09 -0400 In-Reply-To: <20170915193808.22338-1-vincent@bernat.im> (Vincent Bernat's message of "Fri, 15 Sep 2017 21:38:08 +0200") Sender: netdev-owner@vger.kernel.org List-ID: =E2=9D=A6 15 septembre 2017 21:38 +0200, Vincent Bernat =C2=A0: > Currently, when an interface is released from a bridge, we get a > RTM_DELLINK event through netlink: > > Deleted 2: dummy0: mtu 1500 master bridge0 = state UNKNOWN > link/ether 6e:23:c2:54:3a:b3 It should be noted this only happens when using the ioctl API. When using the netlink API, rtnetlink.c will send a RTM_NEWLINK because of the modification. --=20 When in doubt, tell the truth. -- Mark Twain