* [PATCH] call cookies_initialize() before gator_start()
@ 2011-03-25 3:31 Po-Yu Chuang
2011-03-28 11:37 ` Pawel Moll
0 siblings, 1 reply; 2+ messages in thread
From: Po-Yu Chuang @ 2011-03-25 3:31 UTC (permalink / raw)
To: linux-arm-kernel
From: Po-Yu Chuang <ratbert@faraday-tech.com>
gator_crc32_table might be accessed by gator_chksum_crc32() before
it is allocated.
Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
---
Hi Pawel Moll,
Not sure where to post this patch. Please let me know if there were something
wrong.
gator_main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gator_main.c b/gator_main.c
index 60b09cb..12aa1be 100644
--- a/gator_main.c
+++ b/gator_main.c
@@ -739,13 +739,13 @@ static int gator_op_start(void)
mutex_lock(&start_mutex);
+ cookies_initialize();
+
if (gator_started || gator_start())
err = -EINVAL;
else
gator_started = 1;
- cookies_initialize();
-
mutex_unlock(&start_mutex);
return err;
--
1.6.3.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-28 11:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-25 3:31 [PATCH] call cookies_initialize() before gator_start() Po-Yu Chuang
2011-03-28 11:37 ` Pawel Moll
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).