]> 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)
commit16526538051e87098467af09278a8e8aca36843a
treee03650ce70b4b7af7b4ad2d148bed15edeafedda
parentb5dc5f7ce6fb27deeb0c2e0899edad0452cc13f0
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: 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