From: David M. <da...@da...> - 2019-07-17 22:24:59
|
From: Jon Maloy <jon...@er...> Date: Wed, 17 Jul 2019 23:43:44 +0200 > The tipc_msg_validate() function leaves a boolean flag 'validated' in > the validated buffer's control block, to avoid performing this action > more than once. However, at reception of new packets, the position of > this field may already have been set by lower layer protocols, so > that the packet is erroneously perceived as already validated by TIPC. > > We fix this by initializing the said field to 'false' before performing > the initial validation. > > Signed-off-by: Jon Maloy <jon...@er...> Applied. |