linux/net/dccp
Hannes Frederic Sowa 676fe97852 dccp: fix memory leak during tear-down of unsuccessful connection request
[ Upstream commit 72ef9c4125 ]

This patch fixes a memory leak, which happens if the connection request
is not fulfilled between parsing the DCCP options and handling the SYN
(because e.g. the backlog is full), because we forgot to free the
list of ack vectors.

Reported-by: Jianwen Ji <jiji@redhat.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-22 12:04:17 +01:00
..
ccids dccp: fix memory leak during tear-down of unsuccessful connection request 2017-03-22 12:04:17 +01:00
ackvec.c
ackvec.h
ccid.c
ccid.h
dccp.h tcp/dccp: fix hashdance race for passive sessions 2015-10-23 05:42:21 -07:00
diag.c
feat.c
feat.h
input.c dccp: fix freeing skb too early for IPV6_RECVPKTINFO 2017-02-26 11:07:50 +01:00
ipv4.c dccp/tcp: fix routing redirect race 2017-03-22 12:04:17 +01:00
ipv6.c dccp/tcp: fix routing redirect race 2017-03-22 12:04:17 +01:00
ipv6.h
Kconfig
Makefile
minisocks.c dccp: fix use-after-free in dccp_feat_activate_values 2017-03-22 12:04:15 +01:00
options.c
output.c
probe.c Use 64-bit timekeeping 2015-11-01 17:01:16 -05:00
proto.c dccp: do not send reset to already closed sockets 2016-11-21 10:06:39 +01:00
qpolicy.c
sysctl.c
timer.c