You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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>
This commit is contained in:
committed by
David S. Miller
parent
55b01e8681
commit
34cc7ba639
@@ -14,8 +14,6 @@
|
||||
/* capable of receiving packets */
|
||||
#define IP6_TNL_F_CAP_RCV 0x20000
|
||||
|
||||
#define IP6_TNL_MAX 128
|
||||
|
||||
/* IPv6 tunnel */
|
||||
|
||||
struct ip6_tnl {
|
||||
|
||||
Reference in New Issue
Block a user