inet_diag: adjust inet_sk_diag_fill() bug condition
authorEric Dumazet <edumazet@google.com>
Fri, 13 Mar 2015 22:51:11 +0000 (15:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Mar 2015 19:05:10 +0000 (15:05 -0400)
commita07c92078d5cf32dcc7c3d673066f031d02dc454
treea499f2cfd978596b269456dcebeb6658f4fff567
parent16f86165bd0a94a96ab99629828cc9057db50221
inet_diag: adjust inet_sk_diag_fill() bug condition

inet_sk_diag_fill() only copes with non timewait and non request socks

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c