aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2020-06-23 15:31:13 -0700
committerDavid S. Miller <davem@davemloft.net>2020-06-23 20:10:15 -0700
commit9b9e2f250e3e6f59ad07e6d03838c27a100e0042 (patch)
tree96f430fc60e62f27758f7946deb43573d97bc903 /include/net/tcp.h
parenttcp: move ipv6_specific declaration to remove a warning (diff)
downloadlinux-dev-9b9e2f250e3e6f59ad07e6d03838c27a100e0042.tar.xz
linux-dev-9b9e2f250e3e6f59ad07e6d03838c27a100e0042.zip
tcp: move ipv4_specific to tcp include file
Declare ipv4_specific once, in tcp.h were it belongs. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index e6920ae0765c..b0f0f93c681c 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -907,6 +907,8 @@ static inline void tcp_skb_bpf_redirect_clear(struct sk_buff *skb)
TCP_SKB_CB(skb)->bpf.sk_redir = NULL;
}
+extern const struct inet_connection_sock_af_ops ipv4_specific;
+
#if IS_ENABLED(CONFIG_IPV6)
/* This is the variant of inet6_iif() that must be used by TCP,
* as TCP moves IP6CB into a different location in skb->cb[]