[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1239112067.32737.51.camel@dogo.mojatatu.com>
Date: Tue, 07 Apr 2009 09:47:47 -0400
From: jamal <hadi@...erus.ca>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Johann Baudy <johann.baudy@...-log.net>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Patrick McHardy <kaber@...sh.net>
Subject: Re: [PATCH] TX_RING and packet mmap
On Tue, 2009-04-07 at 21:04 +0800, Herbert Xu wrote:
> Well through tc ipt actions you can invoke arbitrary netfilter
> targets, including MARK --set-mark.
I thought you were saying this issue can be solved by
tc/mark but you meant tc/mark is one culprit;->
Solvable by making sure tc/mark is not used in the system
you are running an app using this feature.
But the superset of what Johann wants seems to be a common
issue: identifying _precisely_ when the skb sent out is done
with - in his case, so he can use some field to lookup a table.
Other times i have seen people ask for it is for tun/tap
notification in user space when a packet sent actually went out.
> In fact I've never really liked tc ipt actions since it doesn't
> do any sanity checking on the packet before invoking the target
> while normally netfitler does quite a bit of sanity checking.
more could be done in user space if you really need it.
cheers,
jamal
--
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