From: Jan Engelhardt Date: Mon, 14 Apr 2008 07:56:04 +0000 (+0200) Subject: [NETFILTER]: xt_sctp: simplify xt_sctp.h X-Git-Tag: v2.6.26-rc1~1138^2~89^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9f61b160336da5eaaacb0cb41ebe32169e3bde5;p=pandora-kernel.git [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 Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed