]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: clean-up MPJ option writing
authorPaolo Abeni <pabeni@redhat.com>
Fri, 7 Jan 2022 00:20:21 +0000 (16:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jan 2022 11:27:07 +0000 (11:27 +0000)
commit567cb6376f66f689759e269ffd6a4b84b5991095
tree6d33778788f40d2132e6aa7d3b902e3c79486480
parentf634e08442aedc1274bde9207fe6ba764b38e5ce
mptcp: clean-up MPJ option writing

Check for all MPJ variant at once, this reduces the number
of conditionals traversed on average and will simplify the
next patch.

No functional change 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/options.c