Commit d6624f996ae539344e8d748cce1117ae7af06fbf

Authored by Arjan van de Ven
Committed by Linus Torvalds
1 parent e899aa823a

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: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -299,6 +299,8 @@
299 299 {
300 300 if (!oops_id)
301 301 get_random_bytes(&oops_id, sizeof(oops_id));
  302 + else
  303 + oops_id++;
302 304  
303 305 return 0;
304 306 }