diff options
author | Tom Herbert <[email protected]> | 2016-10-14 11:25:36 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-10-15 17:33:41 -0400 |
commit | 1104d9ba443a3972052ea4eaa01e51f9ee084652 (patch) | |
tree | 3541ac4778bb5286fb77c7eed4c9ac914fd96ad4 /lib/cpu-notifier-error-inject.c | |
parent | 02dc7658c711e5cb099db476c501ce898591bfc9 (diff) |
lwtunnel: Add destroy state operation
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.
Acked-by: Roopa Prabhu <[email protected]>
Signed-off-by: Tom Herbert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions