subflow: use rsk_ops->send_reset()
authorPaolo Abeni <pabeni@redhat.com>
Thu, 23 Jul 2020 11:02:35 +0000 (13:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jul 2020 18:47:25 +0000 (11:47 -0700)
commit97e617518cbc318113b034a5fb33f49c81701278
tree3fd30a2498ad4b22ce6758d804761d7f3438bd52
parentb7514694ed2952684a1e4fc44d83682140fd8cef
subflow: use rsk_ops->send_reset()

tcp_send_active_reset() is more prone to transient errors
(memory allocation or xmit queue full): in stress conditions
the kernel may drop the egress packet, and the client will be
stuck.

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