git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ice: add flow IPv6 TC support
[dpdk.git]
/
lib
/
librte_ipsec
/
esp_outb.c
diff --git
a/lib/librte_ipsec/esp_outb.c
b/lib/librte_ipsec/esp_outb.c
index
8c6db35
..
55799a8
100644
(file)
--- a/
lib/librte_ipsec/esp_outb.c
+++ b/
lib/librte_ipsec/esp_outb.c
@@
-152,8
+152,8
@@
outb_tun_pkt_prepare(struct rte_ipsec_sa *sa, rte_be64_t sqc,
rte_memcpy(ph, sa->hdr, sa->hdr_len);
/* update original and new ip header fields */
rte_memcpy(ph, sa->hdr, sa->hdr_len);
/* update original and new ip header fields */
- update_tun_
l3hdr(sa, ph + sa->hdr_l3_off, mb->pkt_len - sqh_
len,
- sa->hdr_l3_off, sqn_low16(sqc));
+ update_tun_
outb_l3hdr(sa, ph + sa->hdr_l3_off, ph + h
len,
+
mb->pkt_len - sqh_len,
sa->hdr_l3_off, sqn_low16(sqc));
/* update spi, seqn and iv */
esph = (struct rte_esp_hdr *)(ph + sa->hdr_len);
/* update spi, seqn and iv */
esph = (struct rte_esp_hdr *)(ph + sa->hdr_len);