Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2023 01:08:15 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e39661251110 - main - cxgbe T6 KTLS: Use intotcpcb().
Message-ID:  <202302070108.31718FnB094436@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=e39661251110e8adc8e665b4139d24c5db0fceca

commit e39661251110e8adc8e665b4139d24c5db0fceca
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-02-07 01:05:18 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-02-07 01:07:53 +0000

    cxgbe T6 KTLS: Use intotcpcb().
    
    Fixes:          e68b3792440c tcp: embed inpcb into tcpcb
    Sponsored by:   Chelsio Communications
---
 sys/dev/cxgbe/crypto/t6_kern_tls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/cxgbe/crypto/t6_kern_tls.c b/sys/dev/cxgbe/crypto/t6_kern_tls.c
index 4340c5484763..0be0c092d7e0 100644
--- a/sys/dev/cxgbe/crypto/t6_kern_tls.c
+++ b/sys/dev/cxgbe/crypto/t6_kern_tls.c
@@ -469,7 +469,7 @@ t6_tls_tag_alloc(struct ifnet *ifp, union if_snd_tag_alloc_params *params,
 	}
 	tlsp->inp = inp;
 
-	tp = inp->inp_ppcb;
+	tp = intotcpcb(inp);
 	if (tp->t_flags & TF_REQ_TSTMP) {
 		tlsp->using_timestamps = true;
 		if ((tp->ts_offset & 0xfffffff) != 0) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302070108.31718FnB094436>