Martin KaFai Lau cba368c1f0 bpf: Only print ref_obj_id for refcounted reg
Naresh reported that test_align fails because of the mismatch at the
verbose printout of the register states.  The reason is due to the newly
added ref_obj_id.

ref_obj_id is only useful for refcounted reg.  Thus, this patch fixes it
by only printing ref_obj_id for refcounted reg.  While at it, it also uses
comma instead of space to separate between "id" and "ref_obj_id".

Fixes: 1b986589680a ("bpf: Fix bpf_tcp_sock and bpf_sk_fullsock issue related to bpf_sk_release")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2019-03-20 18:24:35 -07:00
..
2019-02-04 08:57:24 +01:00
2019-03-09 15:53:03 -08:00
2019-02-01 20:55:38 +01:00
2018-12-28 12:42:30 -08:00
2018-10-31 08:54:16 -07:00
2018-07-03 09:20:44 +02:00
2019-03-08 14:48:40 -08:00
2019-01-11 18:05:40 -08:00