[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151011.044449.2122530094518900731.davem@davemloft.net>
Date: Sun, 11 Oct 2015 04:44:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dsa@...ulusnetworks.com
Cc: netdev@...r.kernel.org, hannes@...hat.com,
nicolas.dichtel@...nd.com
Subject: Re: [PATCH net-next v4] net: ipv6: Make address flushing on ifdown
optional
From: David Ahern <dsa@...ulusnetworks.com>
Date: Wed, 7 Oct 2015 08:17:39 -0700
> +static void fixup_managed_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp)
> +{
> + if (!ifp->rt)
> + ifp->rt = addrconf_dst_alloc(idev, &ifp->addr, false);
This potentially leaves an error pointer dangling in ifp->rt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists