summaryrefslogtreecommitdiff
path: root/include/net/ping.h
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2013-02-15 22:28:25 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-02-18 17:29:52 (GMT)
commitdec34fb0f5b7873de45132a84a3af29e61084a6b (patch)
treec3ab8b7a8d57f59bf5810535c78ce5fbe13ae8eb /include/net/ping.h
parentc5c73dca596894c47760e4e955877b731ffabf57 (diff)
downloadlinux-dec34fb0f5b7873de45132a84a3af29e61084a6b.tar.xz
net: fix a compile error when SOCK_REFCNT_DEBUG is enabled
When SOCK_REFCNT_DEBUG is enabled, below build error is met: kernel/sysctl_binary.o: In function `sk_refcnt_debug_release': include/net/sock.h:1025: multiple definition of `sk_refcnt_debug_release' kernel/sysctl.o:include/net/sock.h:1025: first defined here kernel/audit.o: In function `sk_refcnt_debug_release': include/net/sock.h:1025: multiple definition of `sk_refcnt_debug_release' kernel/sysctl.o:include/net/sock.h:1025: first defined here make[1]: *** [kernel/built-in.o] Error 1 make: *** [kernel] Error 2 So we decide to make sk_refcnt_debug_release static to eliminate the error. Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ping.h')
0 files changed, 0 insertions, 0 deletions