netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] samples/bpf: simple fixes
@ 2018-07-04 13:36 Taeung Song
  2018-07-04 13:36 ` [PATCH v2 1/4] samples/bpf: add missing <linux/if_vlan.h> Taeung Song
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Taeung Song @ 2018-07-04 13:36 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann; +Cc: netdev, linux-kernel, Taeung Song

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

-- 
2.17.1

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

end of thread, other threads:[~2018-07-05  8:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-04 13:36 [PATCH v2 0/4] samples/bpf: simple fixes Taeung Song
2018-07-04 13:36 ` [PATCH v2 1/4] samples/bpf: add missing <linux/if_vlan.h> Taeung Song
2018-07-05  5:24   ` David Miller
2018-07-04 13:36 ` [PATCH v2 2/4] samples/bpf: Check the result of system() Taeung Song
2018-07-05  5:24   ` David Miller
2018-07-04 13:36 ` [PATCH v2 3/4] samples/bpf: Check the error of write() and read() Taeung Song
2018-07-05  5:24   ` David Miller
2018-07-04 13:36 ` [PATCH v2 4/4] samples/bpf: add .gitignore file Taeung Song
2018-07-05  5:24   ` David Miller
2018-07-05  8:03 ` [PATCH v2 0/4] samples/bpf: simple fixes Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).