mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
tcp: fix an incorrect __user annotation on tcp_use_userconfig_sysctl_handler
No user pointers for sysctls anymore.
Fixes: c3f877ec98a12 ("BACKPORT: sysctl: pass kernel pointers to ->proc_handler")
Change-Id: Ia9c27a7308aad6fb9b6476f1000d2588d0367014
Signed-off-by: Tashfin Shakeer Rhythm <[email protected]>
This commit is contained in:
parent
a1535b0667
commit
69c7394469
2 changed files with 2 additions and 2 deletions
|
|
@ -356,7 +356,7 @@ ssize_t tcp_splice_read(struct socket *sk, loff_t *ppos,
|
|||
|
||||
/* sysctl master controller */
|
||||
extern int tcp_use_userconfig_sysctl_handler(struct ctl_table *table,
|
||||
int write, void __user *buffer, size_t *length,
|
||||
int write, void *buffer, size_t *length,
|
||||
loff_t *ppos);
|
||||
extern int tcp_proc_delayed_ack_control(struct ctl_table *table, int write,
|
||||
void *buffer, size_t *length,
|
||||
|
|
|
|||
Loading…
Reference in a new issue