diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-11-19 15:43:27 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-19 15:43:27 -0800 |
commit | a7a0d6a87b70f7b2bab5281fc0fd443772bd0795 (patch) | |
tree | adb4978c449d9ae570e848910ac777dd513277ac /net/ipv4/tcp_diag.c | |
parent | 14e943db133489c98d426a0dcfce4a99c6e8ad97 (diff) |
net: inet_diag_handler structs can be const
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_diag.c')
-rw-r--r-- | net/ipv4/tcp_diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_diag.c b/net/ipv4/tcp_diag.c index 838d491dfda..fcbcd4ff6c5 100644 --- a/net/ipv4/tcp_diag.c +++ b/net/ipv4/tcp_diag.c @@ -34,7 +34,7 @@ static void tcp_diag_get_info(struct sock *sk, struct inet_diag_msg *r, tcp_get_info(sk, info); } -static struct inet_diag_handler tcp_diag_handler = { +static const struct inet_diag_handler tcp_diag_handler = { .idiag_hashinfo = &tcp_hashinfo, .idiag_get_info = tcp_diag_get_info, .idiag_type = TCPDIAG_GETSOCK, |