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)
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>

No differences found