SUNRPC: Call the default socket callbacks instead of open coding
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 24 Jun 2016 14:55:48 +0000 (10:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 13 Jul 2016 19:53:45 +0000 (15:53 -0400)
commitfa9251afc33c81606d70cfe91800a779096442ec
tree225c60074ba34e6bfda178544f8cd54ca34326d4
parent069c225b88202c84bdbe18bed9e30e77924fdd0a
SUNRPC: Call the default socket callbacks instead of open coding

Rather than code up our own versions of the socket callbacks, just
call the defaults.
This also allows us to merge svc_udp_data_ready() and svc_tcp_data_ready().

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c