After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705606 - ERROR:platform/nm-linux-platform.c:687:init_ip6_route: assertion failed: (rtnl_route_get_nnexthops (rtnlroute) == 1)
ERROR:platform/nm-linux-platform.c:687:init_ip6_route: assertion failed: (rtn...
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
git master
Other Linux
: Normal major
: ---
Assigned To: Pavel Simerda
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-08-07 11:37 UTC by Jiri Pirko
Modified: 2013-08-13 21:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Ignore multi-hop routes to avoid any problems. (4.47 KB, patch)
2013-08-12 15:37 UTC, Pavel Simerda
none Details | Review

Description Jiri Pirko 2013-08-07 11:37:18 UTC
How to reproduce:

Set up machine with multiple eth devices put into one bridge (brx) and radvd with very simple config like this:
interface brx
{
        AdvSendAdvert on;
        prefix 2001:db8:1:2::/64 {
        };
};

Connect the eth devices 1:1 to another machine with NM. Run NM and you will get this error during NM startup.
Comment 1 Jiri Pirko 2013-08-08 11:45:37 UTC
This was resolved by:

commit b637c6a10136f65d86778e36f631636b09e7cc17
Author: Dan Williams <dcbw@redhat.com>
Date:   Wed Aug 7 14:47:22 2013 -0500

    platform: don't assert on multi-hop routes (rh #989022)
    
    It only matters that there's at least one next hop, not that there
    is only one.
Comment 2 Pavel Simerda 2013-08-12 15:01:12 UTC
I'm afraid the fix is incorrect as the assertion was there to avoid doing *anything* with routes unsupported by nm-platform (multihop routes in this case). The proper fix would either avoid calling init_ip6_route() with multi-hop routes or add support for multi-hop routes to nm-platform (which would be very tricky).
Comment 3 Pavel Simerda 2013-08-12 15:37:44 UTC
Created attachment 251383 [details] [review]
Ignore multi-hop routes to avoid any problems.