[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1375373194.10515.158.camel@edumazet-glaptop>
Date: Thu, 01 Aug 2013 09:06:34 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Stefan Tomanek <stefan.tomanek@...tarbyte.de>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] fib_rules: add route suppression based on ifgroup
On Thu, 2013-08-01 at 17:18 +0200, Stefan Tomanek wrote:
> This change adds the ability to suppress a routing decision based upon the
> interface group the selected interface belongs to.
>
> Signed-off-by: Stefan Tomanek <stefan.tomanek@...tarbyte.de>
> ---
> include/net/fib_rules.h | 2 ++
> include/uapi/linux/fib_rules.h | 2 +-
> net/core/fib_rules.c | 10 ++++++++++
> net/ipv4/fib_rules.c | 23 +++++++++++++++++------
> net/ipv6/fib6_rules.c | 16 +++++++++++++---
> 5 files changed, 43 insertions(+), 10 deletions(-)
>
> diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h
> index 2f286dc..4d32ecc 100644
> --- a/include/net/fib_rules.h
> +++ b/include/net/fib_rules.h
> @@ -19,6 +19,7 @@ struct fib_rule {
> u32 flags;
> u32 table;
> u8 table_prefixlen_min;
> + int suppress_ifgroup;
> u8 action;
> u32 target;
> struct fib_rule __rcu *ctarget;
Why adding holes in this structure ?
--
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