Re: few more fixes for iproute2/m_ipt

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Denys Fedoryshchenko <denys@...>
Cc: Stephen Hemminger <shemminger@...>, <netdev@...>
Date: Wednesday, August 6, 2008 - 8:46 am

On Wed, 2008-06-08 at 14:26 +0300, Denys Fedoryshchenko wrote:


I have done extensive testing with and with optind=0 and optind=1 and i
didnt see any breakage with either.

I have a feeling that setting optind to 0 in your case to avoid the
crash maybe hiding something else - but i cant find what that something
else is since i am just simulating what you are doing.
If the iptables folks have changed it to reset to 0, then I dont see any
harm in resetting. 

So ACK to both your patches.

cheers,
jamal
PS:- dont wanna sound anal - and you dont have to do this if you dont
have time; but if you put the resetting of optind and the flags in a
separate patch from the freeing, that would be even better.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
few more fixes for iproute2/m_ipt, Denys Fedoryshchenko, (Tue Aug 5, 5:42 pm)
Re: few more fixes for iproute2/m_ipt, Stephen Hemminger, (Tue Jan 6, 11:43 pm)
Re: few more fixes for iproute2/m_ipt, jamal, (Wed Aug 6, 6:04 am)
Re: few more fixes for iproute2/m_ipt, Denys Fedoryshchenko, (Wed Aug 6, 6:21 am)
Re: few more fixes for iproute2/m_ipt, jamal, (Wed Aug 6, 7:04 am)
Re: few more fixes for iproute2/m_ipt, Denys Fedoryshchenko, (Wed Aug 6, 7:26 am)
Re: few more fixes for iproute2/m_ipt, jamal, (Wed Aug 6, 8:46 am)
Re: few more fixes for iproute2/m_ipt, Denys Fedoryshchenko, (Wed Aug 6, 8:50 am)
Re: few more fixes for iproute2/m_ipt, jamal, (Wed Aug 6, 8:55 am)
Re: few more fixes for iproute2/m_ipt, Denys Fedoryshchenko, (Wed Aug 6, 8:59 am)
Re: few more fixes for iproute2/m_ipt, jamal, (Wed Aug 6, 9:17 am)
Re: few more fixes for iproute2/m_ipt, Denys Fedoryshchenko, (Wed Aug 6, 8:56 am)