act_nat: use stack variable
authorChangli Gao <xiaosuo@gmail.com>
Tue, 29 Jun 2010 23:07:09 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jun 2010 19:12:37 +0000 (12:12 -0700)
commit504f85c9d05f7c605306e808f0d835fe11bfd18d
tree98c3aa1f09c3c84598abfe6555010bfc54a2493d
parent5acbf7f10b9e336510a1de79b4af06f6da9a8c5a
act_nat: use stack variable

act_nat: use stack variable

structure tc_nat isn't too big for stack, so we can put it in stack.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
 net/sched/act_nat.c |   31 ++++++++++---------------------
 1 file changed, 10 insertions(+), 21 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_nat.c