• Cong Wang's avatar
    ipv6: statically link register_inet6addr_notifier() · f88c91dd
    Cong Wang authored
    Tomas reported the following build error:
    
    net/built-in.o: In function `ieee80211_unregister_hw':
    (.text+0x10f0e1): undefined reference to `unregister_inet6addr_notifier'
    net/built-in.o: In function `ieee80211_register_hw':
    (.text+0x10f610): undefined reference to `register_inet6addr_notifier'
    make: *** [vmlinux] Error 1
    
    when built IPv6 as a module.
    
    So we have to statically link these symbols.
    Reported-by: default avatarTomas Melin <tomas.melin@iki.fi>
    Cc: Tomas Melin <tomas.melin@iki.fi>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: YOSHIFUJI Hidaki <yoshfuji@linux-ipv6.org>
    Signed-off-by: default avatarCong Wang <amwang@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f88c91dd
addrconf.c 118 KB