mptcp: do nonce initialization at subflow creation time
authorPaolo Abeni <pabeni@redhat.com>
Tue, 30 Jun 2020 14:38:26 +0000 (16:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 20:38:00 +0000 (13:38 -0700)
commit6bad912b7e5ab51c23d8fa8362ca2d4ceeebdb74
tree7441016286be9b18fc0d84ede9131d1cea936f96
parenta6ed3ebca49b62d7a917287b9986feff4e9fa7b1
mptcp: do nonce initialization at subflow creation time

This clean-up the code a bit, reduces the number of
used hooks and indirect call requested, and allow
better error reporting from __mptcp_subflow_connect()

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