Jamal and Herbert,
> Herbert et al,
> Ok, heres the final patch with all the changes discussed.
> include/linux/xfrm.h | 2
> include/net/xfrm.h | 29 ++++++-
> net/key/af_key.c | 24 +++++-
> net/xfrm/xfrm_policy.c | 25 ++++--
> net/xfrm/xfrm_state.c | 84 +++++++++++++++++++--
> net/xfrm/xfrm_user.c | 188
> 6 files changed, 323 insertions(+), 29 deletions(-)
> I have tested this with both setkey and iproute2 (about 10 scenarios or
> so). Masahide-san is doing a lot more thorough testing with key servers
> as well. He has not tested this patch yet (time difference) but it is
> based on the last one he tested.
I've tested on this patched kernel and it works.
- add/del/flush for SA/SP and allocspi/acquire/upd for SA
through netlink socket
- racoon runs fine (pfkey works for normal operation)
both without and with opening netlink socket to listen
Since we have discussion which is still going on about the patch,
the code will be change and I'll need to test again anyway.