[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120712.080025.7588426314181431.davem@davemloft.net>
Date: Thu, 12 Jul 2012 08:00:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fw@...len.de
Cc: netdev@...r.kernel.org, kadlec@...ckhole.kfki.hu
Subject: Re: [PATCH 1/1] net: sched: add ipset ematch
From: Florian Westphal <fw@...len.de>
Date: Wed, 11 Jul 2012 22:56:57 +0200
> Can be used to match packets against netfilter ip sets created via ipset(8).
> skb->sk_iif is used as 'incoming interface', skb->dev is 'outgoing interface'.
>
> Since ipset is usually called from netfilter, the ematch
> initializes a fake xt_action_param, pulls the ip header into the
> linear area and also sets skb->data to the IP header (otherwise
> matching Layer 4 set types doesn't work).
>
> Tested-by: Mr Dash Four <mr.dash.four@...glemail.com>
> Signed-off-by: Florian Westphal <fw@...len.de>
Applied, thanks.
--
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