On Tue, Jan 06, 2015 at 10:12:56PM +0000, Bill Fischofer wrote: > Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org>
Reviewed-by: Stuart Haslam <stuart.has...@arm.com> > --- > platform/linux-generic/odp_packet.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/platform/linux-generic/odp_packet.c > b/platform/linux-generic/odp_packet.c > index eb0767a..257abec 100644 > --- a/platform/linux-generic/odp_packet.c > +++ b/platform/linux-generic/odp_packet.c > @@ -778,7 +778,7 @@ int _odp_packet_parse(odp_packet_t pkt) > pkt_hdr->error_flags.all = 0; > pkt_hdr->input_flags.all = 0; > pkt_hdr->output_flags.all = 0; > - pkt_hdr->l2_offset = ODP_PACKET_OFFSET_INVALID; > + pkt_hdr->l2_offset = 0; > pkt_hdr->l3_offset = ODP_PACKET_OFFSET_INVALID; > pkt_hdr->l4_offset = ODP_PACKET_OFFSET_INVALID; > pkt_hdr->payload_offset = ODP_PACKET_OFFSET_INVALID; > -- > 2.1.0 > > _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp