]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IP_TUNNEL]: Don't limit the number of tunnels with generic name explicitly.
authorPavel Emelyanov <xemul@openvz.org>
Sun, 24 Feb 2008 04:19:20 +0000 (20:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Feb 2008 04:19:20 +0000 (20:19 -0800)
commit34cc7ba6398203aab4056917fa1e2aa5988487aa
tree40fc152c1d9722ca70154bd6d989694fff526280
parent55b01e8681cba392ccda4ff6184054d38968115d
[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>
include/net/ip6_tunnel.h
net/ipv4/ip_gre.c
net/ipv4/ipip.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c