From: David Miller on
From: Dmitry Popov <dp(a)>
Date: Thu, 29 Jul 2010 15:59:36 +0400

> From: Dmitry Popov <dp(a)>
> There is a bug in do_tcp_setsockopt(net/ipv4/tcp.c),
> 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(a)>

Applied and queued up for -stable, thanks Dmitry.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at