summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-01-15 03:23:44 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-15 03:50:47 +0100
commit5af28de35342f630a91061e25cc976a01b7ca6c4 (patch)
tree6601cac6792af4d03ff3913f16fc73ecdbaa8c29 /virt/kvm
parentcaif: __dev_get_by_index instead of dev_get_by_index to find interface (diff)
downloadlinux-5af28de35342f630a91061e25cc976a01b7ca6c4.tar.xz
linux-5af28de35342f630a91061e25cc976a01b7ca6c4.zip
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 <socketcan@hartkopp.net> Signed-off-by: Ying Xue <ying.xue@windriver.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions