diff options
author | Tom Herbert <tom@herbertland.com> | 2016-08-28 23:43:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-29 05:32:41 +0200 |
commit | 0294b625ad5a6d1fb50632d67cf384862d8a4a46 (patch) | |
tree | 2807436d5a82ed273a11b0706e81fce6899f1fe8 /include/net/tcp.h | |
parent | net: ethernet: ti: cpsw: fix error return code in cpsw_set_channels() (diff) | |
download | linux-0294b625ad5a6d1fb50632d67cf384862d8a4a46.tar.xz linux-0294b625ad5a6d1fb50632d67cf384862d8a4a46.zip |
net: Add read_sock proto_op
Add new function in proto_ops structure. This includes moving the
typedef got sk_read_actor into net.h and removing the definition from
tcp.h.
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 25d64f6de69e..d56666ad9249 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -603,8 +603,6 @@ static inline int tcp_bound_to_half_wnd(struct tcp_sock *tp, int pktsize) void tcp_get_info(struct sock *, struct tcp_info *); /* Read 'sendfile()'-style from a TCP socket */ -typedef int (*sk_read_actor_t)(read_descriptor_t *, struct sk_buff *, - unsigned int, size_t); int tcp_read_sock(struct sock *sk, read_descriptor_t *desc, sk_read_actor_t recv_actor); |