diff options
| author | Li RongQing <[email protected]> | 2015-04-22 17:09:54 +0800 |
|---|---|---|
| committer | Steffen Klassert <[email protected]> | 2015-04-23 11:36:06 +0200 |
| commit | 800777026eeb33585f29608c2c6131fc66d2e218 (patch) | |
| tree | 23aca36cb198fa486dbb67e7ee28191e1f597db3 /tools/perf/scripts/python | |
| parent | 1ee5e6676bccbf7a035d8d35c143f1a61e602198 (diff) | |
xfrm: optimise the use of walk list header in xfrm_policy/state_walk
The walk from input is the list header, and marked as dead, and will
be skipped in loop.
list_first_entry() can be used to return the true usable value from
walk if walk is not empty
Signed-off-by: Li RongQing <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions