* [patch 17/18] gcc-3.5: tcp_put_port() fix
@ 2004-01-25 11:08 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2004-01-25 11:08 UTC (permalink / raw)
To: davem; +Cc: netdev
include/net/tcp.h:741: sorry, unimplemented: inlining failed in call to 'tcp_put_port': function body not available
net/ipv4/tcp_timer.c:1506: sorry, unimplemented: called from here
---
include/net/tcp.h | 2 +-
net/ipv4/tcp_ipv4.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -puN include/net/tcp.h~gcc-35-tcp_put_port-fix include/net/tcp.h
--- 25/include/net/tcp.h~gcc-35-tcp_put_port-fix 2004-01-17 14:37:33.000000000 -0800
+++ 25-akpm/include/net/tcp.h 2004-01-17 14:37:33.000000000 -0800
@@ -738,7 +738,7 @@ DECLARE_SNMP_STAT(struct tcp_mib, tcp_st
#define TCP_ADD_STATS_BH(field, val) SNMP_ADD_STATS_BH(tcp_statistics, field, val)
#define TCP_ADD_STATS_USER(field, val) SNMP_ADD_STATS_USER(tcp_statistics, field, val)
-extern inline void tcp_put_port(struct sock *sk);
+extern void tcp_put_port(struct sock *sk);
extern void tcp_inherit_port(struct sock *sk, struct sock *child);
extern void tcp_v4_err(struct sk_buff *skb, u32);
diff -puN net/ipv4/tcp_ipv4.c~gcc-35-tcp_put_port-fix net/ipv4/tcp_ipv4.c
--- 25/net/ipv4/tcp_ipv4.c~gcc-35-tcp_put_port-fix 2004-01-17 14:38:37.000000000 -0800
+++ 25-akpm/net/ipv4/tcp_ipv4.c 2004-01-17 14:38:50.000000000 -0800
@@ -313,7 +313,7 @@ static void __tcp_put_port(struct sock *
spin_unlock(&head->lock);
}
-inline void tcp_put_port(struct sock *sk)
+void tcp_put_port(struct sock *sk)
{
local_bh_disable();
__tcp_put_port(sk);
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-25 11:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-25 11:08 [patch 17/18] gcc-3.5: tcp_put_port() fix akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.