netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Eric Leblond <eric@inl.fr>
Cc: netfilter-devel@vger.kernel.org, Laurent Licour <laurent@licour.com>
Subject: Re: [PATCH 1/2] netfilter: nfmark routing in OUTPUT, mangle, NFQUEUE
Date: Tue, 25 Nov 2008 12:17:38 +0100	[thread overview]
Message-ID: <492BDED2.2000505@trash.net> (raw)
In-Reply-To: <1227559607-3077-2-git-send-email-eric@inl.fr>

Eric Leblond wrote:
> From: Laurent Licour <laurent@licour.com>
> 
> This patch let nfmark to be evaluated for routing decision for OUTPUT
> packet, in mangle table, when process paquet in NFQUEUE
> Until now, only change (in NFQUEUE process) on fields src_addr,
> dest_addr and tos could make netfilter to reevalute the routing.

Applied, thanks.

> diff --git a/net/ipv4/netfilter.c b/net/ipv4/netfilter.c
> index 6efdb70..3f2fc81 100644
> --- a/net/ipv4/netfilter.c
> +++ b/net/ipv4/netfilter.c
> @@ -125,6 +125,7 @@ struct ip_rt_info {
>  	__be32 daddr;
>  	__be32 saddr;
>  	u_int8_t tos;
> +	__u32 mark;

I've changed this to u_int32_t for consistency. The double
underscore types are only needed in headers made available
to userspace or for the endian annotated types.

  reply	other threads:[~2008-11-25 11:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-24 20:46 [PATCH 0/2] routing via nfmark in OUTPUT NFQUEUE Eric Leblond
2008-11-24 20:46 ` [PATCH 1/2] netfilter: nfmark routing in OUTPUT, mangle, NFQUEUE Eric Leblond
2008-11-25 11:17   ` Patrick McHardy [this message]
2008-11-24 20:46 ` [PATCH 2/2] netfilter: nfmark IPV6 " Eric Leblond
2008-11-25 11:18   ` Patrick McHardy

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=492BDED2.2000505@trash.net \
    --to=kaber@trash.net \
    --cc=eric@inl.fr \
    --cc=laurent@licour.com \
    --cc=netfilter-devel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).