[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <580073EC.2030802@cumulusnetworks.com>
Date: Thu, 13 Oct 2016 22:58:04 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: Tom Herbert <tom@...bertland.com>
CC: davem@...emloft.net, netdev@...r.kernel.org, kernel-team@...com
Subject: Re: [PATCH net-next 1/2] lwtunnel: Add destroy state operation
On 10/13/16, 5:57 PM, Tom Herbert wrote:
> Users of lwt tunnels may set up some secondary state in build_state
> function. Add a corresponding destroy_state function to allow users to
> clean up state. This destroy state function is called from lwstate_free.
> Also, we now free lwstate using kfree_rcu so user can assume structure
> is not freed before rcu.
>
> Signed-off-by: Tom Herbert <tom@...bertland.com>
Acked-by: Roopa Prabhu <roopa@...ulusnetworks.com>
this will be useful elsewhere too, thanks!.
Powered by blists - more mailing lists