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:
933b0ca
)
nat: allocate enough space for full port usage
51/31751/4
author
Klement Sekera
<ksekera@cisco.com>
Wed, 24 Mar 2021 16:28:13 +0000
(17:28 +0100)
committer
Ole Tr�an
<otroan@employees.org>
Thu, 25 Mar 2021 19:48:40 +0000
(19:48 +0000)
Type: fix
Change-Id: I068bfeaf22b9e6cce967c27acdd46d4b8541bdf8
Signed-off-by: Klement Sekera <ksekera@cisco.com>
src/plugins/nat/nat44-ei/nat44_ei.h
patch
|
blob
|
history
diff --git
a/src/plugins/nat/nat44-ei/nat44_ei.h
b/src/plugins/nat/nat44-ei/nat44_ei.h
index
29c92e9
..
ae63d9d
100644
(file)
--- a/
src/plugins/nat/nat44-ei/nat44_ei.h
+++ b/
src/plugins/nat/nat44-ei/nat44_ei.h
@@
-71,7
+71,7
@@
typedef struct
#define _(N, i, n, s) \
u32 busy_##n##_ports; \
u32 *busy_##n##_ports_per_thread; \
- u32 busy_##n##_port_refcounts[
65535
];
+ u32 busy_##n##_port_refcounts[
0xffff + 1
];
foreach_nat_protocol
#undef _
} nat44_ei_address_t;