From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net 2/2] tun: send netlink notification when the device is modified Date: Wed, 11 Apr 2018 14:48:54 -0400 (EDT) Message-ID: <20180411.144854.320149283431285263.davem@davemloft.net> References: <0b61a3298ffa3a3fbc4ae0cae1573b368301a211.1523370272.git.sd@queasysnail.net> <0b61a3298ffa3a3fbc4ae0cae1573b368301a211.1523370272.git.sd@queasysnail.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, thaller@redhat.com, sbrivio@redhat.com To: sd@queasysnail.net Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:44602 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756159AbeDKSs5 (ORCPT ); Wed, 11 Apr 2018 14:48:57 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Sabrina Dubroca Date: Tue, 10 Apr 2018 16:28:56 +0200 > I added dumping of link information about tun devices over netlink in > commit 1ec010e70593 ("tun: export flags, uid, gid, queue information > over netlink"), but didn't add the missing netlink notifications when > the device's exported properties change. > > This patch adds notifications when owner/group or flags are modified, > when queues are attached/detached, and when a tun fd is closed. > > Reported-by: Thomas Haller > Fixes: 1ec010e70593 ("tun: export flags, uid, gid, queue information over netlink") > Signed-off-by: Sabrina Dubroca Applied and queued up for -stable.