Govindarajulu Varadarajan cb5c656886 enic: do not call enic_change_mtu in enic_probe
In commit ab123fe071c9 ("enic: handle mtu change for vf properly")
ASSERT_RTNL() is added to _enic_change_mtu() to prevent it from being
called without rtnl held. enic_probe() calls enic_change_mtu()
without rtnl held. At this point netdev is not registered yet.
Remove call to enic_change_mtu and assign the mtu to netdev->mtu.

Fixes: ab123fe071c9 ("enic: handle mtu change for vf properly")
Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-31 14:42:49 -07:00
..
2018-07-26 09:29:59 -07:00
2018-07-22 10:28:26 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-06-20 07:26:58 +09:00
2018-06-12 16:19:22 -07:00
2018-06-23 10:42:02 +09:00
2018-06-12 16:19:22 -07:00
2018-06-20 14:30:06 +09:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00