OSDN Git Service

Merge branch 'bpf-xdp-add-tracepoint-to-xdp-attaching-failure'
authorAlexei Starovoitov <ast@kernel.org>
Wed, 2 Aug 2023 21:21:12 +0000 (14:21 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 2 Aug 2023 21:21:12 +0000 (14:21 -0700)
commit87dc2bb3291832994d216c7c86e3f4898022272f
tree48d166244fee603c968d23d1c6ddc55767a29566
parent416c6d01244ecbf0abfdb898fd091b50ef951b48
parent7fedbf32fcc779a07abdba1347e759ad52bded2c
Merge branch 'bpf-xdp-add-tracepoint-to-xdp-attaching-failure'

Leon Hwang says:

====================
bpf, xdp: Add tracepoint to xdp attaching failure

This series introduces a new tracepoint in bpf_xdp_link_attach(). By
this tracepoint, error message will be captured when error happens in
dev_xdp_attach(), e.g. invalid attaching flags.

v4 -> v5:
* Initialise the extack variable.
* Fix code style issue of variable declaration lines.

v3 -> v4:
* Fix selftest-crashed issue.
====================

Link: https://lore.kernel.org/r/20230801142621.7925-1-hffilwlqm@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>