#define TCP_DEC_STATS(field) SNMP_DEC_STATS(tcp_statistics, field)
extern 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);
/* Get rid of any references to a local port held by the
* given sock.
*/
-__inline__ void __tcp_put_port(struct sock *sk)
+static void __tcp_put_port(struct sock *sk)
{
struct inet_opt *inet = inet_sk(sk);
struct tcp_bind_hashbucket *head = &tcp_bhash[tcp_bhashfn(inet->num)];
spin_unlock(&head->lock);
}
-void tcp_put_port(struct sock *sk)
+__inline__ void tcp_put_port(struct sock *sk)
{
local_bh_disable();
__tcp_put_port(sk);