aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-04-14 09:56:04 +0200
committerPatrick McHardy <kaber@trash.net>2008-04-14 09:56:04 +0200
commitb9f61b160336da5eaaacb0cb41ebe32169e3bde5 (patch)
tree39f222526e2559acfca999f0cd40f10fe3fd136a /net/netfilter
parent[NETFILTER]: Use non-deprecated __RW_LOCK_UNLOCKED macro (diff)
downloadlinux-dev-b9f61b160336da5eaaacb0cb41ebe32169e3bde5.tar.xz
linux-dev-b9f61b160336da5eaaacb0cb41ebe32169e3bde5.zip
[NETFILTER]: xt_sctp: simplify xt_sctp.h
The use of xt_sctp.h flagged up -Wshadow warnings in userspace, which prompted me to look at it and clean it up. Basic operations have been directly replaced by library calls (memcpy, memset is both available in the kernel and userspace, and usually faster than a self-made loop). The is_set and is_clear functions now use a processing time shortcut, too. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions