dccp: use inet6_csk_route_req() helper
authorEric Dumazet <edumazet@google.com>
Tue, 29 Sep 2015 14:42:42 +0000 (07:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 23:53:08 +0000 (16:53 -0700)
commitf76b33c32b1913dd8909d8509f2726b1661aa6b1
tree6b2d005f324ed9aefdd446e533702d3c1484eba7
parent72ab4a86f7a260d4c2a320b49662da107ce77a81
dccp: use inet6_csk_route_req() helper

Before changing dccp_v6_request_recv_sock() sock argument
to const, we need to get rid of security_sk_classify_flow(),
and it seems doable by reusing inet6_csk_route_req() helper.

We need to add a proto parameter to inet6_csk_route_req(),
not assume it is TCP.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet6_connection_sock.h
net/dccp/ipv6.c
net/ipv6/inet6_connection_sock.c
net/ipv6/tcp_ipv6.c