]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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)
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>

Trivial merge