• Arnaldo Carvalho de Melo's avatar
    o af_netlink: netlink_proto_init has to be core_initcall · a145bd32
    Arnaldo Carvalho de Melo authored
    As it has to happen before pktsched_init, that is called from
    net_dev_init that is a subsys_initcall, making it the same
    init level as netlink_proto_init, that ends up being called
    _after_ net_dev_init, so when pktsched_init is called it finds
    rtnetlink_links[PF_UNSPEC] as null and therefore not sets
    the ->dumpit entry for RTM_GETQDISC (and the others too):
    b00m, rtnetlink_rcv sends a failure message to tc.
    a145bd32
af_netlink.c 23 KB