From: Cong Wang <xiyou.wangc...@gmail.com> Date: Tue, 5 Dec 2017 16:17:26 -0800
> tcfm_dev always points to the correct netdev and we already > hold a refcnt, so no need to use tcfm_ifindex to lookup again. > > If we would support moving target netdev across netns, using > pointer would be better than ifindex. > > This also fixes dumping obsolete ifindex, now after the > target device is gone we just dump 0 as ifindex. > > Cc: Jiri Pirko <j...@mellanox.com> > Cc: Jamal Hadi Salim <j...@mojatatu.com> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Both act_mirred patches applied, thanks Cong.