diff options
author | 2017-03-23 15:50:16 +0200 | |
---|---|---|
committer | 2017-03-23 11:53:29 -0700 | |
commit | 2f67af8c596e16760dc7e7d28ee0edd7ce59f2b4 (patch) | |
tree | a72f513e0ae4556203f86a3c9200fd0a8797904e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | qed: Revise MFW command locking (diff) | |
download | wireguard-linux-2f67af8c596e16760dc7e7d28ee0edd7ce59f2b4.tar.xz wireguard-linux-2f67af8c596e16760dc7e7d28ee0edd7ce59f2b4.zip |
qed: Pass src/dst sizes when interacting with MFW
The driver interaction with management firmware involves a union
of all the data-members relating to the commands the driver prepares.
Current interface assumes the caller always passes such a union -
but thats cumbersome as well as risky [chancing a stack corruption
in case caller accidentally passes a smaller member instead of union].
Change implementation so that caller could pass a pointer to any
of the members instead of the union.
Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions