From: Ying Xue Date: Wed, 15 Jan 2014 02:23:44 +0000 (+0800) Subject: can: use __dev_get_by_index instead of dev_get_by_index to find interface X-Git-Tag: v3.14-rc1~94^2~179^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5af28de35342f630a91061e25cc976a01b7ca6c4;p=pandora-kernel.git can: use __dev_get_by_index instead of dev_get_by_index to find interface As cgw_create_job() is always under rtnl_lock protection, __dev_get_by_index() instead of dev_get_by_index() should be used to find interface handler in it having us avoid to change interface reference counter. Cc: Oliver Hartkopp Signed-off-by: Ying Xue Acked-by: Oliver Hartkopp Signed-off-by: David S. Miller --- Reading git-diff-tree failed