summaryrefslogtreecommitdiff
path: root/mm/percpu.c
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-08-02 15:35:49 (GMT)
committerPatrick McHardy <kaber@trash.net>2010-08-02 15:35:49 (GMT)
commit2452a99dc0496a90abd0090c280671370c0f3e1c (patch)
tree695cfb4bff794c4815f8d55e89426107ad3699de /mm/percpu.c
parentf43dc98b3be36551143e3bbaf1bb3067835c24f4 (diff)
downloadlinux-fsl-qoriq-2452a99dc0496a90abd0090c280671370c0f3e1c.tar.xz
netfilter: nf_nat: don't check if the tuple is unique when there isn't any other choice
The tuple got from unique_tuple() doesn't need to be really unique, so the check for the unique tuple isn't necessary, when there isn't any other choice. Eliminating the unnecessary nf_nat_used_tuple() can save some CPU cycles too. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions