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

From: Oliver Crumrine
Date: Sun Oct 22 2023 - 12:20:41 EST


Change cork to pointer in accordance with the previous patches in the
set.

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

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. */
--
2.42.0