aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJoe Stringer <joe@wand.net.nz>2018-10-02 13:35:31 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-10-03 02:53:47 +0200
commit9d2be44a7f33d5ec4fbd3368317bcf5f404bb8f7 (patch)
treeb38b5e13726c1808d4ed5cf5bcaf882c3e25fdb3 /net
parentbpf: Simplify ptr_min_max_vals adjustment (diff)
downloadlinux-dev-9d2be44a7f33d5ec4fbd3368317bcf5f404bb8f7.tar.xz
linux-dev-9d2be44a7f33d5ec4fbd3368317bcf5f404bb8f7.zip
bpf: Reuse canonical string formatter for ctx errs
The array "reg_type_str" provides canonical formatting of register types, however a couple of places would previously check whether a register represented the context and write the name "context" directly. An upcoming commit will add another pointer type to these statements, so to provide more accurate error messages in the verifier, update these error messages to use "reg_type_str" instead. Signed-off-by: Joe Stringer <joe@wand.net.nz> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions