classify: fix coverity 249223 42/36942/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 18 Aug 2022 12:38:00 +0000 (12:38 +0000)
committerBeno�t Ganne <bganne@cisco.com>
Tue, 23 Aug 2022 15:09:54 +0000 (15:09 +0000)
commitaac685640aba01867ed54c1d2d2a5c64e4a7b656
tree977de99a9c203f84da67990e01530ed787db52b7
parent5b88feeb7f81905df0cffc5d7cb372c98cfa949e
classify: fix coverity 249223

Day1 latent integer overflow.

vnet_classify_add_del defines new_hash as u32 - so replace a u64 type with u32
in split_and_rehash as well.

Type: fix
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: I51384a2db1caa4099b4d2ac25cd185bd108da037
src/vnet/classify/vnet_classify.c