All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf 0/1] bpf: btf: Fix endianness of bitfields
@ 2018-07-09  0:22 Okash Khawaja
  2018-07-09  0:22 ` [PATCH bpf 1/1] bpf: btf: Fix bitfield extraction for big endian Okash Khawaja
  0 siblings, 1 reply; 10+ messages in thread
From: Okash Khawaja @ 2018-07-09  0:22 UTC (permalink / raw)
  To: Daniel Borkmann, Martin KaFai Lau, Alexei Starovoitov,
	Yonghong Song, Jakub Kicinski, David S. Miller
  Cc: netdev, kernel-team, linux-kernel

Hi,

This patch fixes endianness bug in btf_int_bits_seq_show(). Jakub
Kicinski pointed out in a separate patch review for bpftool ("bpf: btf:
add btf print functionality") that parsing of bitfield might not work
on big endian machine. Similar parsing is performed in
btf_int_bits_seq_show() and this patch fixes it.

Thanks,
Okash

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-07-10 20:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-09  0:22 [PATCH bpf 0/1] bpf: btf: Fix endianness of bitfields Okash Khawaja
2018-07-09  0:22 ` [PATCH bpf 1/1] bpf: btf: Fix bitfield extraction for big endian Okash Khawaja
2018-07-09 17:32   ` Martin KaFai Lau
2018-07-09 18:32   ` Martin KaFai Lau
2018-07-10  8:21     ` Daniel Borkmann
2018-07-10 17:49       ` Okash Khawaja
2018-07-10 20:02         ` Daniel Borkmann
2018-07-10 16:35     ` David Laight
2018-07-10 17:18       ` Martin KaFai Lau
2018-07-10 18:13         ` Daniel Borkmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.