diff options
Diffstat (limited to 'net/tls/tls_strp.c')
| -rw-r--r-- | net/tls/tls_strp.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/net/tls/tls_strp.c b/net/tls/tls_strp.c index 77e33e1e340e..65b0da6fdf6a 100644 --- a/net/tls/tls_strp.c +++ b/net/tls/tls_strp.c @@ -396,7 +396,6 @@ static int tls_strp_read_copy(struct tls_strparser *strp, bool qshort)  		return 0;  	shinfo = skb_shinfo(strp->anchor); -	shinfo->frag_list = NULL;  	/* If we don't know the length go max plus page for cipher overhead */  	need_spc = strp->stm.full_len ?: TLS_MAX_PAYLOAD_SIZE + PAGE_SIZE; @@ -412,6 +411,8 @@ static int tls_strp_read_copy(struct tls_strparser *strp, bool qshort)  				   page, 0, 0);  	} +	shinfo->frag_list = NULL; +  	strp->copy_mode = 1;  	strp->stm.offset = 0;  | 
