projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c220253
)
PKT_SCHED: cls_basic: Use unsigned int when generating handle
author
David Miller
<davem@davemloft.net>
Wed, 27 Sep 2006 23:25:17 +0000
(16:25 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 13 Oct 2006 18:50:11 +0000
(11:50 -0700)
Prevents filters from being added if the first generated
handle already exists.
Signed-off-by: Kim Nordlund <kim.nordlund@nokia.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sched/cls_basic.c
patch
|
blob
|
history
diff --git
a/net/sched/cls_basic.c
b/net/sched/cls_basic.c
index dfb300bb6baa067963a5e0e1e160087ae69d291d..0f425448fdf6ed581f62736bd08f268bea925155 100644
(file)
--- a/
net/sched/cls_basic.c
+++ b/
net/sched/cls_basic.c
@@
-197,7
+197,7
@@
static int basic_change(struct tcf_proto *tp, unsigned long base, u32 handle,
if (handle)
f->handle = handle;
else {
- int i = 0x80000000;
+
unsigned
int i = 0x80000000;
do {
if (++head->hgenerator == 0x7FFFFFFF)
head->hgenerator = 1;