act_mirred: optimization.
authorChangli Gao <xiaosuo@gmail.com>
Tue, 17 Nov 2009 12:15:16 +0000 (04:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Nov 2009 12:15:38 +0000 (04:15 -0800)
commitb76965e02bfdd4164c00bf946ff6ca1818ed9fcd
treea1c974ef318524ee7c08fbdef19bf038ff91b89c
parentfeed1f17241d26261e77ddb5f2fc2a91a3c16739
act_mirred: optimization.

move checking if eaction is valid in tcf_mirred_init()

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_mirred.c