X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip_frag.c;h=de0998779a847f98d2a26f820a22dd5b5278da32;hb=refs%2Fchanges%2F60%2F16260%2F5;hp=6efb8834c4b642bea1b172ea45e8d5a59f2f34cf;hpb=de847277c9879c014fb4557e884360a4e6492783;p=vpp.git diff --git a/src/vnet/ip/ip_frag.c b/src/vnet/ip/ip_frag.c index 6efb8834c4b..de0998779a8 100644 --- a/src/vnet/ip/ip_frag.c +++ b/src/vnet/ip/ip_frag.c @@ -61,6 +61,13 @@ frag_set_sw_if_index (vlib_buffer_t * to, vlib_buffer_t * from) vnet_buffer (from)->ip.adj_index[VLIB_RX]; vnet_buffer (to)->ip.adj_index[VLIB_TX] = vnet_buffer (from)->ip.adj_index[VLIB_TX]; + + /* Copy QoS Bits */ + if (PREDICT_TRUE (from->flags & VNET_BUFFER_F_QOS_DATA_VALID)) + { + vnet_buffer2 (to)->qos = vnet_buffer2 (from)->qos; + to->flags |= VNET_BUFFER_F_QOS_DATA_VALID; + } } static vlib_buffer_t *