lkml.org 
[lkml]   [2010]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] tcp: cookie transactions setsockopt memory leak
    From
    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.


    \
     
     \ /
      Last update: 2010-07-31 08:07    [W:0.019 / U:88.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site