netfilter: xt_TEE: resolve oif using netdevice notifiers
authorPatrick McHardy <kaber@trash.net>
Tue, 20 Apr 2010 13:07:32 +0000 (15:07 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 20 Apr 2010 13:07:32 +0000 (15:07 +0200)
commit22265a5c3c103cf8c50be62e6c90d045eb649e6d
tree01d74ee1435a9d0cdcabd75848e5fbe14bb6d40d
parent5b775eb1c04c2ef33f5e17035e368214214ef9c2
netfilter: xt_TEE: resolve oif using netdevice notifiers

Replace the runtime oif name resolving by netdevice notifier based
resolving. When an oif is given, a netdevice notifier is registered
to resolve the name on NETDEV_REGISTER or NETDEV_CHANGE and unresolve
it again on NETDEV_UNREGISTER or NETDEV_CHANGE to a different name.

Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter/xt_TEE.h
net/netfilter/xt_TEE.c