tcp: heed result of security_inet_conn_request() in tcp_v6_conn_request()
authorNeal Cardwell <ncardwell@google.com>
Sat, 23 Jun 2012 19:22:00 +0000 (19:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:05:19 +0000 (16:05 -0700)
commit437c5b53f63b468996090200df66ef2f3f588c80
tree528d2146edf14e848fa39d7f5861119e91ce4d20
parentfa809e2fd6e317226c046202a88520962672eac0
tcp: heed result of security_inet_conn_request() in tcp_v6_conn_request()

If security_inet_conn_request() returns non-zero then TCP/IPv6 should
drop the request, just as in TCP/IPv4 and DCCP in both IPv4 and IPv6.

Signed-off-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c