aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
AgeCommit message (Expand)AuthorFilesLines
2016-08-01SUNRPC: Handle EADDRNOTAVAIL on connection failuresTrond Myklebust1-0/+4
2016-07-24Merge branch 'sunrpc'Trond Myklebust1-48/+65
2016-07-19sunrpc: Prevent resvport min/max inversion via sysfs and module parameterFrank Sorenson1-1/+5
2016-07-19sunrpc: Prevent resvport min/max inversion via sysctlFrank Sorenson1-2/+2
2016-07-19sunrpc: Fix reserved port range calculationFrank Sorenson1-1/+1
2016-06-15rpc: share one xps between all backchannelsJ. Bruce Fields1-0/+1
2016-06-13SUNRPC: Fix suspicious enobufs issues.Trond Myklebust1-6/+25
2016-06-13SUNRPC: RPC transport queue must be low latencyTrond Myklebust1-3/+3
2016-06-13SUNRPC: Consolidate xs_tcp_data_ready and xs_data_readyTrond Myklebust1-31/+7
2016-06-13SUNRPC: Small optimisation of client receiveTrond Myklebust1-11/+33
2016-05-26Merge tag 'nfs-for-4.7-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-0/+6
2016-05-17sunrpc: Advertise maximum backchannel payload sizeChuck Lever1-0/+6
2016-05-13sunrpc: set SOCK_FASYNCEric Dumazet1-0/+3
2016-04-27net: udp: rename UDP_INC_STATS_BH()Eric Dumazet1-2/+2
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
2016-02-05SUNRPC: Use the multipath iterator to assign a transport to each taskTrond Myklebust1-3/+1
2016-01-07Merge branch 'bugfixes'Trond Myklebust1-28/+21
2016-01-06SUNRPC: Fixup socket wait for memoryTrond Myklebust1-28/+21
2015-12-28SUNRPC: drop unused xs_reclassify_socketX() helpersStefan Hajnoczi1-13/+1
2015-12-01net: rename SOCK_ASYNC_NOSPACE and SOCK_ASYNC_WAITDATAEric Dumazet1-7/+7
2015-11-03SUNRPC: fix variable typeAndrzej Hajda1-1/+1
2015-11-02Merge tag 'nfs-rdma-4.4-2' of git://git.linux-nfs.org/projects/anna/nfs-rdmaTrond Myklebust1-0/+17
2015-11-02NFS: Enable client side NFSv4.1 backchannel to use other transportsChuck Lever1-0/+12
2015-11-02SUNRPC: Abstract backchannel operationsChuck Lever1-0/+5
2015-10-08SUNRPC: Use MSG_SENDPAGE_NOTLAST in xs_send_pagedata()Trond Myklebust1-1/+3
2015-10-08SUNRPC: Move AF_LOCAL receive data path into a workqueue contextTrond Myklebust1-30/+42
2015-10-08SUNRPC: Move UDP receive data path into a workqueue contextTrond Myklebust1-23/+61
2015-10-08SUNRPC: Move TCP receive data path into a workqueue contextTrond Myklebust1-15/+36
2015-10-08SUNRPC: Refactor TCP receiveTrond Myklebust1-15/+29
2015-09-19SUNRPC: xs_sock_mark_closed() does not need to trigger socket autocloseTrond Myklebust1-1/+0
2015-09-17SUNRPC: Ensure that we wait for connections to complete before retryingTrond Myklebust1-3/+8
2015-09-17SUNRPC: Fix races between socket connection and destroy codeTrond Myklebust1-0/+3
2015-08-29SUNRPC: Prevent SYN+SYNACK+RST stormsTrond Myklebust1-0/+2
2015-08-29SUNRPC: xs_reset_transport must mark the connection as disconnectedTrond Myklebust1-0/+1
2015-08-19SUNRPC: Allow sockets to do GFP_NOIO allocationsTrond Myklebust1-3/+3
2015-08-17SUNRPC: Fix a thinko in xs_connect()Trond Myklebust1-4/+5
2015-07-28Merge tag 'nfs-for-4.2-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-8/+17
2015-07-27SUNRPC: Report TCP errors to the callerTrond Myklebust1-7/+6
2015-07-27sunrpc: translate -EAGAIN to -ENOBUFS when socket is writable.NeilBrown1-0/+9
2015-07-03SUNRPC: Don't confuse ENOBUFS with a write_space issueTrond Myklebust1-1/+2
2015-07-02Merge tag 'nfs-for-4.2-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-43/+108
2015-06-20SUNRPC: Set the TCP user timeout option on client socketsTrond Myklebust1-0/+7
2015-06-19SUNRPC: Ensure we release the TCP socket once it has been closedTrond Myklebust1-18/+22
2015-06-10SUNRPC: Transport fault injectionChuck Lever1-0/+10
2015-06-10sunrpc: turn swapper_enable/disable functions into rpc_xprt_opsJeff Layton1-6/+25
2015-06-10sunrpc: lock xprt before trying to set memalloc on the socketsJeff Layton1-8/+27
2015-06-10sunrpc: if we're closing down a socket, clear memalloc on it firstJeff Layton1-0/+3
2015-06-10sunrpc: make xprt->swapper an atomic_tJeff Layton1-13/+25
2015-06-10sunrpc: keep a count of swapfiles associated with the rpc_clntJeff Layton1-2/+1
2015-06-02SUNRPC: drop stale doc comments in xprtsock.cStefan Hajnoczi1-8/+0
2015-05-28kernel/params: constify struct kernel_param_ops usesLuis R. Rodriguez1-3/+3
2015-02-10SUNRPC: Cleanup to remove xs_tcp_close()Trond Myklebust1-6/+1
2015-02-09SUNRPC: Fix stupid typo in xs_sock_set_reuseportTrond Myklebust1-2/+3
2015-02-09SUNRPC: Define xs_tcp_fin_timeout only if CONFIG_SUNRPC_DEBUGTrond Myklebust1-2/+2
2015-02-09SUNRPC: Handle connection reset more efficiently.Trond Myklebust1-16/+18
2015-02-09SUNRPC: Remove the redundant XPRT_CONNECTION_CLOSE flagTrond Myklebust1-1/+0
2015-02-09SUNRPC: Make xs_tcp_close() do a socket shutdown rather than a sock_releaseTrond Myklebust1-5/+1
2015-02-09SUNRPC: Ensure xs_tcp_shutdown() requests a full close of the connectionTrond Myklebust1-2/+2
2015-02-09SUNRPC: Cleanup to remove remaining uses of XPRT_CONNECTION_ABORTTrond Myklebust1-3/+0
2015-02-09SUNRPC: Remove TCP socket linger codeTrond Myklebust1-35/+0
2015-02-08SUNRPC: Remove TCP client connection reset hackTrond Myklebust1-66/+1
2015-02-08SUNRPC: TCP/UDP always close the old socket before reconnectingTrond Myklebust1-2/+3
2015-02-08SUNRPC: Add helpers to prevent socket create from racingTrond Myklebust1-2/+5
2015-02-08SUNRPC: Ensure xs_reset_transport() resets the close connection flagsTrond Myklebust1-16/+13
2015-02-08SUNRPC: Do not clear the source port in xs_reset_transportTrond Myklebust1-2/+0
2015-02-08SUNRPC: Handle EADDRINUSE on connectTrond Myklebust1-0/+2
2015-02-08SUNRPC: Set SO_REUSEPORT socket option for TCP connectionsTrond Myklebust1-4/+49
2014-11-24sunrpc: eliminate RPC_DEBUGJeff Layton1-4/+4
2014-11-24sunrpc: add tracepoints in xs_tcp_data_recvJeff Layton1-59/+2
2014-11-24sunrpc: add new tracepoints in xprt handling codeJeff Layton1-1/+7
2014-09-25NFS/SUNRPC: Remove other deadlock-avoidance mechanisms in nfs_release_page()NeilBrown1-10/+0
2014-09-24rpc: Add -EPERM processing for xs_udp_send_request()Jason Baron1-0/+6
2014-09-24rpc: return sent and err from xs_sendpages()Jason Baron1-39/+42
2014-09-24SUNRPC: Don't wake tasks during connection abortBenjamin Coddington1-0/+4
2014-09-10rpc: xs_bind - do not bind when requesting a random ephemeral portChris Perl1-2/+18
2014-07-12replace strict_strto callsDaniel Walter1-2/+2
2014-06-30SUNRPC: Ensure that we handle ENOBUFS errors correctly.Trond Myklebust1-0/+5
2014-06-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-3/+0
2014-05-23sunrpc: Remove sk_no_check settingTom Herbert1-3/+0
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-8/+8
2014-04-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-4/+4
2014-04-11net: Fix use after free by removing length arg from sk_data_ready callbacks.David S. Miller1-4/+4
2014-04-08Merge branch 'for-3.15' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-17/+17
2014-03-30SUNRPC: Clear xpt_bc_xprt if xs_setup_bc_tcp failedKinglong Mee1-0/+2
2014-03-30NFSD/SUNRPC: Check rpc_xprt out of xs_setup_bc_tcpKinglong Mee1-9/+0
2014-03-30NFSD: Free backchannel xprt in bc_destroyKinglong Mee1-0/+4
2014-03-28SUNRPC: fix memory leak of peer addresses in XPRTKinglong Mee1-8/+11
2014-02-11SUNRPC: RPC callbacks may be split across several TCP segmentsTrond Myklebust1-20/+8
2014-02-11SUNRPC: Fix races in xs_nospace()Trond Myklebust1-1/+5
2014-01-30Merge branch 'for-3.14' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-4/+3
2014-01-28Merge tag 'nfs-for-3.14-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-5/+37
2014-01-14net: replace macros net_random and net_srandom with direct calls to prandomAruna-Hewapathirane1-1/+1
2013-12-31SUNRPC: Add tracepoint for socket errorsTrond Myklebust1-0/+1
2013-12-31SUNRPC: Report connection error values to rpc_tasks on the pending queueTrond Myklebust1-5/+36
2013-12-10sunrpc: fix some typosWeng Meiling1-4/+3
2013-11-08SUNRPC: Fix a data corruption issue when retransmitting RPC callsTrond Myklebust1-7/+21
2013-10-31SUNRPC: Cleanup xs_destroy()Trond Myklebust1-10/+5
2013-10-31SUNRPC: close a rare race in xs_tcp_setup_socket.NeilBrown1-4/+9
2013-10-28sunrpc: comment typo fixJ. Bruce Fields1-2/+2
2013-10-01SUNRPC: Only update the TCP connect cookie on a successful connectTrond Myklebust1-1/+1
2013-10-01SUNRPC: Enable the keepalive option for TCP socketsTrond Myklebust1-0/+13
2013-09-09Merge tag 'nfs-for-3.12-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-1/+12
2013-09-04SUNRPC: Add tracepoints to help debug socket connection issuesTrond Myklebust1-1/+12
2013-07-24net: add sk_stream_is_writeable() helperEric Dumazet1-1/+1
2013-07-11Merge branch 'for-3.11' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-1/+0
2013-06-13net: Convert uses of typedef ctl_table to struct ctl_tableJoe Perches1-2/+2
2013-05-15sunrpc: server back channel needs no rpcbind methodJ. Bruce Fields1-1/+0
2013-04-26SUNRPC: attempt AF_LOCAL connect on setupJ. Bruce Fields1-0/+3
2013-04-26Merge Trond's nfs-for-nextJ. Bruce Fields1-5/+9
2013-04-14SUNRPC: Allow rpc_create() to request that TCP slots be unlimitedTrond Myklebust1-1/+5
2013-03-25SUNRPC: Report network/connection errors correctly for SOFTCONN rpc tasksTrond Myklebust1-4/+4
2013-03-09sunrpc: don't attempt to cancel unitialized workJ. Bruce Fields1-5/+10
2013-02-28Merge branch 'for-3.9' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-8/+27
2013-02-28SUNRPC: make AF_LOCAL connect synchronousJ. Bruce Fields1-8/+27
2013-02-05sunrpc: move address copy/cmp/convert routines and prototypes from clnt.h to ...Jeff Layton1-0/+1
2013-02-01SUNRPC: Pass pointers to struct rpc_xprt to the congestion windowTrond Myklebust1-3/+3
2013-02-01SUNRPC: Fix an RCU dereference in xs_local_rpcbindTrond Myklebust1-1/+3
2013-02-01SUNRPC: Pass a pointer to struct rpc_xprt to the connect callbackTrond Myklebust1-2/+2
2013-02-01SUNRPC: Eliminate task->tk_xprt accesses that bypass rcu_dereference()Trond Myklebust1-1/+1
2012-12-15SUNRPC: variable 'svsk' is unused in function bc_send_requestTrond Myklebust1-2/+0
2012-12-15SUNRPC: Handle ECONNREFUSED in xs_local_setup_socketTrond Myklebust1-0/+4
2012-11-04SUNRPC: remove BUG_ON from bc_mallocWeston Andros Adamson1-2/+4
2012-11-04SUNRPC: remove BUG_ONs from *_reclassify_socket*Weston Andros Adamson1-3/+4
2012-10-24SUNRPC: Get rid of the xs_error_report socket callbackTrond Myklebust1-25/+0
2012-10-24SUNRPC: Prevent races in xs_abort_connection()Trond Myklebust1-5/+8
2012-10-24Revert "SUNRPC: Ensure we close the socket on EPIPE errors too..."Trond Myklebust1-1/+1
2012-10-24SUNRPC: Clear the connect flag when socket state is TCP_CLOSE_WAITTrond Myklebust1-0/+1
2012-09-28SUNRPC: Get rid of the redundant xprt->shutdown bit fieldTrond Myklebust1-18/+0
2012-09-25SUNRPC: Set alloc_slot for backchannel tcp opsBryan Schumaker1-0/+1
2012-09-19SUNRPC: Ensure that the TCP socket is closed when in CLOSE_WAITTrond Myklebust1-5/+16
2012-09-07SUNRPC: Fix a UDP transport regressionTrond Myklebust1-0/+3
2012-07-31Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-0/+43
2012-07-31Merge tag 'nfs-for-3.6-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-0/+10
2012-07-31nfs: enable swap on NFSMel Gorman1-0/+43
2012-07-30nfs: skip commit in releasepage if we're freeing memory for fs-related reasonsJeff Layton1-0/+10
2012-07-05sunrpc: Don't do a dst_confirm() on an input routes.David S. Miller1-3/+0
2012-03-26sunrpc: skip portmap calls on sessions backchannelJ. Bruce Fields1-0/+1
2012-03-11SUNRPC: Fix a few sparse warningsTrond Myklebust1-5/+5
2012-02-16SUNRPC: add sending,pending queue and max slot to xprt statsAndy Adamson1-6/+17
2011-11-22SUNRPC: Ensure we return EAGAIN in xs_nospace if congestion is clearedTrond Myklebust1-2/+1
2011-11-10SUNRPC: destroy freshly allocated transport in case of sockaddr init errorStanislav Kinsbursky1-1/+3
2011-07-17SUNRPC: Support dynamic slot allocation for TCP connectionsTrond Myklebust1-7/+42
2011-07-17SUNRPC: Ensure that we grab the XPRT_LOCK before calling xprt_alloc_slotTrond Myklebust1-0/+2
2011-07-15SUNRPC: sunrpc should not explicitly depend on NFS config optionsTrond Myklebust1-3/+3
2011-05-27SUNRPC: Support for RPC over AF_LOCAL transportsChuck Lever1-3/+392
2011-05-27SUNRPC: Rename xs_encode_tcp_fragment_header()Chuck Lever1-12/+12
2011-05-27SUNRPC: Deal with the lack of a SYN_SENT sk->sk_state_change callback...Trond Myklebust1-3/+13
2011-03-31Fix common misspellingsLucas De Marchi1-2/+2
2011-03-22SUNRPC: Never reuse the socket port after an xs_close()Trond Myklebust1-0/+2
2011-03-10sunrpc: Propagate errors from xs_bind() through xs_create_sock()Ben Hutchings1-1/+2
2011-01-14Merge branch 'for-2.6.38' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-10/+24
2011-01-11rpc: allow xprt_class->setup to return a preexisting xprtJ. Bruce Fields1-9/+9
2011-01-11rpc: keep backchannel xprt as long as server connectionJ. Bruce Fields1-10/+24
2011-01-11rpc: move sk_bc_xprt to svc_xprtJ. Bruce Fields1-1/+1
2010-12-15workqueue: convert cancel_rearming_delayed_work[queue]() users to cancel_dela...Tejun Heo1-1/+1
2010-10-26Merge branch 'for-2.6.37' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-235/+123
2010-10-21SUNRPC: Properly initialize sock_xprt.srcaddr in all casesChuck Lever1-1/+32
2010-10-21SUNRPC: Use conventional switch statement when reclassifying socketsChuck Lever1-3/+7
2010-10-19sunrpc: Remove dead "else" branch from bc xprt creationPavel Emelyanov1-9/+4
2010-10-19sunrpc: Remove UDP worker wrappersPavel Emelyanov1-34/+7
2010-10-19sunrpc: Remove TCP worker wrappersPavel Emelyanov1-32/+7
2010-10-19sunrpc: Pass family to setup_socket callsPavel Emelyanov1-24/+8
2010-10-19sunrpc: Merge xs_create_sock codePavel Emelyanov1-25/+24
2010-10-19sunrpc: Merge the xs_bind codePavel Emelyanov1-47/+19
2010-10-19sunrpc: Call xs_create_sockX directly from setup_socketPavel Emelyanov1-32/+8
2010-10-19sunrpc: Factor out v6 sockets creationPavel Emelyanov1-37/+26
2010-10-19sunrpc: Factor out v4 sockets creationPavel Emelyanov1-37/+26
2010-10-19sunrpc: Factor out udp sockets creationPavel Emelyanov1-40/+56
2010-10-19sunrpc: Remove duplicate xprt/transport arguments from callsPavel Emelyanov1-6/+6
2010-10-19sunrpc: Get xprt pointer once in xs_tcp_setup_socketPavel Emelyanov1-6/+4
2010-10-19sunrpc: Remove unused sock arg from xs_next_srcportPavel Emelyanov1-3/+3
2010-10-19sunrpc: Remove unused sock arg from xs_get_srcportPavel Emelyanov1-3/+3
2010-10-01sunrpc: Create sockets in net namespacesPavel Emelyanov1-4/+4
2010-10-01sunrpc: Tag rpc_xprt with netPavel Emelyanov1-1/+1
2010-10-01sunrpc: Factor out rpc_xprt freeingPavel Emelyanov1-8/+4
2010-10-01sunrpc: Factor out rpc_xprt allocationPavel Emelyanov1-12/+3
2010-09-24net: fix a lockdep splatEric Dumazet1-14/+14
2010-08-18Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6Linus Torvalds1-6/+22
2010-08-11param: use ops in struct kernel_param, rather than get and set fns directlyRusty Russell1-11/+15
2010-08-10SUNRPC: fix NFS client over TCP hangs due to packet loss (Bug 16494)Andy Chittenden1-6/+22
2010-06-22SUNRPC: Fix a re-entrancy bug in xs_tcp_read_calldir()Trond Myklebust1-16/+22
2010-05-26sunrpc: fix leak on error on socket xprt setupJ. Bruce Fields1-11/+18
2010-05-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6Linus Torvalds1-4/+0
2010-05-17net: Remove unnecessary returns from void function()sJoe Perches1-4/+0
2010-05-14SUNRPC: Move the task->tk_bytes_sent and tk_rtt to struct rpc_rqstTrond Myklebust1-2/+2
2010-05-14SUNRPC: Fix xs_setup_bc_tcp()Trond Myklebust1-3/+0
2010-05-14SUNRPC: RPC metrics and RTT estimator should use same RTT valueChuck Lever1-1/+0
2010-05-14SUNRPC: Fail over more quickly on connect errorsTrond Myklebust1-17/+0
2010-05-14SUNRPC: Move the test for XPRT_CONNECTING into xprt_connect()Trond Myklebust1-14/+1
2010-03-22SUNRPC: Fix a use after free bug with the NFSv4.1 backchannelTrond Myklebust1-3/+0
2010-03-18Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6Linus Torvalds1-6/+2
2010-03-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds1-5/+4
2010-03-08net/sunrpc: Convert (void)snprintf to snprintfJoe Perches1-2/+2
2010-03-08net/sunrpc: Remove uses of NIPQUAD, use %pI4Joe Perches1-3/+2
2010-03-08rpc client can not deal with ENOSOCK, so translate it into ENOCONNBian Naimeng1-6/+2
2010-03-02SUNRPC: Handle EINVAL error returns from the TCP connect operationTrond Myklebust1-0/+5
2010-02-10xprtsock.c: make bc_{malloc/free} staticH Hartley Sweeten1-2/+2
2009-12-13Merge branch 'nfs-for-2.6.33'Trond Myklebust1-1/+1
2009-12-03SUNRPC: Allow RPCs to fail quickly if the server is unreachableChuck Lever1-1/+1