Skip to content

samples/bpf: simple fixes

Taeung Song lkml netdev 2 versions – Applied

Status from this message: Applied to bpf, thanks Taeung!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 5 repliesApplied
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- in error cases, do return; instead of break; in loop

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4samples/bpf: add missing <linux/if_vlan.h>samples/bpf/parse_varlen.c+1 -51 reply
2/4samples/bpf: Check the result of system()samples/bpf/trace_event_user.c+24 -31 reply
3/4samples/bpf: Check the error of write() and read()samples/bpf/test_overhead_user.c+15 -41 reply
4/4samples/bpf: add .gitignore filesamples/bpf/.gitignore+49 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDavid LaightDavid S. Miller
1/4A-b
2/4A-b
3/4R-b A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] samples/bpf: simple fixes

v2:
- in error cases, do return; instead of break; in loop

Hello,
This patchset fixes trivial things that I found
when testing 'samples/bpf/' sample code.
I'd appreciate it, if you review this.

Thanks,
Taeung

Taeung Song (4):
samples/bpf: add missing <linux/if_vlan.h> samples/bpf: Check the result of system() samples/bpf: Check the error of write() and read() samples/bpf: add .gitignore file

 samples/bpf/.gitignore           | 49 ++++++++++++++++++++++++++++++++
 samples/bpf/parse_varlen.c       |  6 +---
 samples/bpf/test_overhead_user.c | 19 ++++++++++---
 samples/bpf/trace_event_user.c   | 27 ++++++++++++++++--
 4 files changed, 89 insertions(+), 12 deletions(-)
 create mode 100644 samples/bpf/.gitignore
Signature · 1 line
2.17.1