From 2a76c6409c1e9c442d892d8db36bbd4590b58bb7 Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Thu, 19 Jan 2012 19:17:54 +0400 Subject: [PATCH] socket: Don't request extensions from inet diag This eats response skb mem, but we don't need it. Signed-off-by: Pavel Emelyanov Signed-off-by: Cyrill Gorcunov --- sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sockets.c b/sockets.c index 743de9449..b7fc91411 100644 --- a/sockets.c +++ b/sockets.c @@ -562,7 +562,7 @@ int collect_sockets(void) /* Collect IPv4 TCP sockets */ req.r.i.sdiag_family = AF_INET; req.r.i.sdiag_protocol = IPPROTO_TCP; - req.r.i.idiag_ext = 1 << (INET_DIAG_INFO - 1); + req.r.i.idiag_ext = 0; /* Only listening sockets supported yet */ req.r.i.idiag_states = 1 << TCP_LISTEN; tmp = collect_sockets_nl(nl, &req, sizeof(req), inet_tcp_receive_one);