Re: [mpls-linux-devel] Question: Why do we need mpls_tunnel_list ?
Status: Beta
Brought to you by:
jleu
From: Ramon C. <cas...@in...> - 2004-02-09 15:58:21
|
On Mon, 9 Feb 2004, James R. Leu wrote: > mpls_tunnel_list was used to keep a small list of MPLS tunnels, so > removes and lookups would be faster. With the new "support for large > number of interfaces" code being added to 2.6.3, I think the value of > keeping this small list is minimal. In that case, I have submitted a new version for mpls_tunnel: * Removes mpls_tunnel_list * Removes unneded functions. * Fixes improper use of dev->mtu (call dev_set_mtu, so the notifications are sent) * Adds the SETMOI netlink link * Cleanups * Added __mpls_tunnel_create & __mpls_tunnel_destroy that can be called from a IOCTL callback a netlink callback, etc. I have tested them quite well (we are in feature freeze :P) but maybe you could take a look at it... the important part is that now we recognize a tunnel with dev->type == ARPHRD_MPLS_TUNNEL Regards, Ramon |