diff options
author | Eric Dumazet <edumazet@google.com> | 2015-03-22 18:22:24 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-23 21:52:26 +0100 |
commit | 85645bab57bfc6b0b43bb96a301c4ef83925c07d (patch) | |
tree | adc831565f5f8e0bb666f087cf656b2b18d48f4b /net/dccp/dccp.h | |
parent | ipv6: tcp: handle ICMP messages on TCP_NEW_SYN_RECV request sockets (diff) | |
download | linux-85645bab57bfc6b0b43bb96a301c4ef83925c07d.tar.xz linux-85645bab57bfc6b0b43bb96a301c4ef83925c07d.zip |
ipv4: dccp: handle ICMP messages on DCCP_NEW_SYN_RECV request sockets
dccp_v4_err() can restrict lookups to ehash table, and not to listeners.
Note this patch creates the infrastructure, but this means that ICMP
messages for request sockets are ignored until complete conversion.
New dccp_req_err() helper is exported so that we can use it in IPv6
in following patch.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index 2396f50c5b04..bebc735f5afc 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h @@ -317,6 +317,7 @@ int inet_dccp_listen(struct socket *sock, int backlog); unsigned int dccp_poll(struct file *file, struct socket *sock, poll_table *wait); int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len); +void dccp_req_err(struct sock *sk, u64 seq); struct sk_buff *dccp_ctl_make_reset(struct sock *sk, struct sk_buff *skb); int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code); |