diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-11 14:35:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-02-11 14:35:46 +0100 |
commit | d3162773d5c722cc1f5c5b1ea5171c8d3c208135 (patch) | |
tree | d2415fb7c76cc23e425967744e1a330be93cbf76 /libbb | |
parent | e015d0659fd3039c321b179190834c7e5909522a (diff) | |
download | busybox-d3162773d5c722cc1f5c5b1ea5171c8d3c208135.tar.gz |
arping: move packet buffer, sigset and struct ifreq to malloced "globals"
This way, we can zero them all in one go.
We do malloc() anyway, thus nothing is lost by mallocing "globals"
function old new delta
arping_main 1683 1686 +3
finish 100 86 -14
catcher 350 310 -40
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 3/-54) Total: -51 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions