aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-06-11 00:50:42 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-10 19:05:45 -0400
commit4a2ff55aa4946b036b87572976cbfc6ab244c497 (patch)
tree85f6b87a60dcb4a9a6460e5dd5ee06a0704af187 /include/linux/socket.h
parentbpf: don't check spilled reg state for non-STACK_SPILLed type slots (diff)
downloadwireguard-linux-4a2ff55aa4946b036b87572976cbfc6ab244c497.tar.xz
wireguard-linux-4a2ff55aa4946b036b87572976cbfc6ab244c497.zip
bpf: reset id on CONST_IMM transition
Whenever we set the register to the type CONST_IMM, we currently don't reset the id to 0. id member is not used in CONST_IMM case, so don't let it become stale, where pruning won't be able to match later on. 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