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)
commit239d886601e38d948a28f3b2a1c9ce5f01bf75f2
treee03650ce70b4b7af7b4ad2d148bed15edeafedda
parent40185f359fbabaa61da754cc29d12f3a41e0a987
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: cbc21dc1cfe9 ("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