aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
AgeCommit message (Expand)AuthorFilesLines
11 daysMerge tag 'nfs-for-6.9-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-0/+1
2024-04-04SUNRPC: add a missing rpc_stat for TCP TLSOlga Kornievskaia1-0/+1
2024-03-16Merge tag 'nfs-for-6.9-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-1/+22
2024-03-01SUNRPC: Remove stale commentsChuck Lever1-9/+0
2024-02-28SUNRPC: Add a transport callback to handle dequeuing of an RPC requestTrond Myklebust1-0/+13
2024-02-28SUNRPC: Don't retry using the same source port if connection failedTrond Myklebust1-1/+9
2023-10-22SUNRPC: Force close the socket when a hard error is reportedTrond Myklebust1-9/+5
2023-09-27SUNRPC/TLS: Lock the lower_xprt during the tls handshakeAnna Schumaker1-0/+6
2023-08-31Merge tag 'nfs-for-6.6-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-15/+40
2023-08-24SUNRPC: Allow specification of TCP client connect timeout at setupTrond Myklebust1-2/+5
2023-08-24SUNRPC: Refactor and simplify connect timeoutTrond Myklebust1-13/+21
2023-08-24SUNRPC: Set the TCP_SYNCNT to match the socket timeoutTrond Myklebust1-0/+14
2023-07-28SUNRPC: Use new helpers to handle TLS AlertsChuck Lever1-19/+23
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-19SUNRPC: Add a TCP-with-TLS RPC transport classChuck Lever1-0/+370
2023-06-19SUNRPC: Capture CMSG metadata on client-side receiveChuck Lever1-2/+47
2023-06-19SUNRPC: Ignore data_ready callbacks during TLS handshakesChuck Lever1-0/+6
2023-06-19SUNRPC: support abstract unix socket addressesNeilBrown1-2/+7
2023-04-11sunrpc: simplify one-level sysctl registration for xs_tunables_tableLuis Chamberlain1-11/+2
2023-03-23SUNRPC: fix shutdown of NFS TCP client socketSiddharth Kawar1-0/+1
2023-01-23net/sock: Introduce trace_sk_data_ready()Peilin Ye1-0/+3
2022-12-19Treewide: Stop corrupting socket's task_fragBenjamin Coddington1-0/+3
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-3/+3
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-3/+3
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-10-06SUNRPC: Fix races with rpc_killall_tasks()Trond Myklebust1-2/+1
2022-10-03SUNRPC: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-07-27SUNRPC: Don't reuse bvec on retransmission of the requestTrond Myklebust1-10/+2
2022-07-23SUNRPC: Replace dprintk() call site in xs_data_readyChuck Lever1-2/+4
2022-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+31
2022-04-29Revert "SUNRPC: attempt AF_LOCAL connect on setup"Trond Myklebust1-3/+0
2022-04-29SUNRPC: Ensure timely close of disconnected AF_LOCAL socketsTrond Myklebust1-0/+21
2022-04-28SUNRPC: Don't leak sockets in xs_local_connect()Trond Myklebust1-1/+10
2022-04-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-6/+27
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-2/+13
2022-04-07SUNRPC: Ensure we flush any closed sockets before xs_xprt_free()Trond Myklebust1-3/+13
2022-03-29SUNRPC: handle malloc failure in ->request_prepareNeilBrown1-2/+2
2022-03-25SUNRPC: Do not dereference non-socket transports in sysfsTrond Myklebust1-2/+24
2022-03-22SUNRPC: Make the rpciod and xprtiod slab allocation modes consistentTrond Myklebust1-5/+6
2022-03-22SUNRPC: Improve accuracy of socket ENOBUFS determinationTrond Myklebust1-35/+18
2022-03-22SUNRPC: Replace internal use of SOCKWQ_ASYNC_NOSPACETrond Myklebust1-18/+4
2022-03-22SUNRPC: Fix socket waits for write buffer spaceTrond Myklebust1-15/+39
2022-03-22SUNRPC: Only save the TCP source port after the connection is completeTrond Myklebust1-2/+3
2022-03-22SUNRPC: Don't call connect() more than once on a TCP socketTrond Myklebust1-10/+12
2022-03-13SUNRPC: change locking for xs_swap_enable/disableNeilBrown1-15/+11
2022-03-13SUNRPC: improve 'swap' handling: scheduling and PF_MEMALLOCNeilBrown1-0/+8
2022-02-08SUNRPC: lock against ->sock changing during sysfs readNeilBrown1-1/+6
2022-01-06SUNRPC: clean up some inconsistent indentingJiapeng Chong1-1/+1
2021-11-22SUNRPC: use different lock keys for INET6 and LOCALNeilBrown1-5/+5
2021-11-04SUNRPC: Prevent immediate close+reconnectTrond Myklebust1-1/+1
2021-11-04SUNRPC: Fix races when closing the socketTrond Myklebust1-0/+1
2021-11-01SUNRPC: Clean up xs_tcp_setup_sock()Trond Myklebust1-40/+28
2021-11-01SUNRPC: Replace use of socket sk_callback_lock with sock_lockTrond Myklebust1-27/+11
2021-09-04Merge tag 'nfs-for-5.15-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-4/+11
2021-08-27SUNRPC: Tweak TCP socket shutdown in the RPC clientTrond Myklebust1-3/+6
2021-08-27SUNRPC: Simplify socket shutdown when not reusing TCP portsTrond Myklebust1-0/+4
2021-08-16params: lift param_set_uint_minmax to common codeSagi Grimberg1-18/+0
2021-08-09sunrpc: Fix return value of get_srcport()Anna Schumaker1-1/+1
2021-07-08Merge part 2 of branch 'sysfs-devel'Trond Myklebust1-0/+7
2021-07-08Merge branch 'sysfs-devel'Trond Myklebust1-0/+9
2021-07-08SUNRPC query transport's source portOlga Kornievskaia1-0/+7
2021-07-08sunrpc: keep track of the xprt_class in rpc_xprt structureOlga Kornievskaia1-0/+9
2021-06-21SUNRPC: prevent port reuse on transports which don't request it.NeilBrown1-1/+2
2021-05-20SUNRPC: Fix Oops in xs_tcp_send_request() when transport is disconnectedTrond Myklebust1-0/+2
2021-04-05SUNRPC: Ensure the transport backchannel associationBenjamin Coddington1-0/+4
2021-04-05SUNRPC: Set TCP_CORK until the transmit queue is emptyTrond Myklebust1-1/+4
2021-02-01SUNRPC: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2021-02-01net: sunrpc: xprtsock.c: Corrected few spellings ,in commentsBhaskar Chowdhury1-5/+5
2021-02-01SUNRPC: correct error code comment in xs_tcp_setup_socket()Calum Mackay1-4/+2
2020-12-14sunrpc: fix xs_read_xdr_buf for partial pages receiveDan Aloni1-1/+2
2020-12-02SUNRPC: xprt_load_transport() needs to support the netid "rdma6"Trond Myklebust1-0/+4
2020-09-21SUNRPC: Replace dprintk() call site in xs_nospace()Chuck Lever1-4/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-4/+4
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-5/+5
2020-06-11Merge tag 'nfsd-5.8' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-2/+10
2020-05-28ipv6: add ip6_sock_set_addr_preferencesChristoph Hellwig1-3/+4
2020-05-28tcp: add tcp_sock_set_keepcntChristoph Hellwig1-2/+1
2020-05-28tcp: add tcp_sock_set_keepintvlChristoph Hellwig1-2/+1
2020-05-28tcp: add tcp_sock_set_keepidleChristoph Hellwig1-2/+1
2020-05-28tcp: add tcp_sock_set_user_timeoutChristoph Hellwig1-2/+1
2020-05-28net: add sock_set_reuseportChristoph Hellwig1-16/+1
2020-05-28net: add sock_set_keepaliveChristoph Hellwig1-3/+1
2020-05-18SUNRPC: Move xpt_mutex into socket xpo_sendto methodsChuck Lever1-2/+10
2020-04-17SUNRPC: Fix backchannel RPC soft lockupsChuck Lever1-0/+1
2020-04-07Merge tag 'nfs-for-5.7-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-1/+1
2020-03-16SUNRPC: Teach server to use xprt_sock_sendmsg for socket sendsChuck Lever1-30/+9
2020-03-16SUNRPC: Refactor xs_sendpages()Chuck Lever1-129/+20
2020-03-16SUNRPC: remove redundant assignments to variable statusColin Ian King1-1/+1
2019-12-07Merge tag 'nfsd-5.5' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-1/+2
2019-11-21SUNRPC: Fix backchannel latency metricsChuck Lever1-1/+2
2019-11-03NFSv4.1: Don't rebind to the same source port when reconnecting to the serverTrond Myklebust1-1/+1
2019-10-10SUNRPC: fix race to sk_err after xs_error_reportBenjamin Coddington1-9/+8
2019-09-17SUNRPC: Don't receive TCP data into a request buffer that has been resetTrond Myklebust1-1/+7
2019-07-18SUNRPC: Ensure the bvecs are reset when we re-encode the RPC requestTrond Myklebust1-0/+1
2019-07-18SUNRPC: Fix up backchannel slot table accountingTrond Myklebust1-0/+1
2019-07-12Merge tag 'nfs-rdma-for-5.3-1' of git://git.linux-nfs.org/projects/anna/linux...Trond Myklebust1-21/+2
2019-07-09xprtrdma: Modernize ops->connectChuck Lever1-21/+2
2019-07-06SUNRPC: Remove the bh-safe lock requirement on xprt->transport_lockTrond Myklebust1-12/+11
2019-07-06SUNRPC: Replace direct task wakeups from softirq contextTrond Myklebust1-6/+72
2019-06-28SUNRPC: Fix up calculation of client message lengthTrond Myklebust1-8/+8
2019-04-25SUNRPC: Add tracking of RPC level errorsTrond Myklebust1-0/+1
2019-04-25SUNRPC: Refactor xprt_request_wait_receive()Trond Myklebust1-4/+4
2019-03-26SUNRPC: fix uninitialized variable warningAlakesh Haloi1-2/+2
2019-03-15SUNRPC: Fix a client regression when handling oversized repliesTrond Myklebust1-1/+1
2019-03-02SUNRPC: Convert remaining GFP_NOIO, and GFP_NOWAIT sites in sunrpcTrond Myklebust1-2/+2
2019-02-26SUNRPC: Fix an Oops in udp_poll()Trond Myklebust1-2/+19
2019-02-25Merge tag 'nfs-rdma-for-5.1-1' of git://git.linux-nfs.org/projects/anna/linux...Trond Myklebust1-32/+67
2019-02-20SUNRPC: Remove the redundant 'zerocopy' argument to xs_sendpages()Trond Myklebust1-12/+4
2019-02-20SUNRPC: Further cleanups of xs_sendpages()Trond Myklebust1-10/+1
2019-02-20SUNRPC: Convert socket page send code to use iov_iter()Trond Myklebust1-36/+13
2019-02-20SUNRPC: Convert xs_send_kvec() to use iov_iter_kvec()Trond Myklebust1-15/+23
2019-02-20SUNRPC: Initiate a connection close on an ESHUTDOWN error in stream receiveTrond Myklebust1-1/+4
2019-02-20SUNRPC: Don't suppress socket errors when a message read completesTrond Myklebust1-5/+2
2019-02-20SUNRPC: Handle zero length fragments correctlyTrond Myklebust1-14/+29
2019-02-20SUNRPC: Don't reset the stream record info when the receive worker is runningTrond Myklebust1-3/+9
2019-02-20SUNRPC: Ensure rq_bytes_sent is reset before request transmissionTrond Myklebust1-2/+0
2019-02-20SUNRPC: Use poll() to fix up the socket requeue racesTrond Myklebust1-2/+24
2019-02-20SUNRPC: Set memalloc_nofs_save() on all rpciod/xprtiod jobsTrond Myklebust1-3/+7
2019-02-13SUNRPC: Remove rpc_xprt::tsh_sizeChuck Lever1-31/+60
2019-01-08SUNRPC: Fix TCP receive code on archs with flush_dcache_page()Trond Myklebust1-0/+22
2019-01-02Merge tag 'nfs-for-4.21-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-8/+2
2019-01-02Merge tag 'nfsd-4.21' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-12/+0
2019-01-02SUNRPC: Fix some kernel doc complaintsChuck Lever1-0/+2
2018-12-27sunrpc: remove unused bc_up operation from rpc_xprt_opsVasily Averin1-12/+0
2018-12-19SUNRPC: allow /proc entries without CONFIG_SUNRPC_DEBUGBen Dooks1-8/+0
2018-12-18SUNRPC: Fix a race with XPRT_CONNECTINGTrond Myklebust1-2/+2
2018-12-18SUNRPC: Fix disconnection racesTrond Myklebust1-4/+2
2018-12-05SUNRPC: Don't force a redundant disconnection in xs_read_stream()Trond Myklebust1-7/+1
2018-12-05SUNRPC: Fix up socket pollingTrond Myklebust1-2/+2
2018-12-05SUNRPC: Use the discard iterator rather than MSG_TRUNCTrond Myklebust1-2/+3
2018-12-05SUNRPC: Treat EFAULT as a truncated message in xs_read_stream_request()Trond Myklebust1-1/+2
2018-12-05SUNRPC: Fix up handling of the XDRBUF_SPARSE_PAGES flagTrond Myklebust1-11/+11
2018-12-05SUNRPC: Fix RPC receive hangsTrond Myklebust1-20/+19
2018-11-01missing bits of "iov_iter: Separate type from direction and use accessor func...Al Viro1-2/+2
2018-10-18Merge tag 'nfs-rdma-for-4.20-1' of git://git.linux-nfs.org/projects/anna/linu...Trond Myklebust1-2/+8
2018-10-18sunrpc: safely reallow resvport min/max inversionJ. Bruce Fields1-16/+18
2018-10-02sunrpc: Report connect_time in secondsChuck Lever1-2/+2
2018-10-02sunrpc: Fix connect metricsChuck Lever1-4/+6
2018-09-30SUNRPC: Clean up xs_udp_data_receive()Trond Myklebust1-12/+5
2018-09-30SUNRPC: Allow AF_LOCAL sockets to use the generic stream receiveTrond Myklebust1-121/+16
2018-09-30SUNRPC: Clean up - rename xs_tcp_data_receive() to xs_stream_data_receive()Trond Myklebust1-41/+30
2018-09-30SUNRPC: Simplify TCP receive code by switching to using iteratorsTrond Myklebust1-364/+333
2018-09-30SUNRPC: Cleanup: remove the unused 'task' argument from the request_send()Trond Myklebust1-7/+4
2018-09-30SUNRPC: Clean up transport write space handlingTrond Myklebust1-22/+11
2018-09-30SUNRPC: Turn off throttling of RPC slots for TCP socketsTrond Myklebust1-1/+1
2018-09-30SUNRPC: Support for congestion control when queuing is enabledTrond Myklebust1-0/+4
2018-09-30SUNRPC: Treat the task and request as separate in the xprt_ops->send_request()Trond Myklebust1-14/+13
2018-09-30SUNRPC: Rename xprt->recv_lock to xprt->queue_lockTrond Myklebust1-15/+15
2018-09-30SUNRPC: Simplify dealing with aborted partially transmitted messagesTrond Myklebust1-26/+25
2018-09-30SUNRPC: Add socket transmit queue offset trackingTrond Myklebust1-18/+22
2018-09-30SUNRPC: Move reset of TCP state variables into the reconnect codeTrond Myklebust1-7/+6
2018-09-30SUNRPC: Rename TCP receive-specific state variablesTrond Myklebust1-89/+89
2018-07-31sunrpc: whitespace fixesStephen Hemminger1-1/+0
2018-05-07SUNRPC: Add a ->free_slot transport calloutChuck Lever1-0/+4
2018-04-12Merge tag 'nfs-for-4.17-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-0/+4
2018-04-10SUNRPC: Make RTT measurement more precise (Send)Chuck Lever1-0/+3
2018-04-10SUNRPC: Move xprt_update_rtt callsiteChuck Lever1-0/+1
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-2/+1
2018-02-09SUNRPC: Don't call __UDPX_INC_STATS() from a preemptible contextTrond Myklebust1-2/+2
2018-02-05SUNRPC: Ensure we always close the socket after a connection shuts downTrond Myklebust1-13/+10
2018-01-14SUNRPC: Add explicit rescheduling points in the receive pathTrond Myklebust1-2/+19
2018-01-14SUNRPC: Chunk reading of replies from the serverTrond Myklebust1-4/+11
2017-12-01Merge tag 'nfs-for-4.15-2' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-0/+2
2017-11-30SUNRPC: Handle ENETDOWN errorsTrond Myklebust1-0/+1
2017-11-29SUNRPC: Allow connect to return EHOSTUNREACHTrond Myklebust1-0/+1
2017-11-17Merge tag 'nfs-for-4.15-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-0/+4
2017-11-17net: sunrpc: mark expected switch fall-throughsGustavo A. R. Silva1-0/+4
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-01sunrpc: remove redundant initialization of sockColin Ian King1-1/+1
2017-09-05Merge tag 'nfs-rdma-for-4.14-1' of git://git.linux-nfs.org/projects/anna/linu...Trond Myklebust1-4/+4
2017-08-18SUNRPC: Add a separate spinlock to protect the RPC request receive listTrond Myklebust1-14/+16
2017-08-16SUNRPC: Cleanup xs_tcp_read_common()Trond Myklebust1-17/+8
2017-08-16SUNRPC: Don't loop forever in xs_tcp_data_receive()Trond Myklebust1-6/+7
2017-08-16SUNRPC: Don't hold the transport lock when receiving backchannel dataTrond Myklebust1-4/+1
2017-08-16SUNRPC: Don't hold the transport lock across socket copy operationsTrond Myklebust1-5/+18
2017-08-01sunrpc: Const-ify all instances of struct rpc_xprt_opsChuck Lever1-4/+4
2017-07-21net/sunrpc/xprt_sock: fix regression in connection error reporting.NeilBrown1-0/+2
2017-05-31SUNRPC: ensure correct error is reported by xs_tcp_setup_socket()NeilBrown1-1/+6
2017-03-01Merge tag 'nfs-for-4.11-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-20/+74
2017-02-27lib/vsprintf.c: remove %Z supportAlexey Dobriyan1-4/+4
2017-02-21sunrpc: silence uninitialized variable warningDan Carpenter1-1/+3
2017-02-10sunrpc: Allow xprt->ops->timer method to sleepChuck Lever1-0/+2
2017-02-09SUNRPC: Allow changing of the TCP timeout parameters on the flyTrond Myklebust1-4/+47
2017-02-09SUNRPC: Refactor TCP socket timeout code into a helper functionTrond Myklebust1-19/+26
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2016-11-07udp: do fwd memory scheduling on dequeuePaolo Abeni1-1/+1
2016-10-28sunrpc: fix some missing rq_rbuffer assignmentsJeff Layton1-0/+1
2016-10-22udp: use it's own memory accounting schemaPaolo Abeni1-1/+1
2016-09-19sunrpc: fix write space race causing stallsDavid Vrabel1-1/+10
2016-09-19SUNRPC: Generalize the RPC buffer release APIChuck Lever1-4/+2
2016-09-19SUNRPC: Generalize the RPC buffer allocation APIChuck Lever1-6/+11
2016-09-03sunrpc: fix UDP memory accountingPaolo Abeni1-1/+1
2016-08-05SUNRPC: Limit the reconnect backoff timer to the max RPC message timeoutTrond Myklebust1-6/+12
2016-08-05SUNRPC: Fix reconnection timeoutsTrond Myklebust1-7/+20
2016-08-05SUNRPC: disable the use of IPv6 temporary addresses.NeilBrown1-0/+11
2016-08-01SUNRPC: Handle EADDRNOTAVAIL on connection failuresTrond Myklebust1-0/+4