Messages in this thread Patch in this message | | | Date | Sun, 22 Oct 2023 12:21:42 -0400 | From | Oliver Crumrine <> | Subject | [PATCH net-next 17/17] Change the last instance of cork to pointer |
| |
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 --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); -- 2.42.0
| |