lkml.org 
[lkml]   [2012]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Commit 8ef874bfc7296fa206eea2ad1e8a426f576bf6f6 has broken ss command
From
Date
On Wed, 2012-04-04 at 05:24 -0400, David Miller wrote:
> From: Eric Dumazet <eric.dumazet@gmail.com>
> Date: Wed, 04 Apr 2012 11:07:43 +0200
>
> > On Wed, 2012-04-04 at 18:03 +0900, Kusanagi Kouichi wrote:
> >> Since commit 8ef874bfc7296fa206eea2ad1e8a426f576bf6f6 ("sock_diag:
> >> Move the sock_ code to net/core/"), ss command from iproute package
> >> doesn't work if INET_DIAG is not enabled.
> >>
> >> $ ss
> >> State Recv-Q Send-Q Local Address:Port Peer Address:Port
> >> TCPDIAG answers: Operation not supported
> >> --
> >
> > Try to update your iproute2 package ?
>
> Well, he doesn't INET_DIAG enabled in his kernel, so no matter what
> iproute2 version he uses it won't work :-)

iproute2 misc/ss.c has a fallback using /proc/net/tcp

Dont know when this broke.

I guess we should fix ss to cope INET_DIAG being disabled.

tcp_show_netlink() should return -1 instead of 0




\
 
 \ /
  Last update: 2012-04-04 11:47    [W:0.046 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site