]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_physdev: unfold two loops in physdev_mt()
authorEric Dumazet <dada1@cosmosbay.com>
Thu, 19 Feb 2009 10:17:17 +0000 (11:17 +0100)
committerPatrick McHardy <kaber@trash.net>
Thu, 19 Feb 2009 10:17:17 +0000 (11:17 +0100)
commit04a7d52c5ef2a5b4acd6666344a46eec1ccf1e43
tree52124f837c720697ee3999ad29a09113a76e02c6
parent57545b26bb0b17e322fb09bcbde1a708395c6b5c
netfilter: xt_physdev: unfold two loops in physdev_mt()

xt_physdev 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/netfilter/xt_physdev.c