git: e39661251110 - main - cxgbe T6 KTLS: Use intotcpcb().
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Feb 2023 01:08:15 UTC
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) {