net: sock_diag_handler structs can be const
authorShan Wei <davidshan@tencent.com>
Tue, 24 Apr 2012 18:21:07 +0000 (18:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2012 00:46:59 +0000 (20:46 -0400)
commit8dcf01fc009d12d01fd195ed95eaaee61178f21a
treedaa9665ec6c4fe8ca17232242c8b3126e7b14076
parent808db80a7eeff8314ac51654bfefc864582eea13
net: sock_diag_handler structs can be const

read only, so change it to const.

Signed-off-by: Shan Wei <davidshan@tencent.com>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sock_diag.h
net/core/sock_diag.c
net/ipv4/inet_diag.c
net/unix/diag.c