summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-01-01 11:47:11 +0200
committerToomas Soome <tsoome@me.com>2020-03-31 19:56:15 +0300
commit5338faaac2dc1b2a16cb1a986233578834926ce0 (patch)
tree00c2b1aa00d78096c84b001a504bc9e588309590
parent9b0bb795691f70ec1b1796f6d15266f82d7a3200 (diff)
downloadillumos-joyent-5338faaac2dc1b2a16cb1a986233578834926ce0.tar.gz
12423 ipf: variable may be used uninitialized
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/common/inet/ipf/ip_nat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/inet/ipf/ip_nat.c b/usr/src/uts/common/inet/ipf/ip_nat.c
index e8b115761e..96c71969a4 100644
--- a/usr/src/uts/common/inet/ipf/ip_nat.c
+++ b/usr/src/uts/common/inet/ipf/ip_nat.c
@@ -4747,6 +4747,8 @@ ipf_stack_t *ifs;
ipnat_t *np;
SPL_INT(s);
+ sum1 = 0;
+ sum2 = 0;
if (ifs->ifs_fr_running <= 0)
return;