]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb83428f6233dc984d5c5e39745ce3a6fd12a0d16
tree98c3aa1f09c3c84598abfe6555010bfc54a2493d
parent069126734510fe67a277c1284499144b06e59d7f
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