diff options
| author | Tom Herbert <tom@herbertland.com> | 2016-10-14 21:25:36 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-10-16 00:33:41 +0300 |
| commit | 1104d9ba443a3972052ea4eaa01e51f9ee084652 (patch) | |
| tree | 3541ac4778bb5286fb77c7eed4c9ac914fd96ad4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 02dc7658c711e5cb099db476c501ce898591bfc9 (diff) | |
| download | linux-1104d9ba443a3972052ea4eaa01e51f9ee084652.tar.xz | |
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 <roopa@cumulusnetworks.com>
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
