Messages in this thread |  | | Date | Fri, 30 Jul 2010 23:05:24 -0700 (PDT) | | Subject | Re: [PATCH] tcp: cookie transactions setsockopt memory leak | | From | David Miller <> |
| |
From: Dmitry Popov <dp@highloadlab.com> Date: Thu, 29 Jul 2010 15:59:36 +0400
> From: Dmitry Popov <dp@highloadlab.com> > > 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>
Applied and queued up for -stable, thanks Dmitry.
|  |