diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2014-06-18 10:34:21 (GMT) |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2014-06-26 05:52:42 (GMT) |
commit | b7eea4545ea775df957460f58eb56085a8892856 (patch) | |
tree | 641c49c3387d197987924261652ace642d106c12 /lib/ucs2_string.c | |
parent | d7933ab727ed035bdf420d7381b831ba959cecc5 (diff) | |
download | linux-b7eea4545ea775df957460f58eb56085a8892856.tar.xz |
xfrm: Fix refcount imbalance in xfrm_lookup
xfrm_lookup must return a dst_entry with a refcount for the caller.
Git commit 1a1ccc96abb ("xfrm: Remove caching of xfrm_policy_sk_bundles")
removed this refcount for the socket policy case accidentally.
This patch restores it and sets DST_NOCACHE flag to make sure
that the dst_entry is freed when the refcount becomes null.
Fixes: 1a1ccc96abb ("xfrm: Remove caching of xfrm_policy_sk_bundles")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions