Skip to content
Commit 504f85c9 authored by Changli Gao's avatar Changli Gao Committed by David S. Miller
Browse files

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: default avatarChangli Gao <xiaosuo@gmail.com>
----
 net/sched/act_nat.c |   31 ++++++++++---------------------
 1 file changed, 10 insertions(+), 21 deletions(-)
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5acbf7f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment