net: Put flowi_* prefix on AF independent members of struct flowi
I intend to turn struct flowi into a union of AF specific flowi structs. There will be a common structure that each variant includes first, much like struct sock_common. This is the first step to move in that direction. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -948,11 +948,11 @@ static int __dn_connect(struct sock *sk, struct sockaddr_dn *addr, int addrlen,
|
||||
|
||||
err = -EHOSTUNREACH;
|
||||
memset(&fl, 0, sizeof(fl));
|
||||
fl.oif = sk->sk_bound_dev_if;
|
||||
fl.flowi_oif = sk->sk_bound_dev_if;
|
||||
fl.fld_dst = dn_saddr2dn(&scp->peer);
|
||||
fl.fld_src = dn_saddr2dn(&scp->addr);
|
||||
dn_sk_ports_copy(&fl, scp);
|
||||
fl.proto = DNPROTO_NSP;
|
||||
fl.flowi_proto = DNPROTO_NSP;
|
||||
if (dn_route_output_sock(&sk->sk_dst_cache, &fl, sk, flags) < 0)
|
||||
goto out;
|
||||
sk->sk_route_caps = sk->sk_dst_cache->dev->features;
|
||||
|
Reference in New Issue
Block a user