[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0804092258150.21022@ask.diku.dk>
Date: Wed, 9 Apr 2008 22:59:41 +0200 (CEST)
From: Jesper Dangaard Brouer <hawk@...u.dk>
To: Stephen Hemminger <stephen.hemminger@...tta.com>
Cc: netdev <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Patrick McHardy <kaber@...sh.net>
Subject: [PATCH 1/7] In police, fix uninitialized "overhead" variable.
Bug introduced by myself in an earlier patch series.
Signed-off-by: Jesper Dangaard Brouer <hawk@...x.dk>
---
tc/m_police.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tc/m_police.c b/tc/m_police.c
index 8fa63ad..e55a8c9 100644
--- a/tc/m_police.c
+++ b/tc/m_police.c
@@ -133,7 +133,7 @@ int act_parse_police(struct action_util *a,int *argc_p, char ***argv_p, int tca_
__u32 avrate = 0;
int presult = 0;
unsigned buffer=0, mtu=0, mpu=0;
- unsigned short overhead;
+ unsigned short overhead=0;
int Rcell_log=-1, Pcell_log = -1;
struct rtattr *tail;
--
1.5.3
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists