Commit d6624f99 authored by Arjan van de Ven's avatar Arjan van de Ven Committed by Linus Torvalds

oops: increment the oops UUID every time we oops

... because we do want repeated same-oops to be seen by automated
tools like kerneloops.org
Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e899aa82
...@@ -299,6 +299,8 @@ static int init_oops_id(void) ...@@ -299,6 +299,8 @@ static int init_oops_id(void)
{ {
if (!oops_id) if (!oops_id)
get_random_bytes(&oops_id, sizeof(oops_id)); get_random_bytes(&oops_id, sizeof(oops_id));
else
oops_id++;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment