pkg/report: coarsen "unregister_netdevice" title

This leads to unbounded number of bug reports as syzkaller
can generate new device names dynamically.
Exclude actual device name from title.
This commit is contained in:
Dmitry Vyukov 2018-04-19 13:23:08 +02:00
parent 0a81695ed1
commit 19af2a1b35
2 changed files with 3 additions and 3 deletions

View File

@ -1162,8 +1162,8 @@ var linuxOopses = []*oops{
[]byte("unregister_netdevice: waiting for"),
[]oopsFormat{
{
title: compile("unregister_netdevice: waiting for (.*) to become free"),
fmt: "unregister_netdevice: waiting for %[1]v to become free",
title: compile("unregister_netdevice: waiting for (?:.*) to become free"),
fmt: "unregister_netdevice: waiting for DEV to become free",
noStackTrace: true,
},
},

View File

@ -1,3 +1,3 @@
TITLE: unregister_netdevice: waiting for lo to become free
TITLE: unregister_netdevice: waiting for DEV to become free
[ 624.887185] unregister_netdevice: waiting for lo to become free. Usage count = 5