]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: dvb_net: avoid speculation from net slot
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 16 Jun 2021 11:13:54 +0000 (13:13 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 13 Aug 2021 07:30:05 +0000 (09:30 +0200)
commit65c857d469c2dc98fd850f1f4ffe6212ab97e880
tree3b3f1020659896e18ef9acb7139a9512ec3775d4
parent43cf32720ee0934d205565ed230dd1c90ab1aa7d
media: dvb_net: avoid speculation from net slot

BugLink: https://bugs.launchpad.net/bugs/1938340
[ Upstream commit abc0226df64dc137b48b911c1fe4319aec5891bb ]

The risk of especulation is actually almost-non-existing here,
as there are very few users of TCP/IP using the DVB stack,
as, this is mainly used with DVB-S/S2 cards, and only by people
that receives TCP/IP from satellite connections, which limits
a lot the number of users of such feature(*).

(*) In thesis, DVB-C cards could also benefit from it, but I'm
yet to see a hardware that supports it.

Yet, fixing it is trivial.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/media/dvb-core/dvb_net.c