[PATCH] act: fix the logic of parsing actions

Thomas Graf tgraf at suug.ch
Mon Jun 9 13:41:36 PDT 2014


On 04/14/14 at 06:39pm, Cong Wang wrote:
> It is proved that actions are not always put from 0,
> they could be discontinuous.
> 
> Signed-off-by: Cong Wang <xiyou.wangcong at gmail.com>

Cong is obviously right that we cannot assume order 0 and thus the
fix is valid. However, I also agree with Thomas that we are changing
behaviour here, at least slightly. I couldn't find a reason why that
is a problem in this case though.

Acked-by: Thomas Graf <tgraf at suug.ch>



More information about the libnl mailing list