diff options
author | 2018-10-25 19:01:49 +0200 | |
---|---|---|
committer | 2018-11-05 21:53:43 +0000 | |
commit | 87ee947d0b053b33571c5e33617b138236bada59 (patch) | |
tree | 5f4fb61107d8ffa2faba1743c4b62c583724745b /src/scripts | |
parent | b0073e276d9e12f02f8f9874fd09ae532a0baa47 (diff) |
acl-plugin: 5-tuple parse: get rid of memcpy and move to flags vs. bitfields
Using bitfield struct for 5tuple proved to be fragile from
the performance standpoint - the zeroizing of the entire
structure and then setting the separate pieces of it
triggers increased memory latency. So, move to using
flags byte.
Also, use the direct object copies rather than memcpy.
Change-Id: Iad8faf9de050ff1256e40c950dee212cbd3e5267
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/scripts')
0 files changed, 0 insertions, 0 deletions