lkml.org 
[lkml]   [2023]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH net-next 16/17] Change a usage of cork to pointer
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 --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;
--
2.42.0
\
 
 \ /
  Last update: 2023-10-22 18:23    [W:0.217 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site