]> 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)
commitb5dc5f7ce6fb27deeb0c2e0899edad0452cc13f0
tree920ca83069e757cee32832c996ed9c9da43d6e54
parent76698351d6c5e5fb4f5f7c6fc3d0dfa3dcff9eeb
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: 19284cc854b3 ("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