From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sat, 16 Feb 2013 17:18:44 +0800 References: <201302111710.04911.lindner_marek@yahoo.de> <1360573828-24399-1-git-send-email-lindner_marek@yahoo.de> <1360573828-24399-5-git-send-email-lindner_marek@yahoo.de> In-Reply-To: <1360573828-24399-5-git-send-email-lindner_marek@yahoo.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201302161718.44571.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv3 5/6] batman-adv: Allow to use rntl_link for device creation/deletion Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org Cc: Sven Eckelmann On Monday, February 11, 2013 17:10:26 Marek Lindner wrote: > From: Sven Eckelmann > > The sysfs configuration interface of batman-adv to add/remove > soft-interfaces is not deadlock free and doesn't follow the currently > common way to create new virtual interfaces. > > An additional interface though rtnl_link is introduced which provides easy > device creation/deletion with tools like "ip": > > $ ip link add dev bat0 type batadv > $ ip link del dev bat0 > > Signed-off-by: Sven Eckelmann > --- > main.c | 2 ++ > main.h | 1 + > soft-interface.c | 29 +++++++++++++++++++++++++++++ > soft-interface.h | 1 + > 4 files changed, 33 insertions(+) Applied in revision 5317331. Thanks, Marek