aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcsock.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-04SUNRPC: Fix a slow server-side memory leak with RPC-over-TCPChuck Lever1-9/+1
2024-01-17SUNRPC: use request size to initialize bio_vec in svc_udp_sendto()Lucas Stach1-2/+2
2024-01-07SUNRPC: remove printk when back channel request not foundDai Ngo1-12/+2
2023-08-31Merge tag 'nfsd-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-72/+59
2023-08-29SUNRPC: Reduce thread wake-up rate when receiving large RPC messagesChuck Lever1-1/+11
2023-08-29SUNRPC: Revert e0a912e8ddbaChuck Lever1-6/+0
2023-08-29SUNRPC: Convert svc_udp_sendto() to use the per-socket bio_vec arrayChuck Lever1-11/+13
2023-08-29SUNRPC: Send RPC message on TCP with a single sock_sendmsg() callChuck Lever1-15/+18
2023-08-29SUNRPC: Convert svc_tcp_sendmsg to use bio_vecs directlyChuck Lever1-44/+20
2023-08-29SUNRPC: Fix the recent bv_offset fixChuck Lever1-1/+3
2023-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2023-08-14sunrpc: set the bv_offset of first bvec in svc_tcp_sendmsgJeff Layton1-0/+3
2023-07-28SUNRPC: Use new helpers to handle TLS AlertsChuck Lever1-22/+25
2023-07-28SUNRPC: Send TLS Closure alerts before closing a TCP socketChuck Lever1-0/+2
2023-07-28net/tls: Move TLS protocol elements to a separate headerChuck Lever1-0/+1
2023-06-28Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-26/+12
2023-06-12sunrpc: Use sendmsg(MSG_SPLICE_PAGES) rather then sendpageDavid Howells1-26/+12
2023-06-05SUNRPC: Trace struct svc_sock lifetime eventsChuck Lever1-1/+3
2023-06-05SUNRPC: Improve observability in svc_tcp_accept()Chuck Lever1-7/+2
2023-06-05SUNRPC: Fix an incorrect commentChuck Lever1-1/+1
2023-06-05SUNRPC: Fix UAF in svc_tcp_listen_data_ready()Ding Hui1-12/+11
2023-05-31nfsd: fix double fget() bug in __write_ports_addfd()Dan Carpenter1-18/+6
2023-05-14SUNRPC: always free ctxt when freeing deferred requestNeilBrown1-14/+16
2023-05-05SUNRPC: Fix error handling in svc_setup_socket()Chuck Lever1-12/+4
2023-04-27SUNRPC: Support TLS handshake in the server-side TCP socket codeChuck Lever1-3/+98
2023-04-27SUNRPC: Recognize control messages in server-side TCP socket codeChuck Lever1-2/+46
2023-04-26SUNRPC: Ensure server-side sockets have a sock->fileChuck Lever1-7/+18
2023-02-22Merge tag 'nfsd-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-2/+2
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+5
2023-02-20SUNRPC: Remove ->xpo_secure_port()Chuck Lever1-2/+2
2023-02-03sunrpc: use bvec_set_page to initialize bvecsChristoph Hellwig1-5/+2
2023-01-23net/sock: Introduce trace_sk_data_ready()Peilin Ye1-0/+5
2023-01-10Merge tag 'nfsd-6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-4/+4
2023-01-06Revert "SUNRPC: Use RMW bitops in single-threaded hot paths"Chuck Lever1-4/+4
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-05-26Merge tag 'nfsd-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-15/+4
2022-05-23SUNRPC: Use RMW bitops in single-threaded hot pathsChuck Lever1-4/+4
2022-05-19SUNRPC: Remove svc_rqst::rq_xprt_hlenChuck Lever1-2/+0
2022-05-19SUNRPC: Remove dead code in svc_tcp_release_rqst()Chuck Lever1-9/+0
2022-04-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-4/+9
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-1/+1
2022-04-07SUNRPC: Move the call to xprt_send_pagedata() out of xprt_sock_sendmsg()Trond Myklebust1-3/+6
2022-04-07SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec()Trond Myklebust1-1/+3
2021-04-22SUNRPC: fix ternary sign expansion bug in tracingDan Carpenter1-1/+1
2021-03-22SUNRPC: Move svc_xprt_received() call sitesChuck Lever1-2/+7
2021-03-22svcrdma: Add a "deferred close" helperChuck Lever1-9/+6
2021-02-16SUNRPC: Further clean up svc_tcp_sendmsg()Chuck Lever1-8/+7
2021-02-16SUNRPC: Remove redundant socket flags from svc_tcp_sendmsg()Trond Myklebust1-9/+3
2021-02-16SUNRPC: Use TCP_CORK to optimise send performance on the serverTrond Myklebust1-1/+7
2021-02-01SUNRPC: Fix NFS READs that start at non-page-aligned offsetsChuck Lever1-3/+4
2020-12-18SUNRPC: Handle TCP socket sends with kernel_sendpage() againChuck Lever1-1/+85
2020-11-30SUNRPC: Rename svc_encode_read_payload()Chuck Lever1-4/+4
2020-09-21SUNRPC: Fix svc_flush_dcache()Chuck Lever1-1/+1
2020-08-04Merge tag 'uninit-macro-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-2/+2
2020-06-29SUNRPC: Add missing definition of ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGEChristophe Leroy1-0/+1
2020-06-11Merge tag 'nfsd-5.8' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-195/+205
2020-05-28ipv6: add ip6_sock_set_recvpktinfoChristoph Hellwig1-8/+2
2020-05-28ipv6: add ip6_sock_set_v6onlyChristoph Hellwig1-5/+1
2020-05-28ipv4: add ip_sock_set_pktinfoChristoph Hellwig1-3/+2
2020-05-28net: add sock_no_lingerChristoph Hellwig1-10/+2
2020-05-20SUNRPC: Restructure svc_udp_recvfrom()Chuck Lever1-25/+35
2020-05-20SUNRPC: Refactor svc_recvfrom()Chuck Lever1-41/+68
2020-05-20SUNRPC: Clean up svc_release_skb() functionsChuck Lever1-8/+15
2020-05-20SUNRPC: Refactor recvfrom path dealing with incomplete TCP receivesChuck Lever1-20/+19
2020-05-20SUNRPC: Replace dprintk() call sites in TCP receive pathChuck Lever1-14/+2
2020-05-18SUNRPC: Restructure svc_tcp_recv_record()Chuck Lever1-26/+25
2020-05-18SUNRPC: Rename svc_sock::sk_reclenChuck Lever1-3/+3
2020-05-18SUNRPC: Replace dprintk call sites in TCP state change calloutsChuck Lever1-29/+6
2020-05-18SUNRPC: Add more svcsock tracepointsChuck Lever1-20/+10
2020-05-18SUNRPC: Remove "#include <trace/events/skb.h>"Chuck Lever1-1/+0
2020-05-18SUNRPC: Trace a few more generic svc_xprt eventsChuck Lever1-12/+0
2020-05-18SUNRPC: Move xpt_mutex into socket xpo_sendto methodsChuck Lever1-0/+25
2020-04-17svcrdma: Fix leak of svc_rdma_recv_ctxt objectsChuck Lever1-0/+4
2020-03-16SUNRPC: Teach server to use xprt_sock_sendmsg for socket sendsChuck Lever1-137/+62
2020-03-16SUNRPC: Refactor xs_sendpages()Chuck Lever1-0/+1
2020-03-16nfsd: Fix NFSv4 READ on RDMA when using readvChuck Lever1-0/+8
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-24SUNRPC: Cache the process user cred in the RPC server listenerTrond Myklebust1-1/+3
2019-02-21svcrpc: fix UDP on servers with lots of threadsJ. Bruce Fields1-10/+10
2019-01-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+1
2019-01-01sock: Make sock->sk_stamp thread-safeDeepa Dinamani1-1/+1
2018-12-27sunrpc: remove unused xpo_prep_reply_hdr callbackVasily Averin1-17/+0
2018-12-27sunrpc: remove svc_tcp_bc_classVasily Averin1-101/+0
2018-12-27sunrpc: replace svc_serv->sv_bc_xprt by boolean flagVasily Averin1-2/+0
2018-12-27sunrpc: use-after-free in svc_process_common()Vasily Averin1-1/+1
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-1/+1
2018-11-01Merge tag 'nfs-for-4.20-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsAl Viro1-3/+3
2018-10-30Merge tag 'nfsd-4.20' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-39/+14
2018-10-29SUNRPC: Simplify TCP receive codeTrond Myklebust1-39/+14
2018-10-24iov_iter: Separate type from direction and use accessor functionsDavid Howells1-1/+1
2018-09-30SUNRPC: Rename xprt->recv_lock to xprt->queue_lockTrond Myklebust1-3/+3
2018-04-05Merge tag 'nfsd-4.17' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-2/+6
2018-04-03sunrpc: Save remote presentation address in svc_xprt for trace eventsChuck Lever1-0/+1
2018-04-03svc: Simplify ->xpo_secure_portChuck Lever1-2/+5
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-5/+8
2018-02-08Merge tag 'nfsd-4.16' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-14/+0
2018-02-05sunrpc: remove dead code in svc_sock_setbufsizeChristoph Hellwig1-14/+0
2017-12-02svc_recvfrom(): switch to sock_recvmsg()Al Viro1-2/+2
2017-09-11Merge tag 'nfs-for-4.14-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-3/+3
2017-09-05merge nfsd 4.13 bugfixes into nfsd for-4.14 branchJ. Bruce Fields1-2/+20
2017-08-24sunrpc: Const-ify instances of struct svc_xprt_opsChuck Lever1-3/+3
2017-08-24net: sunrpc: svcsock: fix NULL-pointer exceptionVadim Lomovtsev1-2/+20
2017-08-18SUNRPC: Add a separate spinlock to protect the RPC request receive listTrond Myklebust1-3/+3
2017-03-09SUNRPC/backchanel: set XPT_CONG_CTRL flag for bc xprtKinglong Mee1-0/+1
2017-02-28Merge tag 'nfsd-4.11' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-0/+1
2017-02-27lib/vsprintf.c: remove %Z supportAlexey Dobriyan1-2/+2
2017-02-24sunrpc: flag transports as having congestion controlJeff Layton1-0/+1
2016-12-25ktime: Get rid of the unionThomas Gleixner1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+21
2016-11-14sunrpc: svc_age_temp_xprts_now should not call setsockopt non-tcp transportsScott Mayhew1-0/+21
2016-11-07udp: do fwd memory scheduling on dequeuePaolo Abeni1-1/+1
2016-10-22udp: use it's own memory accounting schemaPaolo Abeni1-4/+16
2016-08-01SUNRPC: Detect immediate closure of accepted socketsTrond Myklebust1-2/+5
2016-08-01SUNRPC: accept() may return sockets that are still in SYN_RECVTrond Myklebust1-3/+10
2016-07-13SUNRPC: Change TCP socket space reservationTrond Myklebust1-43/+4
2016-07-13SUNRPC: Micro optimisation for svc_data_readyTrond Myklebust1-2/+2
2016-07-13SUNRPC: Call the default socket callbacks instead of open codingTrond Myklebust1-69/+19
2016-07-13SUNRPC: lock the socket while detaching itTrond Myklebust1-0/+3
2016-04-13sock: tigthen lockdep checks for sock_owned_by_userHannes Frederic Sowa1-2/+1
2016-04-11sunrpc: do not pull udp headers on receiveWillem de Bruijn1-3/+2
2015-11-10svcrpc: document lack of some memory barriersJ. Bruce Fields1-6/+31
2015-11-10SUNRPC: drop stale comment in svc_setup_socket()Stefan Hajnoczi1-1/+0
2015-10-23SUNRPC: Use MSG_SENDPAGE_NOTLAST when calling sendpage()Trond Myklebust1-1/+1
2015-04-11get rid of the size argument of sock_sendmsg()Al Viro1-1/+1
2014-12-09sunrpc: move rq_local field to rq_flagsJeff Layton1-1/+4
2014-11-19SUNRPC: Fix locking around callback channel reply receiveTrond Myklebust1-11/+16
2014-08-28sunrpc: fix byte-swapping of displayed XIDChuck Lever1-1/+1
2014-08-17SUNRPC: Optimise away svc_recv_availableTrond Myklebust1-17/+6
2014-07-29SUNRPC: Allow svc_reserve() to notify TCP socket that space has been freedTrond Myklebust1-0/+9
2014-07-29SUNRPC: svc_tcp_write_space: don't clear SOCK_NOSPACE prematurelyTrond Myklebust1-18/+21
2014-07-18svcrdma: Select NFSv4.1 backchannel transport based on forward channelChuck Lever1-0/+2
2014-05-30SUNRPC/NFSD: Remove using of dprintk with KERN_WARNINGKinglong Mee1-2/+1
2014-05-22SUNRPC: track whether a request is coming from a loop-back interface.NeilBrown1-0/+5
2014-05-22NFSD: Ignore client's source port on RDMA transportsChuck Lever1-0/+9
2014-04-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-6/+6
2014-04-11net: Fix use after free by removing length arg from sk_data_ready callbacks.David S. Miller1-6/+6
2014-03-31nfsd: check passed socket's net matches NFSd superblock's oneStanislav Kinsbursky1-0/+16
2013-10-09net: fix build errors if ipv6 is disabledEric Dumazet1-0/+2
2013-10-09ipv6: make lookups simpler and fasterEric Dumazet1-1/+1
2013-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2013-08-01NFSD/sunrpc: avoid deadlock on TCP connection due to memory pressure.NeilBrown1-1/+3
2013-07-24net: add sk_stream_is_writeable() helperEric Dumazet1-1/+1
2013-07-01svcrpc: don't error out on small tcp fragmentJ. Bruce Fields1-1/+1
2013-07-01svcrpc: fix handling of too-short rpc'sJ. Bruce Fields1-2/+7
2013-01-31ipv6: rename datagram_send_ctl and datagram_recv_ctlTom Parkin1-1/+1
2012-12-20Merge branch 'for-3.8' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-48/+50
2012-12-17nfsd4: cleanup: replace rq_resused count by rq_next_page pointerJ. Bruce Fields1-0/+2
2012-12-17svcrpc: fix some printksJ. Bruce Fields1-4/+4
2012-12-04svcrpc: support multiple-fragment rpc'sJ. Bruce Fields1-25/+25
2012-12-04svcrpc: track rpc data length separately from sk_tcplenJ. Bruce Fields1-7/+12
2012-12-04svcrpc: fix off-by-4 error in "incomplete TCP record" dprintkJ. Bruce Fields1-1/+2
2012-12-04svcrpc: delay minimum-rpc-size check till laterJ. Bruce Fields1-9/+7
2012-12-04svcrpc: don't byte-swap sk_reclen in placeJ. Bruce Fields1-15/+11
2012-11-04SUNRPC: remove BUG_ONs from *_reclassify_socket*Weston Andros Adamson1-1/+5
2012-09-10nfsd: remove unused listener-removal interfacesJ. Bruce Fields1-51/+0
2012-08-21svcrpc: make xpo_recvfrom return only >=0J. Bruce Fields1-3/+3
2012-08-21svcrpc: don't bother checking bad svc_addr_len resultJ. Bruce Fields1-2/+0
2012-08-21svcrpc: minor udp code cleanupJ. Bruce Fields1-4/+5
2012-08-21svcrpc: share some setup of listening socketsJ. Bruce Fields1-5/+1
2012-08-21svcrpc: clean up control flowJ. Bruce Fields1-35/+34
2012-08-21svcrpc: standardize svc_setup_socket return conventionJ. Bruce Fields1-18/+22
2012-08-20svcrpc: fix BUG() in svc_tcp_clear_pagesJ. Bruce Fields1-1/+1
2012-06-27net: skb_free_datagram_locked() doesnt drop all packetsEric Dumazet1-6/+6
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-18/+10
2012-04-21sock: Introduce named constants for sk_reusePavel Emelyanov1-1/+1
2012-03-26Merge nfs containerization work from Trond's treeJ. Bruce Fields1-2/+3
2012-03-11SUNRPC: Fix a few sparse warningsTrond Myklebust1-1/+1
2012-02-03SUNPRC: remove marking service temporary sockets with XPT_CHNGBUFStanislav Kinsbursky1-2/+0
2012-01-31SUNRPC: fixup for namespace changesTrond Myklebust1-1/+1
2012-01-31SUNRPC: pass network namespace to service registering routinesStanislav Kinsbursky1-1/+2
2012-01-14Merge branch 'for-3.3' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-3/+5
2011-12-06SUNRPC: create svc_xprt in proper network namespaceStanislav Kinsbursky1-3/+5
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan1-2/+2
2011-10-31net: Fix files explicitly needing to include module.hPaul Gortmaker1-0/+1
2011-09-14SUNRPC: Replace svc_addr_u by sockaddr_storageMi Jinlong1-6/+17
2011-07-27Merge branch 'nfs-for-3.1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-7/+7
2011-07-15svcsock.c: include sunrpc.h to quiet sparse noiseH Hartley Sweeten1-0/+2
2011-07-15SUNRPC: sunrpc should not explicitly depend on NFS config optionsTrond Myklebust1-7/+7
2011-04-10svcrpc: complete svsk processing on cb receive failureJ. Bruce Fields1-4/+3
2011-04-07svcrpc: take advantage of tcp autotuningOlga Kornievskaia1-28/+7
2011-04-07SUNRPC: Don't wait for full record to receive tcp dataJ. Bruce Fields1-32/+112
2011-04-07svcrpc: copy cb reply instead of pagesTrond Myklebust1-66/+56
2011-04-07svcrpc: close connection if client sends short packetJ. Bruce Fields1-14/+7
2011-04-07svcrpc: note network-order types in svc_process_calldirJ. Bruce Fields1-3/+3
2011-04-07SUNRPC: svc_tcp_recvfrom cleanupTrond Myklebust1-19/+15
2011-04-07SUNRPC: requeue tcp socket less frequentlyTrond Myklebust1-1/+4
2011-02-22net: add __rcu annotations to sk_wq and wqEric Dumazet1-12/+20
2011-01-25NFS do not find client in NFSv4 pg_authenticateAndy Adamson1-3/+1
2011-01-14Merge branch 'for-2.6.38' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-8/+12
2011-01-11rpc: move sk_bc_xprt to svc_xprtJ. Bruce Fields1-4/+6
2011-01-06NFS rename client back channel transport fieldAndy Adamson1-1/+1
2011-01-06NFS associate sessionid with callback connectionAndy Adamson1-1/+3
2011-01-06SUNRPC register and unregister the back channel transportAndy Adamson1-0/+20
2011-01-06SUNRPC new transport for the NFSv4.1 shared back channelAndy Adamson1-20/+62
2010-12-17sunrpc: svc_sock_names should hold ref to socket being closed.NeilBrown1-4/+6
2010-10-25svcrpc: svc_tcp_sendto XPT_DEAD check is redundantJ. Bruce Fields1-3/+0
2010-10-19sunrpc: Turn list_for_each-s into the ..._entry-sPavel Emelyanov1-9/+3
2010-10-01sunrpc: Create sockets in net namespacesPavel Emelyanov1-1/+1