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>
This commit is contained in:
Eric Dumazet 2009-03-25 17:31:52 +01:00 • committed by Patrick McHardy
commit b8dfe49877
5 changed files with 30 additions and 74 deletions