Skip to content
Commit a207a4b2 authored by David S. Miller's avatar David S. Miller
Browse files

ipv4: Fix bugs in fib_compute_spec_dst().



Based upon feedback from Julian Anastasov.

1) Use route flags to determine multicast/broadcast, not the
   packet flags.

2) Leave saddr unspecified in flow key.

3) Adjust how we invoke inet_select_addr().  Pass ip_hdr(skb)->saddr as
   second arg, and if it was zeronet use link scope.

4) Use loopback as input interface in flow key.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 58050fce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment