Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f073acd
)
nat: respect udp checksum
71/23271/2
author
Filip Varga
<fivarga@cisco.com>
Mon, 21 Oct 2019 16:18:00 +0000
(18:18 +0200)
committer
Andrew Yourtchenko
<ayourtch@gmail.com>
Thu, 7 Nov 2019 20:09:00 +0000
(20:09 +0000)
Type: fix
Change-Id: I732be02d2e2b854eb589c3fa10f980ef2dbe8dfc
Signed-off-by: Filip Varga <fivarga@cisco.com>
(cherry picked from commit
16572355c9069e2e8e4836dc6bd6a65feed2d390
)
src/plugins/nat/out2in.c
patch
|
blob
|
history
diff --git
a/src/plugins/nat/out2in.c
b/src/plugins/nat/out2in.c
index
8c6cb48
..
00c5176
100755
(executable)
--- a/
src/plugins/nat/out2in.c
+++ b/
src/plugins/nat/out2in.c
@@
-895,10
+895,6
@@
VLIB_NODE_FN (snat_out2in_node) (vlib_main_t * vm,
if (PREDICT_TRUE (proto0 == SNAT_PROTOCOL_TCP))
{
- old_port0 = tcp0->dst_port;
- tcp0->dst_port = s0->in2out.port;
- new_port0 = tcp0->dst_port;
-
sum0 = tcp0->checksum;
sum0 = ip_csum_update (sum0, old_addr0, new_addr0,
ip4_header_t,