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

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 dccp: drop null test before destroy functions 2015-09-15 16:49:43 -07:00
ackvec.h
ccid.c dccp: drop null test before destroy functions 2015-09-15 16:49:43 -07:00
ccid.h
dccp.h tcp/dccp: fix hashdance race for passive sessions 2015-10-23 05:42:21 -07:00
diag.c sock_diag: specify info_size per inet protocol 2015-06-15 19:49:22 -07:00
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 dccp: constify dccp_make_response() socket argument 2015-09-25 13:00:39 -07:00
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