@@ -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;
}
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(-)