summaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-11-19 15:43:27 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-19 15:43:27 -0800
commita7a0d6a87b70f7b2bab5281fc0fd443772bd0795 (patch)
treeadb4978c449d9ae570e848910ac777dd513277ac /net/dccp
parent14e943db133489c98d426a0dcfce4a99c6e8ad97 (diff)
downloadop-kernel-dev-a7a0d6a87b70f7b2bab5281fc0fd443772bd0795.zip
op-kernel-dev-a7a0d6a87b70f7b2bab5281fc0fd443772bd0795.tar.gz
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/dccp')
-rw-r--r--net/dccp/diag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/diag.c b/net/dccp/diag.c
index d8a3509..d1e1003 100644
--- a/net/dccp/diag.c
+++ b/net/dccp/diag.c
@@ -45,7 +45,7 @@ static void dccp_diag_get_info(struct sock *sk, struct inet_diag_msg *r,
dccp_get_info(sk, _info);
}
-static struct inet_diag_handler dccp_diag_handler = {
+static const struct inet_diag_handler dccp_diag_handler = {
.idiag_hashinfo = &dccp_hashinfo,
.idiag_get_info = dccp_diag_get_info,
.idiag_type = DCCPDIAG_GETSOCK,
OpenPOWER on IntegriCloud