commit | 84dbf3507349696b505b6a500722538b0683e4ac | [log] [tgz] |
---|---|---|
author | Joe Stringer <joe@wand.net.nz> | Tue Oct 02 13:35:34 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Oct 03 02:53:47 2018 +0200 |
tree | ae4db81dee3f00cc05f324f5aefa56219a2bb370 | |
parent | c64b7983288e636356f7f5f652de4813e1cfedac [diff] |
bpf: Macrofy stack state copy An upcoming commit will need very similar copy/realloc boilerplate, so refactor the existing stack copy/realloc functions into macros to simplify it. Signed-off-by: Joe Stringer <joe@wand.net.nz> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>