[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHA+R7OjUX43QjZbTvZ8CtoDB4uJxJc8f-KvU8a3EB2K5CZF7w@mail.gmail.com>
Date: Tue, 30 Dec 2014 12:37:30 -0800
From: Cong Wang <cwang@...pensource.com>
To: Stephen Hemminger <shemming@...cade.com>
Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net] tunnel: support propagating lower device state
On Tue, Dec 30, 2014 at 12:33 PM, Cong Wang <cwang@...pensource.com> wrote:
>
> Are you sure we really need to free itn->tunnels on
> failure path? It is not allocated inside ip_tunnel_init_net()
> anyway.
Also you seem to forget to kfree() itn->lower_dev in
ip_tunnel_delete_net().
--
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