1 diff -urN ipset-6.8.orig/kernel/net/netfilter/ipset/ip_set_hash_netiface.c ipset-6.8/kernel/net/netfilter/ipset/ip_set_hash_netiface.c
2 --- ipset-6.8.orig/kernel/net/netfilter/ipset/ip_set_hash_netiface.c 2011-07-08 10:13:53.000000000 +0200
3 +++ ipset-6.8/kernel/net/netfilter/ipset/ip_set_hash_netiface.c 2011-08-13 09:58:01.456999822 +0200
6 ifname_compare(const char *_a, const char *_b)
8 - const long *a = (const long *)_a;
9 - const long *b = (const long *)_b;
11 - BUILD_BUG_ON(IFNAMSIZ > 4 * sizeof(unsigned long));
14 - if (IFNAMSIZ > sizeof(long)) {
18 - if (IFNAMSIZ > 2 * sizeof(long)) {
22 - if (IFNAMSIZ > 3 * sizeof(long)) {
27 + return strcmp(_a, _b);