[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100817.151445.59662752.davem@davemloft.net>
Date: Tue, 17 Aug 2010 15:14:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net sched: fix some kernel memory leaks
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 17 Aug 2010 08:04:22 +0200
> We leak at least 32bits of kernel memory to user land in tc dump,
> because we dont init all fields (capab ?) of the dumped structure.
>
> Use C99 initializers so that holes and non explicit fields are zeroed.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks for fixing this Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists