From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753821AbcIJTbK (ORCPT ); Sat, 10 Sep 2016 15:31:10 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:35844 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751618AbcIJTbG (ORCPT ); Sat, 10 Sep 2016 15:31:06 -0400 Date: Sat, 10 Sep 2016 22:31:02 +0300 From: Cyrill Gorcunov To: David Ahern Cc: NETDEV , LKML , "David S. Miller" , Eric Dumazet , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , Andrey Vagin , Stephen Hemminger Subject: Re: [PATCH] net: ip, diag -- Add diag interface for raw sockets Message-ID: <20160910193102.GA2001@uranus.lan> References: <20160909182636.GC2366@uranus.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.0 (2016-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 10, 2016 at 10:31:35AM -0600, David Ahern wrote: > On 9/9/16 12:26 PM, Cyrill Gorcunov wrote: > > In criu we are actively using diag interface to collect sockets > > present in the system when dumping applications. And while for > > unix, tcp, udp[lite], packet, netlink it works as expected, > > the raw sockets do not have. Thus add it. > > > > CC: David S. Miller > > CC: Eric Dumazet > > CC: Alexey Kuznetsov > > CC: James Morris > > CC: Hideaki YOSHIFUJI > > CC: Patrick McHardy > > CC: Andrey Vagin > > CC: Stephen Hemminger > > Signed-off-by: Cyrill Gorcunov > > --- > > Would you mind adding the destroy capability as well? The udp version should be close to > what is needed for raw sockets. See udp_diag_destroy and udp_abort. Sure, will do.