Sankar Patchineelam 5b1e1a9ce0 bnxt_en: Fix possible corruption in DCB parameters from firmware.
hwrm_send_message() is replaced with _hwrm_send_message(), and
hwrm_cmd_lock mutex lock is grabbed for the whole period of
firmware call until the firmware DCB parameters have been copied.
This will prevent possible corruption of the firmware data.

Fixes: 7df4ae9fe855 ("bnxt_en: Implement DCBNL to support host-based DCBX.")
Signed-off-by: Sankar Patchineelam <sankar.patchineelam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-14 18:51:51 -07:00
..
2017-08-19 17:13:41 -07:00
2017-09-12 13:30:06 -07:00
2017-09-26 13:44:31 -07:00
2017-09-08 20:53:10 -07:00
2017-08-19 17:13:41 -07:00
2017-09-12 13:30:06 -07:00
2017-07-17 09:52:57 -07:00
2017-08-29 10:02:54 +02:00
2017-07-17 13:37:15 -07:00