summaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorJon Maloy <jon.maloy@ericsson.com>2017-12-04 22:00:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-16 16:25:45 +0100
commit96b4a8ac9a55dcfd97b03a71776a3ec2b731a8bd (patch)
tree8b5c283f31b3bbc5cdcc724279667376351d7b94 /net/rds
parent20610f5bbd23fd1bafa3c6d91c558ad9b08e346a (diff)
downloadlinux-stable-96b4a8ac9a55dcfd97b03a71776a3ec2b731a8bd.tar.gz
linux-stable-96b4a8ac9a55dcfd97b03a71776a3ec2b731a8bd.tar.bz2
linux-stable-96b4a8ac9a55dcfd97b03a71776a3ec2b731a8bd.zip
tipc: fix memory leak in tipc_accept_from_sock()
[ Upstream commit a7d5f107b4978e08eeab599ee7449af34d034053 ] When the function tipc_accept_from_sock() fails to create an instance of struct tipc_subscriber it omits to free the already created instance of struct tipc_conn instance before it returns. We fix that with this commit. Reported-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions