[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090106194312.1403ca53@extreme>
Date: Tue, 6 Jan 2009 19:43:12 -0800
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: Denys Fedoryshchenko <denys@...p.net.lb>
Cc: netdev@...r.kernel.org
Subject: Re: few more fixes for iproute2/m_ipt
On Wed, 6 Aug 2008 00:42:53 +0300
Denys Fedoryshchenko <denys@...p.net.lb> wrote:
> 1)optind according iptables sources have to be set to 0. If it is set to 1, in
> batch it will mess up things. Also in iptables sources i notice that ->tflags
> and ->used need to be reset.
>
> 2)Since target->t = fw_calloc(1, size); allocated memory in function build_st,
> it have to be freed at the end, or in batch we will have memory leak. TODO:
> Probably it must be freed in all "return -1" cases in parse_ipt after
> build_st. About this i am not sure, up to Stephen.
>
> 3)lname and new_name was malloc'ed, but not freed
Applied the last patch for this.
--
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