]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: drop SK_RECLAIM_* macros
authorPaolo Abeni <pabeni@redhat.com>
Thu, 30 Jun 2022 22:17:55 +0000 (15:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2022 12:24:59 +0000 (13:24 +0100)
commit819e65a69442af72fd2a8ff888956383bba1423a
tree57958b8c7ffaab408e1c1a41ad301a2fee3194a4
parent66f862d2dd9c67e5c3d3fa97decadb682bd22fdf
mptcp: drop SK_RECLAIM_* macros

After commit 51d8ac882d1b ("net: keep sk->sk_forward_alloc as small as
possible"), the MPTCP protocol is the last SK_RECLAIM_CHUNK and
SK_RECLAIM_THRESHOLD users.

Update the MPTCP reclaim schema to match the core/TCP one and drop the
mentioned macros. This additionally clean the MPTCP code a bit.

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/protocol.c