]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde5e4b9e6c685b5b4ed8e197bc42d4791cd765a3
tree225c60074ba34e6bfda178544f8cd54ca34326d4
parente0085b2c2142a408124bcbf768334b45c73dbcc8
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