OSDN Git Service

netfilter: ip6_tables: unfold two loops in ip6_packet_match()
authorEric Dumazet <dada1@cosmosbay.com>
Thu, 19 Feb 2009 10:18:23 +0000 (11:18 +0100)
committerPatrick McHardy <kaber@trash.net>
Thu, 19 Feb 2009 10:18:23 +0000 (11:18 +0100)
commit323dbf96382f057d035afce0237f08e18571ac1d
tree0860d31738f6522c40ae2f4b70cec32f38749de2
parenteacc17fb64f03b6c268aaf6cea320100d19d8af5
netfilter: ip6_tables: unfold two loops in ip6_packet_match()

ip6_tables netfilter module can use an ifname_compare() helper
so that two loops are unfolded.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv6/netfilter/ip6_tables.c