Skip to content

Fix ip6ip6 crash for collect_md skbs

Daniel Borkmann bpf netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: Consolidate common blackhole dst opsinclude/net/dst.h net/core/dst.c net/ipv4/route.c +1 more+66 -640 repliesApplied
2/2net, bpf: Fix ip6ip6 crash with collect_md populated skbsnet/core/dst.c+9 -220 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] Fix ip6ip6 crash for collect_md skbs

Fix a NULL pointer deref panic I ran into for regular ip6ip6 tunnel devices when collect_md populated skbs were redirected to them for xmit. See patches for further details, thanks!

Daniel Borkmann (2):
net: Consolidate common blackhole dst ops
net, bpf: Fix ip6ip6 crash with collect_md populated skbs

 include/net/dst.h | 11 +++++++++
 net/core/dst.c    | 59 +++++++++++++++++++++++++++++++++--------------
 net/ipv4/route.c  | 45 +++++++-----------------------------
 net/ipv6/route.c  | 36 ++++++++---------------------
 4 files changed, 70 insertions(+), 81 deletions(-)
Signature · 1 line
2.21.0