tcp: Set read_sock and peek_len proto_ops
authorTom Herbert <tom@herbertland.com>
Sun, 28 Aug 2016 21:43:18 +0000 (14:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Aug 2016 03:32:41 +0000 (23:32 -0400)
commit3203558589a597e0a10a66b258fbc5a4a6659ed0
tree6de7c2a6beaa18df4f40bb081c7bffc51291ee4f
parent0294b625ad5a6d1fb50632d67cf384862d8a4a46
tcp: Set read_sock and peek_len proto_ops

In inet_stream_ops we set read_sock to tcp_read_sock and peek_len to
tcp_peek_len (which is just a stub function that calls tcp_inq).

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/af_inet.c
net/ipv4/tcp.c
net/ipv6/af_inet6.c