aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorDmitry Popov <dp@highloadlab.com>2010-07-29 01:59:36 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-26 16:43:42 -0700
commit77c043b1e3a8bbb264fca4018fc518e179324fef (patch)
tree8026b54fd48817fe06d0b5e8ba62395659b26095 /lib/debugobjects.c
parent73be303e5c91ee98bfd67a5fba755ebc29aae391 (diff)
tcp: cookie transactions setsockopt memory leak
[ Upstream commit a3bdb549e30e7a263f7a589747c40e9c50110315 ] There is a bug in do_tcp_setsockopt(net/ipv4/tcp.c), TCP_COOKIE_TRANSACTIONS case. In some cases (when tp->cookie_values == NULL) new tcp_cookie_values structure can be allocated (at cvp), but not bound to tp->cookie_values. So a memory leak occurs. Signed-off-by: Dmitry Popov <dp@highloadlab.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions