[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ffd6e8ca-118b-9cea-9c58-fb1820f9e735@mojatatu.com>
Date: Mon, 29 Aug 2016 07:40:20 -0400
From: Jamal Hadi Salim <jhs@...atatu.com>
To: Daniel Borkmann <daniel@...earbox.net>,
Eric Dumazet <eric.dumazet@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
xiyou.wangcong@...il.com
Subject: Re: [PATCH v3 net-next 1/1] net_sched: Introduce skbmod action
On 16-08-29 07:00 AM, Daniel Borkmann wrote:
> You could probably just keep these meta data in a separate struct
> managed by RCU that tcf_skbmod points to.
>
Which seem like could be made generic for all actions. Maybe thats
what Cong is thinking.
> One more thing I commented on your last patch already is that you
> would also need f.e. skb_ensure_writable() before mangling.
Sorry missed that. Let me give it an attempt. I think challenge is
going to be what length to use. For now it is ethernet; but i had
a change which swapped VLANs that i took out.
cheers,
jamal
Powered by blists - more mailing lists