diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2020-04-03 10:18:44 -0400 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2020-04-17 15:05:25 +0000 |
commit | 82fc98fa4578dbbfb156effb11dea6a4e2d0b898 (patch) | |
tree | a3a6777c42023a2495fd7bd5880113cc154555b9 /src/vnet/devices | |
parent | d50ff7fba167035b10def282b5ec166fa7899948 (diff) |
dpdk: fix udp-encap for esp in transport mode
Now UDP encapsulation doesn't work in transport mode because:
- the encrypt node misses filling of UDP header and it gets sent with
all zeros;
- the decrypt node misses filling of new IP header and it contains
garbage data.
With this commit, fill UDP header during encryption and fill IP header
during decryption.
Change-Id: I87a7bd594f0e312b16d3e5eb19e568b4e3164d36
Type: fix
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Diffstat (limited to 'src/vnet/devices')
0 files changed, 0 insertions, 0 deletions