aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libtle_l4p/tcp_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libtle_l4p/tcp_stream.c')
-rw-r--r--lib/libtle_l4p/tcp_stream.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libtle_l4p/tcp_stream.c b/lib/libtle_l4p/tcp_stream.c
index c1a007a..dbed84e 100644
--- a/lib/libtle_l4p/tcp_stream.c
+++ b/lib/libtle_l4p/tcp_stream.c
@@ -381,6 +381,8 @@ tcp_stream_fill_cfg(struct tle_tcp_stream *s, const struct tle_ctx_param *cprm,
cprm->icw;
s->tcb.snd.rto_tw = (cprm->timewait == TLE_TCP_TIMEWAIT_DEFAULT) ?
TCP_RTO_2MSL : cprm->timewait;
+
+ s->s.udata = scfg->udata;
}
static int
@@ -717,6 +719,7 @@ stream_update_cfg(struct tle_stream *ts,struct tle_tcp_stream_cfg *prm)
/* store other params */
s->tcb.snd.nb_retm = (prm->nb_retries != 0) ? prm->nb_retries :
TLE_TCP_DEFAULT_RETRIES;
+ s->s.udata = prm->udata;
/* invoke async notifications, if any */
if (rte_ring_count(s->rx.q) != 0) {