diff options
Diffstat (limited to 'lib/libtle_l4p/stream.h')
-rw-r--r-- | lib/libtle_l4p/stream.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libtle_l4p/stream.h b/lib/libtle_l4p/stream.h index f3b5828..e76f126 100644 --- a/lib/libtle_l4p/stream.h +++ b/lib/libtle_l4p/stream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Intel Corporation. + * Copyright (c) 2016-2017 Intel Corporation. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: @@ -147,6 +147,8 @@ stream_get_dest(struct tle_stream *s, const void *dst_addr, return -ENOENT; dev = dst->dev; + dst->ol_flags = dev->tx.ol_flags[s->type]; + if (s->type == TLE_V4) { struct ipv4_hdr *l3h; l3h = (struct ipv4_hdr *)(dst->hdr + dst->l2_len); |