diff mbox series

[net-next,17/17] Change the last instance of cork to pointer

Message ID c2ca768b6d2d0114b641634103c67038d87f9c4a.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 the last of the instances of cork to a pointer.

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

Patch

diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 4167e8a48b60..b6729817378f 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -229,7 +229,7 @@  int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
 
 	orig_sport = inet->inet_sport;
 	orig_dport = usin->sin_port;
-	fl4 = &inet->cork.fl.u.ip4;
+	fl4 = &inet->cork->fl.u.ip4;
 	rt = ip_route_connect(fl4, nexthop, inet->inet_saddr,
 			      sk->sk_bound_dev_if, IPPROTO_TCP, orig_sport,
 			      orig_dport, sk);