From: Felix Manlunas <felix.manlu...@cavium.com> Date: Thu, 26 Oct 2017 16:46:36 -0700
> Doing ifconfig down on VF driver in the middle of receiving line rate > traffic causes a kernel panic: ... > Reason is: in the function assigned to net_device_ops->ndo_stop, the steps > for bringing down the interface are done in the wrong order. The step that > notifies the NIC firmware to stop forwarding packets to host is done too > late. Fix it by moving that step to the beginning. > > Signed-off-by: Felix Manlunas <felix.manlu...@cavium.com> > Signed-off-by: Raghu Vatsavayi <raghu.vatsav...@cavium.com> Applied, thanks.