]> git.baikalelectronics.ru Git - kernel.git/commit
amt: drop unexpected advertisement message
authorTaehee Yoo <ap420073@gmail.com>
Sun, 17 Jul 2022 16:09:07 +0000 (16:09 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 19 Jul 2022 10:37:02 +0000 (12:37 +0200)
commitc82fab8a682a08d486e193557488618378fab6a5
tree920ca83069e757cee32832c996ed9c9da43d6e54
parentea8828a0cacc7379698fa3d407666fedf472fb77
amt: drop unexpected advertisement message

AMT gateway interface should not receive unexpected advertisement messages.
In order to drop these packets, it should check nonce and amt->status.

Fixes: 565d46b7231c ("amt: add data plane of amt interface")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/amt.c