From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Wang Subject: [PATCH net 0/2] ipv6: fix issues on accessing fib6_metrics Date: Tue, 18 Sep 2018 13:44:58 -0700 Message-ID: <20180918204500.106240-1-tracywwnj@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Eric Dumazet , David Ahern , Cong Wang , Sabrina Dubroca , Wei Wang To: David Miller , netdev@vger.kernel.org Return-path: Received: from mail-pg1-f193.google.com ([209.85.215.193]:35687 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729824AbeISCT6 (ORCPT ); Tue, 18 Sep 2018 22:19:58 -0400 Received: by mail-pg1-f193.google.com with SMTP id 205-v6so656733pgd.2 for ; Tue, 18 Sep 2018 13:45:39 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: From: Wei Wang 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(-) -- 2.19.0.397.gdd90340f6a-goog