Messages in this thread Patch in this message | | | Date | Sun, 22 Oct 2023 12:20:48 -0400 | From | Oliver Crumrine <> | Subject | [PATCH net-next 08/17] Update cork to pointer |
| |
Updates cork to a pointer in the __ip4_datagram_connect function in accordance with the previous patches.
Signed-off-by: Oliver Crumrine <ozlinuxc@gmail.com> --- net/ipv4/datagram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv4/datagram.c b/net/ipv4/datagram.c index cb5dbee9e018..bb73eae9de25 100644 --- a/net/ipv4/datagram.c +++ b/net/ipv4/datagram.c @@ -45,7 +45,7 @@ int __ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len } else if (!oif) { oif = inet->uc_index; } - fl4 = &inet->cork.fl.u.ip4; + fl4 = &inet->cork->fl.u.ip4; rt = ip_route_connect(fl4, usin->sin_addr.s_addr, saddr, oif, sk->sk_protocol, inet->inet_sport, usin->sin_port, sk); -- 2.42.0
| |