* [B.A.T.M.A.N.] [PATCH] batman-adv: Fix kernel panic when fetching vis data on a vis server
@ 2011-01-25 21:49 Linus Lüssing
2011-01-25 21:54 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Linus Lüssing @ 2011-01-25 21:49 UTC (permalink / raw)
To: b.a.t.m.a.n
Commit 593180d8b00bd486187841468adb53ca1edf3950 introduced a bug leading
to a kernel panic when fetching the vis data on a vis server. That
commit forgot to rename one variable name, which this commit fixes now.
Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
---
vis.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/batman-adv/vis.c b/batman-adv/vis.c
index 69178d9..2cdf01c 100644
--- a/batman-adv/vis.c
+++ b/batman-adv/vis.c
@@ -268,10 +268,10 @@ int vis_seq_print_text(struct seq_file *seq, void *offset)
buff_pos += sprintf(buff + buff_pos, "%pM,",
entry->addr);
- for (i = 0; i < packet->entries; i++)
+ for (j = 0; j < packet->entries; j++)
buff_pos += vis_data_read_entry(
buff + buff_pos,
- &entries[i],
+ &entries[j],
entry->addr,
entry->primary);
--
1.7.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix kernel panic when fetching vis data on a vis server
2011-01-25 21:49 [B.A.T.M.A.N.] [PATCH] batman-adv: Fix kernel panic when fetching vis data on a vis server Linus Lüssing
@ 2011-01-25 21:54 ` Marek Lindner
0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2011-01-25 21:54 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Tuesday 25 January 2011 22:49:29 Linus Lüssing wrote:
> Commit 593180d8b00bd486187841468adb53ca1edf3950 introduced a bug leading
> to a kernel panic when fetching the vis data on a vis server. That
> commit forgot to rename one variable name, which this commit fixes now.
Applied in revision 1914.
Thanks,
Marek
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-25 21:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-25 21:49 [B.A.T.M.A.N.] [PATCH] batman-adv: Fix kernel panic when fetching vis data on a vis server Linus Lüssing
2011-01-25 21:54 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox