[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7NR6xmjCN5JLirDYeT0it3CaHek-xGEL5R1YZsK+0qPmg@mail.gmail.com>
Date: Mon, 6 Oct 2014 10:23:37 -0700
From: Cong Wang <cwang@...pensource.com>
To: Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc: netdev <netdev@...r.kernel.org>, hideaki@...hifuji.org,
kafai@...com
Subject: Re: [PATCH net-next 1/5] ipv6: minor fib6 cleanups like type safety,
bool conversion, inline removal
On Mon, Oct 6, 2014 at 1:52 AM, Hannes Frederic Sowa
<hannes@...essinduktion.org> wrote:
> diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
> index cf485f9..f4e6b3e 100644
> --- a/include/net/ip6_fib.h
> +++ b/include/net/ip6_fib.h
> @@ -202,12 +202,22 @@ static inline void ip6_rt_put(struct rt6_info *rt)
> dst_release(&rt->dst);
> }
>
> +enum fib_walk_state_t {
> +#ifdef CONFIG_IPV6_SUBTREES
> + FWS_S,
> +#endif
> + FWS_L,
> + FWS_R,
> + FWS_C,
> + FWS_U
> +};
> +
> struct fib6_walker_t {
While you are on it, I think these *_t types don't actually need "_t",
they are not typedef's anyway. But this definitely could be a folllowup patch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists