From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756136AbcIOUgN (ORCPT ); Thu, 15 Sep 2016 16:36:13 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:34263 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520AbcIOUgM (ORCPT ); Thu, 15 Sep 2016 16:36:12 -0400 Message-ID: <1473971768.22679.53.camel@edumazet-glaptop3.roam.corp.google.com> Subject: Re: [PATCH v3] net: ip, diag -- Add diag interface for raw sockets From: Eric Dumazet To: David Ahern Cc: Cyrill Gorcunov , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller , kuznet@ms2.inr.ac.ru, jmorris@namei.org, yoshfuji@linux-ipv6.org, kaber@trash.net, avagin@openvz.org, stephen@networkplumber.org Date: Thu, 15 Sep 2016 13:36:08 -0700 In-Reply-To: References: <20160913171950.GC32643@uranus> <8260ff1f-6907-aed8-caae-68d63a4ad529@cumulusnetworks.com> <20160915202219.GB1867@uranus.lan> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-09-15 at 14:25 -0600, David Ahern wrote: > On 9/15/16 2:22 PM, Cyrill Gorcunov wrote: > >> ss -K is not working. Socket lookup fails to find a match due to a protocol mismatch. > >> > >> haven't had time to track down why there is a mismatch since the kill uses the socket returned > >> from the dump. Won't have time to come back to this until early next week. > > > > Have you ran iproute2 patched? I just ran ss -K and all sockets get closed > > (including raw ones), which actually kicked me off the testing machine sshd :/ > > yes. > And CONFIG_INET_DIAG_DESTROY is also set in your .config ?