diff options
author | Fan Du <fan.du@windriver.com> | 2013-11-07 17:47:48 +0800 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2013-12-06 06:45:05 +0100 |
commit | e682adf021be796940be6cc10c07be7f7398c220 (patch) | |
tree | 5dbb9c9ddef2e08945d3bcd73d391b0181bfc9eb /net/key/af_key.c | |
parent | d70f2cf520cf8c86c6b467fc5dcea524ec51dc2f (diff) |
xfrm: Try to honor policy index if it's supplied by user
xfrm code always searches for unused policy index for
newly created policy regardless whether or not user
space policy index hint supplied.
This patch enables such feature so that using
"ip xfrm ... index=xxx" can be used by user to set
specific policy index.
Currently this beahvior is broken, so this patch make
it happen as expected.
Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/key/af_key.c')
0 files changed, 0 insertions, 0 deletions