diff options
author | Antony Antony <antony@phenome.org> | 2017-06-06 12:12:14 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-06-07 08:35:54 +0200 |
commit | 8bafd73093f2f431f5a363f8057abc0ccc118853 (patch) | |
tree | 20af3529dd452d18819bbef145e0de1f37caa261 /net/xfrm/xfrm_policy.c | |
parent | 4ab47d47af20addd6ecee1ece0205b1fbf483942 (diff) | |
download | linux-stable-8bafd73093f2f431f5a363f8057abc0ccc118853.tar.gz linux-stable-8bafd73093f2f431f5a363f8057abc0ccc118853.tar.bz2 linux-stable-8bafd73093f2f431f5a363f8057abc0ccc118853.zip |
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>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index d47f055ca90e..e6141891d23c 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -3384,7 +3384,7 @@ int xfrm_migrate(const struct xfrm_selector *sel, u8 dir, u8 type, } /* Stage 5 - announce */ - km_migrate(sel, dir, type, m, num_migrate, k); + km_migrate(sel, dir, type, m, num_migrate, k, encap); xfrm_pol_put(pol); |