git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e815665
)
inet_diag: remove duplicate code from inet_twsk_diag_dump()
author
Eric Dumazet
<edumazet@google.com>
Thu, 5 Mar 2015 18:18:14 +0000
(10:18 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 6 Mar 2015 03:55:44 +0000
(22:55 -0500)
timewait sockets now share a common base with established sockets.
inet_twsk_diag_dump() can use inet_diag_bc_sk() instead of duplicating
code, granted that inet_diag_bc_sk() does proper userlocks
initialization.
twsk_build_assert() will catch any future changes that could break
the assumptions.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c
patch
|
blob
|
history
diff --cc
net/ipv4/inet_diag.c
Simple merge