summaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2013-10-27 13:07:00 +0200
committerDavid S. Miller <davem@davemloft.net>2013-10-29 00:12:45 -0400
commite3ed4eaef4932fd3867465784d11a36deaa6d22c (patch)
tree84d3fedd18189a0c055374a332f6f03516b4b432 /net/lapb/lapb_iface.c
parent0d08c42cf9a71530fef5ebcfe368f38f2dd0476f (diff)
bnx2x: prevent FW assert on low mem during unload
Buffers for FW statistics were allocated at an inappropriate time; In a machine where the driver encounters problems allocating all of its queues, the driver would still create FW requests for the statistics of the non-existing queues. The wrong order of memory allocation could lead to zeroed statistics messages being sent, leading to fw assert in case function 0 was down. This changes the order of allocations, guaranteeing that statistic requests will only be generated for actual queues. Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions