From cd48bbd9685f042a2f1f90678f8fa98a5175ea4d Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Tue, 7 May 2019 12:06:04 +0200 Subject: [HICN-189] In case the adj is not complete, we look if a better one exists and we follow the new adjacency. The adj in the face is updated accordingly. Change-Id: Ieb5c02ee66146475d54ee99a77fc795c9bdf3130 Signed-off-by: Alberto Compagno --- hicn-plugin/src/data_fwd_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hicn-plugin/src/data_fwd_node.c') diff --git a/hicn-plugin/src/data_fwd_node.c b/hicn-plugin/src/data_fwd_node.c index 0b8685ff2..fe4155958 100644 --- a/hicn-plugin/src/data_fwd_node.c +++ b/hicn-plugin/src/data_fwd_node.c @@ -389,6 +389,7 @@ hicn_satisfy_faces (vlib_main_t * vm, u32 bi0, vlib_buffer_t *b0 = vlib_get_buffer (vm, bi0); hicn_buffer_t *hicnb = hicn_get_buffer (b0); + /* * Mark the buffer as smaller than TWO_CL. It will be stored as is in the CS, without excluding * the hicn_header. Cloning is not possible, it will be copied. @@ -546,7 +547,6 @@ hicn_satisfy_faces (vlib_main_t * vm, u32 bi0, } } - vec_free (header); if (PREDICT_FALSE (!found)) -- cgit 1.2.3-korg