[PATCH net-next 12/17] Change an occurence of cork to pointer

From: Oliver Crumrine
Date: Sun Oct 22 2023 - 12:21:38 EST


Changes this occurence of cork to a pointer

Signed-off-by: Oliver Crumrine <ozlinuxc@xxxxxxxxx>
---
net/ipv4/tcp_output.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index f0723460753c..9672eaeb3ec1 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1414,7 +1414,7 @@ static int __tcp_transmit_skb(struct sock *sk, struct sk_buff *skb,

err = INDIRECT_CALL_INET(icsk->icsk_af_ops->queue_xmit,
inet6_csk_xmit, ip_queue_xmit,
- sk, skb, &inet->cork.fl);
+ sk, skb, &inet->cork->fl);

if (unlikely(err > 0)) {
tcp_enter_cwr(sk);
--
2.42.0