All of lore.kernel.org
 help / color / mirror / Atom feed
* pass netns to ->match or to not pass
@ 2008-10-23 23:16 Alexey Dobriyan
  2008-10-23 23:17 ` Jan Engelhardt
  2008-10-24  3:43 ` Patrick McHardy
  0 siblings, 2 replies; 10+ messages in thread
From: Alexey Dobriyan @ 2008-10-23 23:16 UTC (permalink / raw)
  To: netfilter-devel

xt_recent wants netns inside ->match hook (and xt_hashlimit probably,
haven't looked closely):

	recent_mt
	recent_table_lookup
	[use per-netns tables list]

Now, I can drag netns through struct xt_match_param, or use
dev_net(skb->dev ? skb->dev : skb->dst->dev) trick.

And the latter should be better, because only xt_recent module will be
affected.

Comments?

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-10-24 16:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-23 23:16 pass netns to ->match or to not pass Alexey Dobriyan
2008-10-23 23:17 ` Jan Engelhardt
2008-10-23 23:36   ` Alexey Dobriyan
2008-10-24  0:23     ` Jan Engelhardt
2008-10-24  9:45       ` Alexey Dobriyan
2008-10-24 13:31         ` Jan Engelhardt
2008-10-24 14:10           ` Alexey Dobriyan
2008-10-24 15:06             ` Jan Engelhardt
2008-10-24 16:25               ` Alexey Dobriyan
2008-10-24  3:43 ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.