summaryrefslogtreecommitdiff
path: root/net/bridge
diff options
context:
space:
mode:
authorDmitry Popov <dp@highloadlab.com>2010-07-29 01:59:36 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-30 23:04:07 -0700
commita3bdb549e30e7a263f7a589747c40e9c50110315 (patch)
treeac14f82ebe454fdbc00c3f1298a293e03e1f1592 /net/bridge
parenteeaf61d8891f9c9ed12c1a667e72bf83f0857954 (diff)
downloadlinux-3.10-a3bdb549e30e7a263f7a589747c40e9c50110315.tar.gz
linux-3.10-a3bdb549e30e7a263f7a589747c40e9c50110315.tar.bz2
linux-3.10-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