diff options
author | Dmitry Popov <dp@highloadlab.com> | 2010-07-29 03:59:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-31 08:04:07 +0200 |
commit | a3bdb549e30e7a263f7a589747c40e9c50110315 (patch) | |
tree | ac14f82ebe454fdbc00c3f1298a293e03e1f1592 /net/bridge | |
parent | bridge: add rcu_read_lock on transmit (diff) | |
download | linux-a3bdb549e30e7a263f7a589747c40e9c50110315.tar.xz linux-a3bdb549e30e7a263f7a589747c40e9c50110315.zip |
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/bridge')
0 files changed, 0 insertions, 0 deletions