projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53c4b2c
)
[IFB] After ifb_init_one() failed, i is increased. Decrease
author
Nicolas Dichtel
<nicolas.dichtel@6wind.com>
Fri, 21 Jul 2006 21:56:02 +0000
(14:56 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 21 Jul 2006 21:56:02 +0000
(14:56 -0700)
It before entering in the loop for freeing the other ifb devices.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c
patch
|
blob
|
history
diff --git
a/drivers/net/ifb.c
b/drivers/net/ifb.c
index
3a42afa
..
43e3f33
100644
(file)
--- a/
drivers/net/ifb.c
+++ b/
drivers/net/ifb.c
@@
-271,6
+271,7
@@
static int __init ifb_init_module(void)
for (i = 0; i < numifbs && !err; i++)
err = ifb_init_one(i);
if (err) {
+ i--;
while (--i >= 0)
ifb_free_one(i);
}