summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnish Bhatt <anish@chelsio.com>2014-11-15 01:38:31 +0100
committerDavid S. Miller <davem@davemloft.net>2014-11-16 20:50:52 +0100
commit52cff74eef5dd7bdab759300e7d1ca36eba18254 (patch)
treeeaf4980da5e83b19429e9f04589865eea0276394 /lib
parentieee802154: fix error handling in ieee802154fake_probe() (diff)
downloadlinux-52cff74eef5dd7bdab759300e7d1ca36eba18254.tar.xz
linux-52cff74eef5dd7bdab759300e7d1ca36eba18254.zip
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 'lib')
0 files changed, 0 insertions, 0 deletions