diff options
author | Rutuja Shah <rutu.shah.26@gmail.com> | 2016-10-17 19:22:16 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-10-17 19:22:16 +0100 |
commit | cabbcca0375a96f2e0ccae660ca9dc1510adafbd (patch) | |
tree | 51d8d90c2d583b2940dd7754f4b8f1ebd64aae06 /slirp | |
parent | bcf48274ba6fbe6158beccd9d4be4c22931f33b9 (diff) |
Reducing stack frame size in stream_process_mem2s()
This patch allocates memory for txbuf in struct Stream rather than the stack.
As a result, the stack frame size is reduced of stream_process_mem2s().
Signed-off-by: Rutuja Shah <rutu.shah.26@gmail.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'slirp')
0 files changed, 0 insertions, 0 deletions