mei: validate the message header only in first fragment.
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 12 Jun 2017 09:15:55 +0000 (12:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 13:46:18 +0000 (15:46 +0200)
commit99c06866bc64a79ec5cf9b9e73fb7c1ba4b3551a
tree302e91e47e91077fd84f179861b4e5d8a1403000
parentf85e8813b2c9346821e704c175d8933d25410331
mei: validate the message header only in first fragment.

RX message header is received in the first fragment of
the message and saved side and it is not modified after that,
we don't need to validate it upon each fragment.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/interrupt.c