[{"id":1769453,"web_url":"http://patchwork.ozlabs.org/comment/1769453/","msgid":"<m3zi9vbrfp.fsf@luffy.cx>","list_archive_url":null,"date":"2017-09-15T21:08:42","subject":"Re: [PATCH net-next v1] bridge: also trigger RTM_NEWLINK when\n\tinterface is released from bridge","submitter":{"id":64027,"url":"http://patchwork.ozlabs.org/api/people/64027/","name":"Vincent Bernat","email":"vincent@bernat.im"},"content":"❦ 15 septembre 2017 21:38 +0200, Vincent Bernat <vincent@bernat.im> :\n\n> Currently, when an interface is released from a bridge, we get a\n> RTM_DELLINK event through netlink:\n>\n> Deleted 2: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 master bridge0 state UNKNOWN\n>     link/ether 6e:23:c2:54:3a:b3\n\nIt should be noted this only happens when using the ioctl API. When\nusing the netlink API, rtnetlink.c will send a RTM_NEWLINK because of\nthe modification.","headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=bernat.im header.i=@bernat.im\n\theader.b=\"ZWFvVWwH\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xv7Wr2qsSz9ryQ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 16 Sep 2017 07:17:12 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751782AbdIOVRK (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 15 Sep 2017 17:17:10 -0400","from bart.luffy.cx ([78.47.78.131]:53140 \"EHLO bart.luffy.cx\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751628AbdIOVRJ (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tFri, 15 Sep 2017 17:17:09 -0400","from bart.luffy.cx (localhost [127.0.0.1])\n\tby bart.luffy.cx (Postfix) with ESMTP id 6AA39141C1;\n\tFri, 15 Sep 2017 23:08:43 +0200 (CEST)","from neo.luffy.cx (184.36.105.92.dynamic.wline.res.cust.swisscom.ch\n\t[92.105.36.184])\n\tby bart.luffy.cx (Postfix) with ESMTPS id 4133E1419C;\n\tFri, 15 Sep 2017 23:08:43 +0200 (CEST)","by neo.luffy.cx (Postfix, from userid 500)\n\tid D53DFA62; Fri, 15 Sep 2017 23:08:42 +0200 (CEST)"],"X-Greylist":"delayed 505 seconds by postgrey-1.27 at vger.kernel.org;\n\tFri, 15 Sep 2017 17:17:09 EDT","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=bernat.im; h=from:to:cc\n\t:subject:references:date:in-reply-to:message-id:mime-version\n\t:content-type; s=postfix; bh=cO00Z4JV3D5eI6UtRE72Z+5T6XI=; b=ZWF\n\tvVWwHbJNQx6dBjfQPPyF4BJrPMJ32D32wGu46Yle9+ccwXnbs10Yw6nXLeUJeA5x\n\t/IO6rglAPS2yHgefAPFppVDQYahJ3dhaVMyGXE2TsFyvHjPFVwPGr/3TPIonylSr\n\t0OJHHGeZtffov7cVpSlXFrJwMRFf0cPqnU6XRZnc=","DomainKey-Signature":"a=rsa-sha1; c=nofws; d=bernat.im; h=from:to:cc\n\t:subject:references:date:in-reply-to:message-id:mime-version\n\t:content-type; q=dns; s=postfix; b=LmlxP+eqCrPoRKysuyRe9AZNEYVHb\n\tYKjKxFGuHogbl9x1kbjSVn/4YxzGi7yXJZAFVIwey4gM16pTOM+pR+z48tMq0CFU\n\toBreqUQSSSi6I3g6oozvEVdYv6ZFrEFoeDws69ZsDHazaW3rpoX8P+rG3b7aH001\n\t8siO3PhsElxYkA=","From":"Vincent Bernat <vincent@bernat.im>","To":"Stephen Hemminger <stephen@networkplumber.org>","Cc":"\"David S. Miller\" <davem@davemloft.net>,\n\tbridge@lists.linux-foundation.org, netdev@vger.kernel.org","Subject":"Re: [PATCH net-next v1] bridge: also trigger RTM_NEWLINK when\n\tinterface is released from bridge","References":"<20170915193808.22338-1-vincent@bernat.im>","Date":"Fri, 15 Sep 2017 23:08:42 +0200","In-Reply-To":"<20170915193808.22338-1-vincent@bernat.im> (Vincent Bernat's\n\tmessage of \"Fri, 15 Sep 2017 21:38:08 +0200\")","Message-ID":"<m3zi9vbrfp.fsf@luffy.cx>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"quoted-printable","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"}}]