projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sock_diag: specify info_size per inet protocol
[cascardo/linux.git]
/
net
/
ipv4
/
tcp_diag.c
diff --git
a/net/ipv4/tcp_diag.c
b/net/ipv4/tcp_diag.c
index
79b34a0
..
423e388
100644
(file)
--- a/
net/ipv4/tcp_diag.c
+++ b/
net/ipv4/tcp_diag.c
@@
-50,6
+50,7
@@
static const struct inet_diag_handler tcp_diag_handler = {
.dump_one = tcp_diag_dump_one,
.idiag_get_info = tcp_diag_get_info,
.idiag_type = IPPROTO_TCP,
+ .idiag_info_size = sizeof(struct tcp_info),
};
static int __init tcp_diag_init(void)