xfrm: add UDP encapsulation port in migrate message
authorAntony Antony <antony@phenome.org>
Tue, 6 Jun 2017 10:12:14 +0000 (12:12 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 7 Jun 2017 06:35:54 +0000 (08:35 +0200)
commit8bafd73093f2f431f5a363f8057abc0ccc118853
tree20af3529dd452d18819bbef145e0de1f37caa261
parent4ab47d47af20addd6ecee1ece0205b1fbf483942
xfrm: add UDP encapsulation port in migrate message

Add XFRMA_ENCAP, UDP encapsulation port, to km_migrate announcement
to userland. Only add if XFRMA_ENCAP was in user migrate request.

Signed-off-by: Antony Antony <antony@phenome.org>
Reviewed-by: Richard Guy Briggs <rgb@tricolour.ca>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_user.c