]> git.baikalelectronics.ru Git - kernel.git/commit
mctp: add address validity checking for packet receive
authorJeremy Kerr <jk@codeconstruct.com.au>
Fri, 18 Feb 2022 04:25:54 +0000 (12:25 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 19 Feb 2022 05:24:29 +0000 (21:24 -0800)
commit97d83f47509e319244c336f8cded0eb4b6610588
tree1e158db45b1ed7454f438c240ae3924b36a49b03
parenta90c202ed6b5fec599aebba9411c5ed08bff9fec
mctp: add address validity checking for packet receive

This change adds some basic sanity checks for the source and dest
headers of packets on initial receive.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mctp/route.c