]> asedeno.scripts.mit.edu Git - linux.git/commit
Merge branch 'bnxt_en-rtnl-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2017 18:27:14 +0000 (13:27 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Jan 2017 18:27:14 +0000 (13:27 -0500)
commitc0d9665f0819837afced95247f230fdc8b041658
treeda40ede4905d270f6a577197bd4c02ce932c5251
parent56d806222ace4c3aeae516cd7a855340fb2839d8
parent90c694bb71819fb5bd3501ac397307d7e41ddeca
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 <davem@davemloft.net>