Re: [NET_NEXT PATCH 2/2] pkt_action: add new action skbedit
From: David Miller <davem@davemloft.net>
Date: 2008-08-28 08:27:24
From: David Miller <davem@davemloft.net>
Date: 2008-08-28 08:27:24
From: Jeff Kirsher <redacted> Date: Wed, 27 Aug 2008 18:12:57 -0700
From: Alexander Duyck <redacted> This new action will have the ability to change the priority and/or queue_mapping fields on an sk_buff. Signed-off-by: Alexander Duyck <redacted> Signed-off-by: Jeff Kirsher <redacted>
I think you'll need to do range checking on the queue mapping being set in tcf_skbedit(). qdisc_restart() will accept any skb_queue_mapping() value it sees in packets obtained via ->dequeue().