summaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2022-11-18 10:46:07 -0800
committerDavid S. Miller <davem@davemloft.net>2022-11-21 13:09:07 +0000
commit976d302fb6165ad620778d7ba834cde6e3fe9f9f (patch)
tree6d9ea0a1778c0563e31f57fffeb91a2cecffcaa8 /net/sysctl_net.c
parent7a7160edf1bfde25422262fb26851cef65f695d3 (diff)
downloadlinux-stable-976d302fb6165ad620778d7ba834cde6e3fe9f9f.tar.gz
linux-stable-976d302fb6165ad620778d7ba834cde6e3fe9f9f.tar.bz2
linux-stable-976d302fb6165ad620778d7ba834cde6e3fe9f9f.zip
mptcp: deduplicate error paths on endpoint creation
When endpoint creation fails, we need to free the newly allocated entry and eventually destroy the paired mptcp listener socket. Consolidate such action in a single point let all the errors path reach it. Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com> 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>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions