act_mirred: cleanup
authorChangli Gao <xiaosuo@gmail.com>
Tue, 17 Nov 2009 12:14:00 +0000 (04:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Nov 2009 12:15:37 +0000 (04:15 -0800)
commitfeed1f17241d26261e77ddb5f2fc2a91a3c16739
treeff9828b498a5e13dd48277c79a3ef28f0ed62efe
parentb2a5decddbe295d09c29d4a8078cdc47a55346df
act_mirred: cleanup

1. don't let go back using goto.
2. don't call skb_act_clone() until it is necessary.
3. one exit of the critical context.

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