Hi:
I spotted some more issues while preparing the last patch of the
series. So I'll extend it a little further.
This patch removes XFRM_SAP_* and converts them over to XFRM_MSG_*.
The netlink interface is meant to map directly onto the underlying
xfrm subsystem. Therefore rather than using a new independent
representation for the events we can simply use the existing ones
from xfrm_user.
I also killed a couple of inline's in af_key since
1) They are not performance critical.
2) None of the other x2y functions here are inlined.
Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
include/net/xfrm.h | 12 --------
net/key/af_key.c | 70 +++++++++++++++++++++++++-------------------------
net/xfrm/xfrm_state.c | 4 +-
net/xfrm/xfrm_user.c | 63 ++++++++++++---------------------------------
4 files changed, 55 insertions(+), 94 deletions(-)
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
xfrm-event-5
Description: Text document
|