From: David S. Miller Date: Fri, 29 Jun 2012 01:33:24 +0000 (-0700) Subject: ipv4: Fix bugs in fib_compute_spec_dst(). X-Git-Tag: v3.6-rc1~125^2~348 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a207a4b2e8067cbc7f33924e7f2c0fa4ef43b459;p=pandora-kernel.git 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: David S. Miller --- Reading git-diff-tree failed