diff options
| author | 2015-04-22 17:09:54 +0800 | |
|---|---|---|
| committer | 2015-04-23 11:36:06 +0200 | |
| commit | 800777026eeb33585f29608c2c6131fc66d2e218 (patch) | |
| tree | 23aca36cb198fa486dbb67e7ee28191e1f597db3 /kernel/debug | |
| parent | xfrm: remove the xfrm_queue_purge definition (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 <roy.qing.li@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
