diff options
author | John Baldwin <jhb@FreeBSD.org> | 2023-02-07 01:05:18 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2023-02-07 01:07:53 +0000 |
commit | e39661251110e8adc8e665b4139d24c5db0fceca (patch) | |
tree | 23e9cbf495fc2bc579f84e394434f2ad06cf12dd | |
parent | 77934b7a1301737edcd3518f1af99a387b3068ae (diff) | |
download | src-e39661251110e8adc8e665b4139d24c5db0fceca.tar.gz src-e39661251110e8adc8e665b4139d24c5db0fceca.zip |
cxgbe T6 KTLS: Use intotcpcb().
Fixes: e68b3792440c tcp: embed inpcb into tcpcb
Sponsored by: Chelsio Communications
-rw-r--r-- | sys/dev/cxgbe/crypto/t6_kern_tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |