ktls: Init reset tag task for cloned sessions
When cloning a ktls session (which is needed when we need to switch output NICs for a NIC TLS session), we need to also init the reset task, like we do when creating a new tls session. Reviewed by: jhb Sponsored by: Netflix
This commit is contained in:
parent
4ccaa87f69
commit
95c51fafa4
@ -709,6 +709,7 @@ ktls_clone_session(struct ktls_session *tls)
|
||||
counter_u64_add(ktls_offload_active, 1);
|
||||
|
||||
refcount_init(&tls_new->refcount, 1);
|
||||
TASK_INIT(&tls_new->reset_tag_task, 0, ktls_reset_send_tag, tls_new);
|
||||
|
||||
/* Copy fields from existing session. */
|
||||
tls_new->params = tls->params;
|
||||
|
Loading…
Reference in New Issue
Block a user