From: Jakub Kicinski <jakub.kicin...@netronome.com> Date: Sat, 8 Jun 2019 17:48:03 -0700
> From: John Hurley <john.hur...@netronome.com> > > Packets received at the NFP driver may be redirected to egress of another > netdev (e.g. in the case of OvS internal ports). On the egress path, some > processes, like TC egress hooks, may expect the network header offset > field in the skb to be correctly set. If this is not the case there is > potential for abnormal behaviour and even the triggering of BUG() calls. > > Set the skb network header field before the mac header pull when doing a > packet redirect. > > Fixes: 27f54b582567 ("nfp: allow fallback packets from non-reprs") > Signed-off-by: John Hurley <john.hur...@netronome.com> > Reviewed-by: Jakub Kicinski <jakub.kicin...@netronome.com> Applied.