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

AMT gateway interface should not receive unexpected query messages.
In order to drop unexpected query messages, it checks nonce.
And it also checks ready4 and ready6 variables to drop duplicated messages.

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