summaryrefslogtreecommitdiffstats
path: root/kernel/capability.c
diff options
context:
space:
mode:
authorAnish Bhatt <anish@chelsio.com>2014-11-14 16:38:31 -0800
committerDavid S. Miller <davem@davemloft.net>2014-11-16 14:50:52 -0500
commit52cff74eef5dd7bdab759300e7d1ca36eba18254 (patch)
treeeaf4980da5e83b19429e9f04589865eea0276394 /kernel/capability.c
parent8c2dd54485ccee7fc4086611e188478584758c8d (diff)
dcbnl : Disable software interrupts before taking dcb_lock
Solves possible lockup issues that can be seen from firmware DCB agents calling into the DCB app api. DCB firmware event queues can be tied in with NAPI so that dcb events are generated in softIRQ context. This can results in calls to dcb_*app() functions which try to take the dcb_lock. If the the event triggers while we also have the dcb_lock because lldpad or some other agent happened to be issuing a get/set command we could see a cpu lockup. This code was not originally written with firmware agents in mind, hence grabbing dcb_lock from softIRQ context was not considered. Signed-off-by: Anish Bhatt <anish@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions