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

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

Commit Message

Oliver Crumrine Oct. 22, 2023, 4:20 p.m. UTC
  Change cork to pointer in accordance with the previous patches in the
set.

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

Patch

diff --git a/include/net/ip.h b/include/net/ip.h
index 3489a1cca5e7..30bef1828a7d 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -240,7 +240,7 @@  int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
 
 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4)
 {
-	return __ip_make_skb(sk, fl4, &sk->sk_write_queue, &inet_sk(sk)->cork.base);
+	return __ip_make_skb(sk, fl4, &sk->sk_write_queue, &inet_sk(sk)->cork->base);
 }
 
 /* Get the route scope that should be used when sending a packet. */