mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
net: Put fl4_* macros to struct flowi4 and use them again.
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f42454d632
commit
9cce96df5b
12 changed files with 46 additions and 50 deletions
|
|
@ -471,8 +471,8 @@ static struct dst_entry* dccp_v4_route_skb(struct net *net, struct sock *sk,
|
|||
.saddr = ip_hdr(skb)->daddr,
|
||||
.flowi4_tos = RT_CONN_FLAGS(sk),
|
||||
.flowi4_proto = sk->sk_protocol,
|
||||
.uli.ports.sport = dccp_hdr(skb)->dccph_dport,
|
||||
.uli.ports.dport = dccp_hdr(skb)->dccph_sport,
|
||||
.fl4_sport = dccp_hdr(skb)->dccph_dport,
|
||||
.fl4_dport = dccp_hdr(skb)->dccph_sport,
|
||||
};
|
||||
|
||||
security_skb_classify_flow(skb, flowi4_to_flowi(&fl4));
|
||||
|
|
|
|||
Loading…
Reference in a new issue