From: Feng Yang <[email protected]>

Fix the null pointer dereference issue in bpf_lwt_xmit_push_encap

Changes in v6:
- Modify the bpf_lwt_xmit_push_encap function and add selftests for it.
  Thanks, Martin KaFai Lau.
- Link to v5: 
https://lore.kernel.org/all/[email protected]/
Changes in v5:
- Refer to the bpf_lwt_xmit_reroute function to configure the dst parameter.
- Link to v4: 
https://lore.kernel.org/all/[email protected]/
Changes in v4:
- add rcu lock
- Link to v3: 
https://lore.kernel.org/all/[email protected]/
Changes in v3:
- use dst_init
- Link to v2: 
https://lore.kernel.org/all/[email protected]/
Changes in v2:
- Link to v1: 
https://lore.kernel.org/all/[email protected]/ 

Feng Yang (2):
  bpf: Fix the null pointer dereference issue in bpf_lwt_xmit_push_encap
  selftests/bpf: Add selftests for the invocation of
    bpf_lwt_xmit_push_encap

 net/core/lwt_bpf.c                            |  7 +++++--
 .../selftests/bpf/progs/verifier_lwt.c        | 20 +++++++++++++++++++
 2 files changed, 25 insertions(+), 2 deletions(-)

-- 
2.43.0


Reply via email to