summaryrefslogtreecommitdiffstats
path: root/include/net/strparser.h
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2016-08-28 23:43:19 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-29 05:32:41 +0200
commit96a59083478d1ea66684c59c073424a9d4e6ac6d (patch)
tree09a988530d4c5e17bf47f16f2c624bc93ac14018 /include/net/strparser.h
parenttcp: Set read_sock and peek_len proto_ops (diff)
downloadlinux-96a59083478d1ea66684c59c073424a9d4e6ac6d.tar.xz
linux-96a59083478d1ea66684c59c073424a9d4e6ac6d.zip
kcm: Remove TCP specific references from kcm and strparser
kcm and strparser need to work with any type of stream socket not just TCP. Eliminate references to TCP and call generic proto_ops functions of read_sock and peek_len. Also in strp_init check if the socket support the proto_ops read_sock and peek_len. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/strparser.h')
-rw-r--r--include/net/strparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/strparser.h b/include/net/strparser.h
index 91fa0b958426..0c28ad97c52f 100644
--- a/include/net/strparser.h
+++ b/include/net/strparser.h
@@ -137,6 +137,6 @@ void strp_stop(struct strparser *strp);
void strp_check_rcv(struct strparser *strp);
int strp_init(struct strparser *strp, struct sock *csk,
struct strp_callbacks *cb);
-void strp_tcp_data_ready(struct strparser *strp);
+void strp_data_ready(struct strparser *strp);
#endif /* __NET_STRPARSER_H_ */