Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
All conflicts seemed rather trivial, with some guidance from Saeed Mameed on the tc_ct.c one. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -431,9 +431,12 @@ void fib6_select_path(const struct net *net, struct fib6_result *res,
|
||||
struct fib6_info *sibling, *next_sibling;
|
||||
struct fib6_info *match = res->f6i;
|
||||
|
||||
if ((!match->fib6_nsiblings && !match->nh) || have_oif_match)
|
||||
if (!match->nh && (!match->fib6_nsiblings || have_oif_match))
|
||||
goto out;
|
||||
|
||||
if (match->nh && have_oif_match && res->nh)
|
||||
return;
|
||||
|
||||
/* We might have already computed the hash for ICMPv6 errors. In such
|
||||
* case it will always be non-zero. Otherwise now is the time to do it.
|
||||
*/
|
||||
@@ -3402,7 +3405,7 @@ static bool fib6_is_reject(u32 flags, struct net_device *dev, int addr_type)
|
||||
if ((flags & RTF_REJECT) ||
|
||||
(dev && (dev->flags & IFF_LOOPBACK) &&
|
||||
!(addr_type & IPV6_ADDR_LOOPBACK) &&
|
||||
!(flags & RTF_LOCAL)))
|
||||
!(flags & (RTF_ANYCAST | RTF_LOCAL))))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user