Re: [PATCH net] bpf: fix bpf_trace_printk on 32 bit archs

2017-08-15 Thread David Miller
From: Daniel Borkmann Date: Wed, 16 Aug 2017 01:45:33 +0200 > James reported that on MIPS32 bpf_trace_printk() is currently > broken while MIPS64 works fine: > > bpf_trace_printk() uses conditional operators to attempt to > pass different types to __trace_printk() depending on the > format

[PATCH net] bpf: fix bpf_trace_printk on 32 bit archs

2017-08-15 Thread Daniel Borkmann
James reported that on MIPS32 bpf_trace_printk() is currently broken while MIPS64 works fine: bpf_trace_printk() uses conditional operators to attempt to pass different types to __trace_printk() depending on the format operators. This doesn't work as intended on 32-bit architectures where