aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_statistic.c
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-08-02 17:35:49 +0200
committerPatrick McHardy <kaber@trash.net>2010-08-02 17:35:49 +0200
commit2452a99dc0496a90abd0090c280671370c0f3e1c (patch)
tree695cfb4bff794c4815f8d55e89426107ad3699de /net/netfilter/xt_statistic.c
parentf43dc98b3be36551143e3bbaf1bb3067835c24f4 (diff)
downloadkernel_samsung_smdk4412-2452a99dc0496a90abd0090c280671370c0f3e1c.zip
kernel_samsung_smdk4412-2452a99dc0496a90abd0090c280671370c0f3e1c.tar.gz
kernel_samsung_smdk4412-2452a99dc0496a90abd0090c280671370c0f3e1c.tar.bz2
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 'net/netfilter/xt_statistic.c')
0 files changed, 0 insertions, 0 deletions