From: Eric Dumazet <eric.dumazet@gmail.com>
To: Stefan Tomanek <stefan.tomanek@wertarbyte.de>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] fib_rules: add route suppression based on ifgroup
Date: Thu, 01 Aug 2013 09:06:34 -0700 [thread overview]
Message-ID: <1375373194.10515.158.camel@edumazet-glaptop> (raw)
In-Reply-To: <20130801151809.GB21970@zirkel.wertarbyte.de>
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@wertarbyte.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 ?
next prev parent reply other threads:[~2013-08-01 16:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 15:18 [PATCH] fib_rules: add route suppression based on ifgroup Stefan Tomanek
2013-08-01 16:06 ` Eric Dumazet [this message]
2013-08-01 16:55 ` Stefan Tomanek
2013-08-01 17:05 ` Eric Dumazet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1375373194.10515.158.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=stefan.tomanek@wertarbyte.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox