aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJohn Fastabend <[email protected]>2017-07-02 02:13:29 +0200
committerDavid S. Miller <[email protected]>2017-07-03 02:22:52 -0700
commit7bda4b40c5624c3f1c69227f8ebfd46a4b83f2ef (patch)
tree6d64dd07567eaa2992d1982c70bd1322354461e3 /net/lapb/lapb_subr.c
parent9780c0ab1a4e64ef6998c4d83f9df5be806a02dc (diff)
bpf: extend bpf_trace_printk to support %i
Currently, bpf_trace_printk does not support common formatting symbol '%i' however vsprintf does and is what eventually gets called by bpf helper. If users are used to '%i' and currently make use of it, then bpf_trace_printk will just return with error without dumping anything to the trace pipe, so just add support for '%i' to the helper. Signed-off-by: John Fastabend <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions