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

Message ID 51d5932025b92446e63c72192194fc2ffe9f30a0.1697989543.git.ozlinuxc@gmail.com
State New
Headers
Series Change cork to a pointer in sockets |

Commit Message

Oliver Crumrine Oct. 22, 2023, 4:21 p.m. UTC
  Changes this occurence of cork to a pointer

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

Patch

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);