Skip to content

ipv6: fix issues on accessing fib6_metrics

Wei Wang netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "ipv6: fix double refcount of fib6_metrics"net/ipv6/route.c+4 -01 reply
2/2ipv6: fix memory leak on dst->_metricsnet/ipv6/route.c+4 -12 replies

Reviews trailers per patch

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

PatchDavid Ahern
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH net 0/2] ipv6: fix issues on accessing fib6_metrics

From: Wei Wang <[email protected]>

The latest fix on the memory leak of fib6_metrics still causes use-after-free.
This patch series first revert the previous fix and propose a new fix that is more inline with ipv4 logic and is tested to fix the use-after-free issue reported.

Wei Wang (2):
Revert "ipv6: fix double refcount of fib6_metrics"
ipv6: fix memory leak on dst->_metrics

 net/ipv6/route.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Signature · 1 line
2.19.0.397.gdd90340f6a-goog