]> 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)
commit2c08d91e1ee71a2d1355ddec289cf945151bca89
tree225c60074ba34e6bfda178544f8cd54ca34326d4
parentfafae222ce65a061e279888a9e0364b1326add22
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