diff options
author | Dmitry Popov <dp@highloadlab.com> | 2010-07-28 21:59:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-31 02:04:07 -0400 |
commit | a3bdb549e30e7a263f7a589747c40e9c50110315 (patch) | |
tree | ac14f82ebe454fdbc00c3f1298a293e03e1f1592 /net/ipv4/inet_lro.c | |
parent | eeaf61d8891f9c9ed12c1a667e72bf83f0857954 (diff) |
tcp: cookie transactions setsockopt memory leak
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>
Diffstat (limited to 'net/ipv4/inet_lro.c')
0 files changed, 0 insertions, 0 deletions