Thread (2 messages) flat view 2 messages, 2 authors, 2012-07-12

Re: [PATCH 1/1] net: sched: add ipset ematch

From: David Miller <davem@davemloft.net>
Date: 2012-07-12 15:00:26

From: Florian Westphal <fw@strlen.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 <redacted>
Signed-off-by: Florian Westphal <fw@strlen.de>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help