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

AMT gateway interface should not receive unexpected multicast data.
Multicast data message type should be received after sending an update
message, which means all establishment between gateway and relay is
finished.
So, amt_multicast_data_handler() checks 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