ipv6: statically link register_inet6addr_notifier()
authorCong Wang <amwang@redhat.com>
Sun, 14 Apr 2013 15:18:43 +0000 (23:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Apr 2013 19:24:17 +0000 (15:24 -0400)
commitf88c91ddba958e9a5dd4a5ee8c52a0faa790f586
tree768a7f6c5fa6bffa41fd1602cb21f6b455d8eb48
parent2e0cbf2cc2c9371f0aa198857d799175ffe231a6
ipv6: statically link register_inet6addr_notifier()

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: Tomas 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: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/addrconf.h
net/ipv6/addrconf.c
net/ipv6/addrconf_core.c