[ICSK]: Generalise tcp_listen_{start,stop}
[deliverable/linux.git] / net / ipv4 / tcp_ipv4.c
index 2f605b9e6b679db1a456239aa70e46a6ff19fa15..b966102b9f3962be4094336afa5170d0db175262 100644 (file)
@@ -431,11 +431,6 @@ failure:
        return err;
 }
 
-static inline int inet_iif(const struct sk_buff *skb)
-{
-       return ((struct rtable *)skb->dst)->rt_iif;
-}
-
 /*
  * This routine does path mtu discovery as defined in RFC1191.
  */
@@ -1993,6 +1988,7 @@ struct proto tcp_prot = {
        .get_port               = tcp_v4_get_port,
        .enter_memory_pressure  = tcp_enter_memory_pressure,
        .sockets_allocated      = &tcp_sockets_allocated,
+       .orphan_count           = &tcp_orphan_count,
        .memory_allocated       = &tcp_memory_allocated,
        .memory_pressure        = &tcp_memory_pressure,
        .sysctl_mem             = sysctl_tcp_mem,
This page took 0.025309 seconds and 5 git commands to generate.