Hi all,
I have just built a 2.6.7-uml kernel with the latest MPLS patch
found on Sourceforge applied.
I have enabled the following options:
CONFIG_MPLS
CONFIG_MPLS_TUNNEL
CONFIG_IP_MPLS
CONFIG_IPV6
I didn't check "IPv6: MPLS Support" (CONFIG_INET6_MPLS)
When the kernel starts, it crashes in the mpls_add_reserved_labels
function (mpls_ilm.c), on this line:
ipv6_explicit_null.u.dst.input = ipv6_explicit_null.ilm_proto->local_deliver;
The "ilm_proto" field is set before by:
ipv6_explicit_null.ilm_proto = mpls_get_prot(AF_INET6);
but if CONFIG_INET6_MPLS is not set, mpls_get_prot returns NULL.
Maybe it could be necessary to check that the "ilm_protot" field is
correctly set before doing anything else ?
The same problem occurs if CONFIG_IP_MPLS is disabled.
Regards,
--
Christophe Fillot (cf...@ut...) | Universite de Technologie de Compiegne
Tel: (+33) 03.44.23.79.02 | Service Informatique - Equipe Reseaux
GSM: (+33) 06.70.50.24.55 | Centre de Recherche de Royallieu
Fax: (+33) 03.44.23.46.77 | http://www.utc.fr
|