diff options
author | 2014-05-13 19:50:13 -0700 | |
---|---|---|
committer | 2014-05-16 14:26:53 -0400 | |
commit | 8d767dcbea32ef9c1c1640ee8dde7db3e1e36f4a (patch) | |
tree | b123f81cfbb2baeda1c37a7888241807d18ede70 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mwifiex: restore current SDIO write port in failure cases (diff) | |
download | linux-dev-8d767dcbea32ef9c1c1640ee8dde7db3e1e36f4a.tar.xz linux-dev-8d767dcbea32ef9c1c1640ee8dde7db3e1e36f4a.zip |
mwifiex: set valid tx_param during mwifiex_send_null_packet
While sending null packet from driver we are passing NULL
tx_param pointer to indicate there are no more packets in queue.
PCIe send routine assumes caller has done sanity check on
tx_param and may cause crash while dereferencing next_pkt_len
from tx_param.
Avoid this by passing tx_param structure with next_pkt_len as
zero instead of NULL pointer.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions