gcc-3.5: tcp_put_port() fix
Subsystems (3)
PATCH 17/18 gcc-3.5: tcp_put_port() fix
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(-)
include/net/tcp.h renamed from include/net/tcp.h~gcc-35-tcp_put_port-fix +1 -1
@@ -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 );
net/ipv4/tcp_ipv4.c renamed from net/ipv4/tcp_ipv4.c~gcc-35-tcp_put_port-fix +1 -1
@@ -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);
_