diff mbox series

[net-next,16/17] Change a usage of cork to pointer

Message ID 5d0e218ee92a742a9a8e77690b0fc9f0079b6dc7.1697989543.git.ozlinuxc@gmail.com (mailing list archive)
State Rejected
Delegated to: Netdev Maintainers
Headers show
Series Change cork to a pointer in sockets | expand

Commit Message

Oliver Crumrine Oct. 22, 2023, 4:21 p.m. UTC
Change an instance of cork to a pointer in accordance with the other
patches in this set

Signed-off-by: Oliver Crumrine <ozlinuxc@gmail.com>
---
 net/ipv6/udp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 86b5d509a468..191d21d12a98 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -1306,8 +1306,8 @@  static int udp_v6_push_pending_frames(struct sock *sk)
 	if (!skb)
 		goto out;
 
-	err = udp_v6_send_skb(skb, &inet_sk(sk)->cork.fl.u.ip6,
-			      &inet_sk(sk)->cork.base);
+	err = udp_v6_send_skb(skb, &inet_sk(sk)->cork->fl.u.ip6,
+			      &inet_sk(sk)->cork->base);
 out:
 	up->len = 0;
 	up->pending = 0;