tcp: fix an incorrect __user annotation on tcp_proc_delayed_ack_control

No user pointers for sysctls anymore.

Fixes: c3f877ec98a12 ("BACKPORT: sysctl: pass kernel pointers to ->proc_handler")
Change-Id: Ie7d47a3bb5ed4238cea83a493937f38a3fee2571
Signed-off-by: Tashfin Shakeer Rhythm <[email protected]>
This commit is contained in:
Tashfin Shakeer Rhythm 2026-07-29 02:39:16 +06:00
commit a1535b0667
No known key found for this signature in database
GPG key ID: 02FFCB5954E9A100
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ static void set_tcp_default(void)
/*sysctl handler for tcp_ack realted master control */
int tcp_proc_delayed_ack_control(struct ctl_table *table, int write,
void __user *buffer, size_t *length,
void *buffer, size_t *length,
loff_t *ppos)
{
int ret = proc_dointvec_minmax(table, write, buffer, length, ppos);