Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb717d76 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

tcp: make proc_tcp_fastopen_key static



Detected by sparse.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd2a13e2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ static int ipv4_tcp_mem(ctl_table *ctl, int write,
	return 0;
}

int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer,
static int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer,
				 size_t *lenp, loff_t *ppos)
{
	ctl_table tbl = { .maxlen = (TCP_FASTOPEN_KEY_LENGTH * 2 + 10) };