]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
9p: Avoid creating multiple slab caches with the same name
authorPedro Falcato <pedro.falcato@gmail.com>
Wed, 7 Aug 2024 09:47:25 +0000 (10:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Nov 2024 14:06:24 +0000 (15:06 +0100)
commit826cbda558209908f1421bd4c02f1c9715d699c6
tree76d4924e3d539a3b98826110477d0c0168d09bb0
parentd98fd109f8279feabed326ecd98923fa9b7affca
9p: Avoid creating multiple slab caches with the same name

[ Upstream commit 79efebae4afc2221fa814c3cae001bede66ab259 ]

In the spirit of [1], avoid creating multiple slab caches with the same
name. Instead, add the dev_name into the mix.

[1]: https://lore.kernel.org/all/20240807090746.2146479-1-pedro.falcato@gmail.com/

Signed-off-by: Pedro Falcato <pedro.falcato@gmail.com>
Reported-by: syzbot+3c5d43e97993e1fa612b@syzkaller.appspotmail.com
Message-ID: <20240807094725.2193423-1-pedro.falcato@gmail.com>
Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/9p/client.c