mismatch bi0 and b0 when finalizing ip reassembly. 90/14990/2
authorKingwel Xie <kingwel.xie@ericsson.com>
Wed, 26 Sep 2018 08:59:52 +0000 (04:59 -0400)
committerDamjan Marion <dmarion@me.com>
Wed, 26 Sep 2018 15:48:38 +0000 (15:48 +0000)
commita0060659d88e1e95543cd799512548ec9fbe73ec
tree48227a22676e5096fecabac1cdf96365c764760b
parent02756074759ca47f4c637e1ff34644a11d64140a
mismatch bi0 and b0 when finalizing ip reassembly.
bi0 always points to the first buffer in chain but b0 could be any fragment in a ip packet.
It causes a vnet_feature_next function call to the wrong buffer
and crashes sometime when there is >1 feature nodes under ip-unicast.
The fix is simple, makes b0 and bi0 both pointed to the first buffer

Change-Id: I7de36e68fb42b050fa63201abd98aeb6ba2e0cd3
Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
src/vnet/ip/ip4_reassembly.c
src/vnet/ip/ip6_reassembly.c