]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93fc88ef3c81d1291221cabb542bd839bed9bf7c
tree302e91e47e91077fd84f179861b4e5d8a1403000
parent4ef2bad08784b645a015c7ffa589f0a9c8fe6bca
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