diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-02-23 20:19:20 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-23 20:19:20 -0800 |
commit | 34cc7ba6398203aab4056917fa1e2aa5988487aa (patch) | |
tree | 40fc152c1d9722ca70154bd6d989694fff526280 /net/bridge/netfilter/ebt_dnat.c | |
parent | 55b01e8681cba392ccda4ff6184054d38968115d (diff) | |
download | op-kernel-dev-34cc7ba6398203aab4056917fa1e2aa5988487aa.zip op-kernel-dev-34cc7ba6398203aab4056917fa1e2aa5988487aa.tar.gz |
[IP_TUNNEL]: Don't limit the number of tunnels with generic name explicitly.
Use the added dev_alloc_name() call to create tunnel device name,
rather than iterate in a hand-made loop with an artificial limit.
Thanks Patrick for noticing this.
[ The way this works is, when the device is actually registered,
the generic code noticed the '%' in the name and invokes
dev_alloc_name() to fully resolve the name. -DaveM ]
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/netfilter/ebt_dnat.c')
0 files changed, 0 insertions, 0 deletions