On Tue, Jun 23, 2015 at 02:30:40AM -0700, David Miller wrote:
> From: Andy Gospodarek
> Date: Thu, 18 Jun 2015 11:22:10 -0400
>
> > - ((nh->nh_flags ^ onh->nh_flags) & ~RTNH_F_DEAD))
> > + ((nh->nh_flags ^ onh->nh_flags) & ~(RTNH_F_COMPARE_MASK)))
> >
From: Andy Gospodarek
Date: Thu, 18 Jun 2015 11:22:10 -0400
> - ((nh->nh_flags ^ onh->nh_flags) & ~RTNH_F_DEAD))
> + ((nh->nh_flags ^ onh->nh_flags) & ~(RTNH_F_COMPARE_MASK)))
> return -1;
Excessive parenthesis, just plain "~RTNH_F_COMPARE_MA
Add a fib flag called RTNH_F_LINKDOWN to any ipv4 nexthops that are
reachable via an interface where carrier is off. No action is taken,
but additional flags are passed to userspace to indicate carrier status.
This also includes a cleanup to fib_disable_ip to more clearly indicate
what event made