mptcp: cleanup sysctl data and helpers
authorPaolo Abeni <pabeni@redhat.com>
Fri, 13 Aug 2021 22:15:44 +0000 (15:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Aug 2021 10:37:25 +0000 (11:37 +0100)
commit6da14d74e2bd07bca2cba10878dda5dc0485d59c
treebfb6c936a2d13545f48f5a16cd99918c8dbc5a9b
parent1e1d9d6f119c55c05e8ea78ed3e49046690abffd
mptcp: cleanup sysctl data and helpers

Reorder the data in mptcp_pernet to avoid wasting space
with no reasons and constify the access helpers.

No functional changes intended.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/ctrl.c
net/mptcp/protocol.h