diff options
author | 2017-06-11 00:50:41 +0200 | |
---|---|---|
committer | 2017-06-10 19:05:45 -0400 | |
commit | d25da6caa2a1d6644360c40d7c5fd7c057551360 (patch) | |
tree | 4a44563771a6f4cd9704d34d840f8c02c86c22da /include/linux/socket.h | |
parent | bpf: avoid excessive stack usage for perf_sample_data (diff) | |
download | wireguard-linux-d25da6caa2a1d6644360c40d7c5fd7c057551360.tar.xz wireguard-linux-d25da6caa2a1d6644360c40d7c5fd7c057551360.zip |
bpf: don't check spilled reg state for non-STACK_SPILLed type slots
spilled_regs[] state is only used for stack slots of type STACK_SPILL,
never for STACK_MISC. Right now, in states_equal(), even if we have
old and current stack state of type STACK_MISC, we compare spilled_regs[]
for that particular offset. Just skip these like we do everywhere else.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/socket.h')
0 files changed, 0 insertions, 0 deletions