mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
net: constify sock_diag_check_cookie()
sock_diag_check_cookie() second parameter is constant Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3855634deb
commit
491da2a477
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue