aboutsummaryrefslogtreecommitdiffstats
path: root/net/smc
AgeCommit message (Expand)AuthorFilesLines
2023-12-07net/smc: fix missing byte order conversion in CLC handshakeWen Gu3-9/+8
2023-11-22net/smc: avoid data corruption caused by declineD. Wythe1-2/+6
2023-11-19net: fill in MODULE_DESCRIPTION()s for SOCK_DIAG modulesJakub Kicinski1-0/+1
2023-11-06net/smc: put sk reference if close work was canceledD. Wythe1-1/+2
2023-11-06net/smc: allow cdc msg send rather than drop it with NULL sndbuf_descD. Wythe1-5/+4
2023-11-06net/smc: fix dangling sock under state SMC_APPFINCLOSEWAITD. Wythe4-4/+9
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-6/+8
2023-10-16net/smc: return the right falback reason when prefix checks failDust Li1-1/+1
2023-10-13net/smc: fix smc clc failed issue when netdevice not in init_netAlbert Huang3-5/+7
2023-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-5/+10
2023-10-11net/smc: Fix pos miscalculation in statisticsNils Hoppmann1-5/+9
2023-10-10net/smc: Fix dependency of SMC on ISMGerd Bayer1-0/+1
2023-10-01net: implement lockless SO_PRIORITYEric Dumazet1-1/+1
2023-09-10net/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_p...Guangguan Wang1-0/+2
2023-09-10net/smc: bugfix for smcr v2 server connect success statisticGuangguan Wang1-1/+2
2023-08-29Merge tag 'sysctl-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+2
2023-08-21net: annotate data-races around sk->sk_lingertimeEric Dumazet1-1/+1
2023-08-19net/smc: Extend SMCR v2 linkgroup netlink attributeGuangguan Wang1-0/+4
2023-08-19net/smc: support max links per lgr negotiation in clc handshakeGuangguan Wang6-24/+82
2023-08-19net/smc: support max connections per lgr negotiationGuangguan Wang6-6/+62
2023-08-19net/smc: support smc v2.x features validateGuangguan Wang3-0/+71
2023-08-19net/smc: add vendor unique experimental options area in clc handshakeGuangguan Wang3-24/+37
2023-08-19net/smc: support smc release version negotiation in clc handshakeGuangguan Wang5-13/+51
2023-08-15networking: Update to register_net_sysctl_szJoel Granados1-1/+2
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-42/+76
2023-08-09net/smc: Use correct buffer sizes when switching between TCP and SMCGerd Bayer1-22/+51
2023-08-09net/smc: Fix setsockopt and sysctl to specify same buffer size againGerd Bayer5-20/+25
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-07-31net/smc: Remove unused function declarationsYue Haibing2-2/+0
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-1/+1
2023-06-24smc: Drop smc_sendpage() in favour of smc_sendmsg() + MSG_SPLICE_PAGESDavid Howells5-52/+1
2023-06-24tcp_bpf, smc, tls, espintcp, siw: Reduce MSG_SENDPAGE_NOTLAST usageDavid Howells1-2/+4
2023-06-03net/smc: Avoid to access invalid RMBs' MRs in SMCRv1 ADD LINK CONTWen Gu1-2/+2
2023-05-30net/smc: Don't use RMBs not mapped to new link in SMCRv2 ADD LINKWen Gu1-2/+2
2023-05-30net/smc: Scan from current RMB list when no position specifiedWen Gu1-1/+4
2023-05-19net/smc: Reset connection when trying to use SMCRv2 fails.Wen Gu2-2/+8
2023-05-10net: deal with most data-races in sk_wait_event()Eric Dumazet3-6/+6
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-04-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+11
2023-04-12smc: Fix use-after-free in tcp_write_timer_handler().Kuniyuki Iwashima1-0/+11
2023-04-05mm, treewide: redefine MAX_ORDER sanelyKirill A. Shutemov1-1/+1
2023-03-18smc: preserve const qualifier in smc_sk()Eric Dumazet1-4/+1
2023-03-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-1/+5
2023-03-17net/smc: Use percpu ref for wr tx referenceKai Shen3-12/+38
2023-03-15net/smc: Introduce explicit check for v2 supportStefan Raspl1-1/+1
2023-03-15net/smc: Fix device de-init sequenceStefan Raspl1-0/+1
2023-03-15net/smc: fix deadlock triggered by cancel_delayed_work_syn()Wenjia Zhang1-1/+1
2023-03-13net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()D. Wythe1-0/+3
2023-03-08net/smc: fix fallback failed while sendmsg with fastopenD. Wythe1-5/+8
2023-02-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-9/+10
2023-02-20net/smc: fix application data exceptionD. Wythe1-9/+8
2023-02-20net/smc: fix potential panic dues to unprotected smc_llc_srv_add_link()D. Wythe1-0/+2
2023-02-15net: no longer support SOCK_REFCNT_DEBUG featureJason Xing1-3/+0
2023-02-04net/smc: replace mutex rmbs_lock and sndbufs_lock with rw_semaphoreD. Wythe3-37/+38
2023-02-04net/smc: reduce unnecessary blocking in smcr_lgr_reg_rmbs()D. Wythe1-2/+17
2023-02-04net/smc: use read semaphores to reduce unnecessary blocking in smc_buf_create...D. Wythe1-4/+4
2023-02-04net/smc: llc_conf_mutex refactor, replace it with rw_semaphoreD. Wythe4-24/+24
2023-01-27net: add missing includes of linux/splice.hJakub Kicinski2-0/+2
2023-01-25net/smc: De-tangle ism and smc device initializationStefan Raspl4-63/+39
2023-01-25s390/ism: Consolidate SMC-D-related codeStefan Raspl1-24/+39
2023-01-25net/smc: Separate SMC-D and ISM APIsStefan Raspl3-6/+14
2023-01-25net/smc: Register SMC-D as ISM clientStefan Raspl4-26/+68
2023-01-25net/ism: Add new API for client registrationStefan Raspl1-2/+2
2023-01-25net/smc: Terminate connections prior to device removalStefan Raspl1-2/+2
2023-01-23net/sock: Introduce trace_sk_data_ready()Peilin Ye1-0/+3
2022-11-25use less confusing names for iov_iter direction initializersAl Viro2-4/+4
2022-11-02net/smc: Fix possible leaked pernet namespace in smc_init()Chen Zhongjin1-2/+4
2022-10-15net/smc: Fix an error code in smc_lgr_create()Dan Carpenter1-1/+2
2022-09-27net/smc: Support SO_REUSEPORTTony Lu1-0/+1
2022-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+4
2022-09-22net/smc: Unbind r/w buffer size from clcsock and make them tunableTony Lu3-7/+27
2022-09-22net/smc: Introduce a specific sysctl for TEST_LINK timeWen Gu3-1/+11
2022-09-22net/smc: Stop the CLC flow if no link to map buffers onWen Gu1-1/+4
2022-09-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni4-0/+13
2022-09-07net/smc: Fix possible access to freed memory in link clearYacan Liu4-0/+13
2022-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+0
2022-09-01net/smc: Remove redundant refcount increaseYacan Liu1-1/+0
2022-08-29genetlink: start to validate reserved header bytesJakub Kicinski2-2/+4
2022-07-27net/smc: Enable module load on netlink usageStefan Raspl2-0/+2
2022-07-27net/smc: Pass on DMBE bit mask in IRQ handlerStefan Raspl1-3/+3
2022-07-27s390/ism: CleanupsStefan Raspl1-1/+1
2022-07-27net/smc: Eliminate struct smc_ism_positionHeiko Carstens3-27/+14
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-07-18tcp: Fix data-races around keepalive sysctl knobs.Kuniyuki Iwashima1-1/+1
2022-07-18net/smc: Extend SMC-R link group netlink attributeWen Gu1-0/+2
2022-07-18net/smc: Allow virtually contiguous sndbufs or RMBs for SMC-RWen Gu9-118/+328
2022-07-18net/smc: Use sysctl-specified types of buffers in new link groupWen Gu2-0/+2
2022-07-18net/smc: Introduce a sysctl for setting SMC-R buffer typeWen Gu2-0/+17
2022-07-18net/smc: optimize for smc_sndbuf_sync_sg_for_device and smc_rmb_sync_sg_for_cpuGuangguan Wang4-0/+40
2022-07-18net/smc: remove redundant dma sync opsGuangguan Wang5-29/+0
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-3/+4
2022-05-28net/smc: fixes for converting from "struct smc_cdc_tx_pend **" to "struct smc...Guangguan Wang1-1/+1
2022-05-25net/smc: set ini->smcrv2.ib_dev_v2 to NULL if SMC-Rv2 is unavailableliuyacan1-0/+1
2022-05-24Revert "net/smc: fix listen processing for SMC-Rv2"liuyacan1-27/+17
2022-05-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-18/+28
2022-05-23net/smc: fix listen processing for SMC-Rv2liuyacan1-17/+27
2022-05-23net/smc: postpone sk_refcnt increment in connect()liuyacan1-1/+1
2022-05-17net/smc: rdma write inline if qp has sufficient inline spaceGuangguan Wang1-5/+12
2022-05-17net/smc: send cdc msg inline if qp has sufficient inline spaceGuangguan Wang2-1/+5
2022-05-16net/smc: align the connect behaviour with TCPGuangguan Wang1-4/+46
2022-05-12net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pendingGuangguan Wang1-2/+2
2022-04-25net/smc: Fix slab-out-of-bounds issue in fallbackWen Gu2-23/+59
2022-04-25net/smc: Only save the original clcsock callback functionsWen Gu3-20/+67
2022-04-25net/smc: sync err code when tcp connection was refusedliuyacan1-0/+2
2022-04-15net/smc: Fix sock leak when release after smc_shutdown()Tony Lu1-1/+3
2022-04-11net/smc: Fix af_ops of child socket pointing to released memoryKarsten Graul1-2/+12
2022-04-11net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()Karsten Graul1-2/+3
2022-04-11net/smc: use memcpy instead of snprintf to avoid out of bounds readKarsten Graul1-2/+4
2022-03-28net/smc: Send out the remaining data in sndbuf before closeWen Gu1-0/+3
2022-03-26net/smc: fix a memory leak in smc_sysctl_net_exit()Eric Dumazet1-0/+5
2022-03-09net/smc: fix -Wmissing-prototypes warning when CONFIG_SYSCTL not setDust Li1-2/+2
2022-03-07net/smc: fix compile warning for smc_sysctlDust Li4-31/+15
2022-03-06Revert "net/smc: don't req_notify until all CQEs drained"Dust Li1-28/+21
2022-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-5/+14
2022-03-03net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by serverD. Wythe1-1/+2
2022-03-03net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by clientD. Wythe1-1/+1
2022-03-01net: smc: fix different types in min()Jakub Kicinski1-2/+2
2022-03-01net/smc: don't send in the BH context if sock_owned_by_userDust Li3-5/+34
2022-03-01net/smc: don't req_notify until all CQEs drainedDust Li1-21/+28
2022-03-01net/smc: correct settings of RMB window update limitDust Li1-1/+1
2022-03-01net/smc: send directly on setting TCP_NODELAYDust Li1-2/+2
2022-03-01net/smc: add sysctl for autocorkingDust Li2-1/+11
2022-03-01net/smc: add autocorking supportDust Li3-15/+105
2022-03-01net/smc: add sysctl interface for SMCDust Li4-1/+113
2022-02-28net/smc: Call trace_smc_tx_sendmsg when data corkedTony Lu1-9/+8
2022-02-28net/smc: Fix cleanup when register ULP failsTony Lu1-1/+3
2022-02-25net/smc: fix connection leakD. Wythe1-2/+8
2022-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-22/+22
2022-02-24net/smc: Use a mutex for locking "struct smc_pnettable"Fabio M. De Francesco2-22/+22
2022-02-19net/smc: unlock on error paths in __smc_setsockopt()Dan Carpenter1-4/+8
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+7
2022-02-16net/smc: return ETIMEDOUT when smc_connect_clc() timeoutD. Wythe1-1/+7
2022-02-14net/smc: Add comment for smc_tx_pendingTony Lu1-1/+6
2022-02-11net/smc: Add global configure for handshake limitation by netlinkD. Wythe4-0/+66
2022-02-11net/smc: Dynamic control handshake limitation by socket optionsD. Wythe2-1/+69
2022-02-11net/smc: Limit SMC visits when handshake workqueue congestedD. Wythe1-0/+17
2022-02-11net/smc: Limit backlog connectionsD. Wythe2-1/+50
2022-02-11net/smc: Make smc_tcp_listen_work() independentD. Wythe1-2/+11
2022-02-11net/smc: Avoid overwriting the copies of clcsock callback functionsWen Gu1-3/+7
2022-02-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+5
2022-02-07net/smc: use GFP_ATOMIC allocation in smc_pnet_add_eth()Eric Dumazet1-1/+1
2022-02-06net/smc: fix ref_tracker issue in smc_pnet_add()Eric Dumazet1-3/+5
2022-02-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-18/+137
2022-02-02Partially revert "net/smc: Add netlink net namespace support"Dmitry V. Levin1-2/+0
2022-01-31net/smc: Cork when sendpage with MSG_SENDPAGE_NOTLAST flagTony Lu3-2/+23
2022-01-31net/smc: Remove corked dealyed workTony Lu1-9/+6
2022-01-31net/smc: Send directly when TCP_CORK is clearedTony Lu3-12/+18
2022-01-31net/smc: Forward wakeup to smc socket waitqueue after fallbackWen Gu2-16/+137
2022-01-24net/smc: Transitional solution for clcsock race issueWen Gu1-12/+51
2022-01-16net/smc: Fix hung_task when removing SMC-R devicesWen Gu1-16/+1
2022-01-15net/smc: Remove unused function declarationWen Gu1-4/+0
2022-01-13net/smc: Resolve the race between SMC-R link access and clearWen Gu2-12/+44
2022-01-13net/smc: Introduce a new conn->lgr validity check helperWen Gu6-12/+24
2022-01-13net/smc: Resolve the race between link group access and terminationWen Gu3-11/+53
2022-01-12net/smc: fix possible NULL deref in smc_pnet_add_eth()Eric Dumazet1-1/+2
2022-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-9/+13
2022-01-06net/smc: Reset conn->lgr when link group registration failsWen Gu3-9/+13
2022-01-02net/smc: add comments for smc_link_{usable|sendable}Dust Li1-1/+16
2022-01-02net/smc: remove redundant re-assignment of pointer linkColin Ian King1-1/+0
2022-01-02net/smc: Introduce TCP ULP supportTony Lu1-7/+86
2022-01-02net/smc: Add net namespace for tracepointsTony Lu1-7/+16
2022-01-02net/smc: Print net namespace in logTony Lu2-9/+14
2022-01-02net/smc: Add netlink net namespace supportTony Lu2-7/+12
2022-01-02net/smc: Introduce net namespace support for linkgroupTony Lu4-12/+42
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2-0/+3
2021-12-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski10-81/+72
2021-12-30net/smc: Use the bitmap API when applicableChristophe JAILLET1-14/+5
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski2-0/+3
2021-12-28net/smc: fix kernel panic caused by race of smc_sockDust Li8-76/+57
2021-12-28net/smc: don't send CDC/LLC message if link not readyDust Li5-5/+11
2021-12-27net/smc: fix using of uninitialized completionsKarsten Graul1-2/+4
2021-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2021-12-16net/smc: Prevent smc_release() from long blockingD. Wythe1-1/+3
2021-12-07net/smc: add net device tracker to struct smc_pnetentryEric Dumazet1-4/+5
2021-12-06net/smc: Clear memory when release and reuse bufferTony Lu1-4/+9
2021-12-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-6/+9
2021-12-02net/smc: Keep smc_close_final rc during active closeTony Lu1-2/+6
2021-12-02net/smc: fix wrong list_del in smc_lgr_cleanup_earlyDust Li1-4/+3
2021-11-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-22/+37
2021-11-26net/smc: Don't call clcsock shutdown twice when smc shutdownTony Lu1-1/+7
2021-11-24net/smc: Fix loop in smc_listenGuo DaXing1-1/+3
2021-11-24net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()Karsten Graul1-17/+18
2021-11-23net/smc: Ensure the active closing peer first closes clcsockTony Lu1-0/+6
2021-11-23net/smc: Clean up local struct sock variablesTony Lu1-2/+2
2021-11-22net/smc: Avoid warning of possible recursive lockingWen Gu1-1/+1
2021-11-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-1/+16
2021-11-16net: drop nopreempt requirement on sock_prot_inuse_add()Eric Dumazet1-1/+1
2021-11-15net/smc: Make sure the link_id is uniqueWen Gu1-1/+2
2021-11-15net/smc: Transfer remaining wait queue entries during fallbackWen Gu1-0/+14
2021-11-10net/smc: fix sk_refcnt underflow on linkdown and fallbackDust Li1-7/+11
2021-11-05net/smc: Print function name in smcr_link_down tracepointTony Lu1-1/+1
2021-11-01net/smc: Introduce tracepoint for smcr link downTony Lu3-2/+38
2021-11-01net/smc: Introduce tracepoints for tx and rx msgTony Lu4-0/+45
2021-11-01net/smc: Introduce tracepoint for fallbackTony Lu4-0/+59
2021-10-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+2
2021-10-28net/smc: Correct spelling mistake to TCPF_SYN_RECVWen Gu1-1/+1
2021-10-28net/smc: Fix smc_link->llc_testlink_time overflowTony Lu1-1/+1
2021-10-16net/smc: stop links when their GID is removedKarsten Graul1-0/+53
2021-10-16net/smc: add netlink support for SMC-Rv2Karsten Graul1-25/+73
2021-10-16net/smc: extend LLC layer for SMC-Rv2Karsten Graul7-115/+531