diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 2f605b9e6b67..b966102b9f39 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -431,11 +431,6 @@ failure: | |||
431 | return err; | 431 | return err; |
432 | } | 432 | } |
433 | 433 | ||
434 | static inline int inet_iif(const struct sk_buff *skb) | ||
435 | { | ||
436 | return ((struct rtable *)skb->dst)->rt_iif; | ||
437 | } | ||
438 | |||
439 | /* | 434 | /* |
440 | * This routine does path mtu discovery as defined in RFC1191. | 435 | * This routine does path mtu discovery as defined in RFC1191. |
441 | */ | 436 | */ |
@@ -1993,6 +1988,7 @@ struct proto tcp_prot = { | |||
1993 | .get_port = tcp_v4_get_port, | 1988 | .get_port = tcp_v4_get_port, |
1994 | .enter_memory_pressure = tcp_enter_memory_pressure, | 1989 | .enter_memory_pressure = tcp_enter_memory_pressure, |
1995 | .sockets_allocated = &tcp_sockets_allocated, | 1990 | .sockets_allocated = &tcp_sockets_allocated, |
1991 | .orphan_count = &tcp_orphan_count, | ||
1996 | .memory_allocated = &tcp_memory_allocated, | 1992 | .memory_allocated = &tcp_memory_allocated, |
1997 | .memory_pressure = &tcp_memory_pressure, | 1993 | .memory_pressure = &tcp_memory_pressure, |
1998 | .sysctl_mem = sysctl_tcp_mem, | 1994 | .sysctl_mem = sysctl_tcp_mem, |