net: constify sock_diag_check_cookie()
[deliverable/linux.git] / include / linux / sock_diag.h
index 46cca4c06848346ca84753ac182526a4514ff277..b5ad7d35a636dba640825e151ccf972417677286 100644 (file)
@@ -19,7 +19,7 @@ void sock_diag_unregister(const struct sock_diag_handler *h);
 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
 
-int sock_diag_check_cookie(void *sk, __u32 *cookie);
+int sock_diag_check_cookie(void *sk, const __u32 *cookie);
 void sock_diag_save_cookie(void *sk, __u32 *cookie);
 
 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attr);
This page took 0.029511 seconds and 5 git commands to generate.