Johannes Berg 5178791474 mac80211: don't attempt to rename ERR_PTR() debugfs dirs
We need to dereference the directory to get its parent to
be able to rename it, so it's clearly not safe to try to
do this with ERR_PTR() pointers. Skip in this case.

It seems that this is most likely what was causing the
report by syzbot, but I'm not entirely sure as it didn't
come with a reproducer this time.

Cc: stable@vger.kernel.org
Reported-by: syzbot+4ece1a28b8f4730547c9@syzkaller.appspotmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2019-04-23 13:47:05 +02:00
..
2018-06-18 22:40:32 +02:00
2018-06-12 16:19:22 -07:00
2019-02-22 13:46:55 +01:00
2017-02-10 14:31:51 -05:00
2018-06-18 22:40:32 +02:00
2019-04-10 14:13:54 +02:00
2018-02-22 21:13:03 +01:00
2019-02-22 13:46:25 +01:00
2019-02-08 13:56:37 +01:00
2019-03-29 11:20:36 +01:00
2018-02-22 21:13:03 +01:00