Messages in this thread Patch in this message | | | Date | Sun, 22 Oct 2023 12:20:53 -0400 | From | Oliver Crumrine <> | Subject | [PATCH net-next 09/17] Change instances of cork to a pointer |
| |
Make these usages of the cork a pointer in accordance with the previous patches.
Signed-off-by: Oliver Crumrine <ozlinuxc@gmail.com> --- net/ipv4/inet_connection_sock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c index 394a498c2823..99eb394ba0a3 100644 --- a/net/ipv4/inet_connection_sock.c +++ b/net/ipv4/inet_connection_sock.c @@ -830,7 +830,7 @@ struct dst_entry *inet_csk_route_child_sock(const struct sock *sk, struct rtable *rt; opt = rcu_dereference(ireq->ireq_opt); - fl4 = &newinet->cork.fl.u.ip4; + fl4 = &newinet->cork->fl.u.ip4; flowi4_init_output(fl4, ireq->ir_iif, ireq->ir_mark, ip_sock_rt_tos(sk), ip_sock_rt_scope(sk), @@ -1482,7 +1482,7 @@ struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu) struct inet_sock *inet = inet_sk(sk); if (!dst) { - dst = inet_csk_rebuild_route(sk, &inet->cork.fl); + dst = inet_csk_rebuild_route(sk, &inet->cork->fl); if (!dst) goto out; } @@ -1490,7 +1490,7 @@ struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu) dst = __sk_dst_check(sk, 0); if (!dst) - dst = inet_csk_rebuild_route(sk, &inet->cork.fl); + dst = inet_csk_rebuild_route(sk, &inet->cork->fl); out: return dst; } -- 2.42.0
| |