diff options
author | 2018-07-30 09:56:54 -0700 | |
---|---|---|
committer | 2018-07-31 14:42:49 -0700 | |
commit | cb5c6568867325f9905e80c96531d963bec8e5ea (patch) | |
tree | 3748398fddd87e28c8cec4952f22458c48bdf0bf /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | ipv4: frags: handle possible skb truesize change (diff) | |
download | linux-dev-cb5c6568867325f9905e80c96531d963bec8e5ea.tar.xz linux-dev-cb5c6568867325f9905e80c96531d963bec8e5ea.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions