From: Anjali Singhai Jain Date: Tue, 26 Nov 2013 10:49:22 +0000 (+0000) Subject: i40e: rtnl_lock in reset path fixes X-Git-Tag: v3.14-rc1~94^2~485^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=233261867fc62276d6a4099519f81dcd10bd7297;p=pandora-kernel.git i40e: rtnl_lock in reset path fixes Any user-initiated path which eventually calls reset needs to hold the rtnl_lock, so add functionality to do that. Be careful not to use the safe reset when cleaning up from the diagnostic tests, which avoids rtnl_lock recursion from ethtool. Protect the reset_task with rtnl_lock, since it runs from a work item. Change-Id: Ib6e7a3fb2966809db2daf35fd5a123ccdf6f6f0f Signed-off-by: Anjali Singhai Jain Signed-off-by: Jesse Brandeburg Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed