From: David S. Miller Date: Wed, 25 Jan 2017 18:27:14 +0000 (-0500) Subject: Merge branch 'bnxt_en-rtnl-fixes' X-Git-Tag: v4.10-rc6~8^2~14 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=c0d9665f0819837afced95247f230fdc8b041658;p=linux.git Merge branch 'bnxt_en-rtnl-fixes' Michael Chan says: ==================== bnxt_en: Fix RTNL lock usage in bnxt_sp_task(). There are 2 function calls from bnxt_sp_task() that have buggy RTNL usage. These 2 functions take RTNL lock under some conditions, but some callers (such as open, ethtool) have already taken RTNL. These 3 patches fix the issue by making it clear that callers must take RTNL. If the caller is bnxt_sp_task() which does not automatically take RTNL, we add a common scheme for bnxt_sp_task() to call these functions properly under RTNL. ==================== Signed-off-by: David S. Miller --- c0d9665f0819837afced95247f230fdc8b041658