aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.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:45:58 -0700
commit8eb6fff671bbe0ec4ae43f5356fe9029b3dfe984 (patch)
tree3e1d801e04c638a317f8d33d5baa5dac1162547f /net/lapb/lapb_in.c
parentf49fd7f79a1e35fd2a322f1af4d7a9ce075d972b (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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions