diff options
author | 2012-05-07 10:51:43 +0000 | |
---|---|---|
committer | 2012-05-09 12:54:06 +0200 | |
commit | 7a909ac70f6b0823d9f23a43f19598d4b57ac901 (patch) | |
tree | 50802cd6633ab06b3076615de771bde7ae5bb361 /net/dsa/slave.c | |
parent | netfilter: add xt_hmark target for hash-based skb marking (diff) | |
download | wireguard-linux-7a909ac70f6b0823d9f23a43f19598d4b57ac901.tar.xz wireguard-linux-7a909ac70f6b0823d9f23a43f19598d4b57ac901.zip |
netfilter: limit, hashlimit: avoid duplicated inline
credit_cap can be set to credit, which avoids inlining user2credits
twice. Also, remove inline keyword and let compiler decide.
old:
684 192 0 876 36c net/netfilter/xt_limit.o
4927 344 32 5303 14b7 net/netfilter/xt_hashlimit.o
now:
668 192 0 860 35c net/netfilter/xt_limit.o
4793 344 32 5169 1431 net/netfilter/xt_hashlimit.o
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions