netfilter: factorize ifname_compare()
authorEric Dumazet <dada1@cosmosbay.com>
Wed, 25 Mar 2009 16:31:52 +0000 (17:31 +0100)
committerPatrick McHardy <kaber@trash.net>
Wed, 25 Mar 2009 16:31:52 +0000 (17:31 +0100)
commitb8dfe498775de912116f275680ddb57c8799d9ef
tree0472ffb18e0354deedc37bcab8c7d9bb4a2941bb
parent78f3648601fdc7a8166748bbd6d0555a88efa24a
netfilter: factorize ifname_compare()

We use same not trivial helper function in four places. We can factorize it.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/x_tables.h
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c
net/netfilter/xt_physdev.c