aboutsummaryrefslogtreecommitdiffstats
path: root/net/smc/af_smc.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-28net: Remove KMSG_COMPONENT macroHeiko Carstens1-2/+1
2025-11-10net/smc: bpf: Introduce generic hook for handshake flowD. Wythe1-0/+9
2025-11-04net: Convert proto_ops connect() callbacks to use sockaddr_unsizedKees Cook1-2/+2
2025-11-04net: Convert proto_ops bind() callbacks to use sockaddr_unsizedKees Cook1-1/+1
2025-10-24smc: rename smc_find_ism_store_rc to reflect broader usageDust Li1-8/+8
2025-09-23dibs: Define dibs_client_ops and dibs_dev_opsAlexandra Winter1-11/+1
2025-09-22net: WQ_PERCPU added to alloc_workqueue usersMarco Crivellari1-3/+3
2025-09-14net/smc: Remove unused argument from 2 SMC functionsMahanta Jambigi1-7/+5
2025-08-19net/smc: fix UAF on smcsk after smc_listen_out()D. Wythe1-1/+2
2025-07-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+14
2025-07-14smc: Fix various oops due to inet_sock type confusion.Kuniyuki Iwashima1-0/+14
2025-07-09net/smc: convert timeouts to secs_to_jiffies()Easwar Hariharan1-2/+1
2025-06-23net: make sk->sk_rcvtimeo locklessEric Dumazet1-1/+1
2025-06-23net: make sk->sk_sndtimeo locklessEric Dumazet1-2/+2
2025-04-11smc: Fix lockdep false-positive for IPPROTO_SMC.Kuniyuki Iwashima1-0/+5
2025-02-21net: better track kernel sockets lifetimeEric Dumazet1-4/+1
2025-01-13net/smc: fix data error when recvmsg with MSG_PEEK flagGuangguan Wang1-1/+1
2024-12-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+16
2024-12-15net/smc: check smcd_v2_ext_offset when receiving proposal msgGuangguan Wang1-0/+2
2024-12-15net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msgGuangguan Wang1-1/+2
2024-12-15net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msgGuangguan Wang1-1/+5
2024-12-15net/smc: check sndbuf_space again after NOSPACE flag is set in smc_pollGuangguan Wang1-0/+7
2024-12-12net/smc: support ipv4 mapped ipv6 addr client for smc-r v2Guangguan Wang1-1/+4
2024-12-03net/smc: fix LGR and link use-after-free issueWen Gu1-0/+2
2024-12-03net/smc: initialize close_work early to avoid warningWen Gu1-3/+1
2024-11-07net/smc: do not leave a dangling sk pointer in __smc_create()Eric Dumazet1-1/+3
2024-08-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+4
2024-07-31net/smc: remove redundant code in smc_connect_check_aclcZhengchao Shao1-4/+0
2024-07-31net/smc: remove the fallback in __smc_connectZhengchao Shao1-4/+0
2024-07-30net/smc: prevent UAF in inet_create()D. Wythe1-3/+4
2024-06-17net/smc: Introduce IPPROTO_SMCD. Wythe1-2/+14
2024-06-17net/smc: expose smc proto operationsD. Wythe1-30/+30
2024-06-17net/smc: refactoring initialization of smc sockD. Wythe1-38/+48
2024-06-05net/smc: avoid overwriting when adjusting sock bufsizesWen Gu1-20/+2
2024-05-13net: change proto and proto_ops accept typeJens Axboe1-3/+3
2024-04-30net/smc: {at|de}tach sndbuf to peer DMB if supportedWen Gu1-0/+16
2024-04-30net/smc: introduce loopback-ism for SMC intra-OS shortcutWen Gu1-1/+11
2024-03-29net/smc: make smc_hash_sk/smc_unhash_sk staticZhengchao Shao1-4/+2
2024-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2024-02-14net: smc: fix spurious error message from __sock_release()Dmitry Antipov1-0/+1
2024-02-07net/smc: change the term virtual ISM to Emulated-ISMWen Gu1-11/+11
2023-12-26net/smc: compatible with 128-bits extended GID of virtual ISM deviceWen Gu1-13/+53
2023-12-26net/smc: unify the structs of accept or confirm message for v1 and v2Wen Gu1-35/+17
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2023-12-07net/smc: fix missing byte order conversion in CLC handshakeWen Gu1-2/+2
2023-11-24net/smc: add sysctl for max links per lgr for SMC-R v2.1Guangguan Wang1-1/+1
2023-11-22net/smc: avoid data corruption caused by declineD. Wythe1-2/+6
2023-11-06net/smc: fix dangling sock under state SMC_APPFINCLOSEWAITD. Wythe1-2/+2
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+3
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 Huang1-1/+2
2023-10-01net: implement lockless SO_PRIORITYEric Dumazet1-1/+1
2023-08-21net: annotate data-races around sk->sk_lingertimeEric Dumazet1-1/+1
2023-08-19net/smc: support max links per lgr negotiation in clc handshakeGuangguan Wang1-17/+27
2023-08-19net/smc: support max connections per lgr negotiationGuangguan Wang1-0/+1
2023-08-19net/smc: support smc v2.x features validateGuangguan Wang1-0/+18
2023-08-19net/smc: add vendor unique experimental options area in clc handshakeGuangguan Wang1-1/+1
2023-08-19net/smc: support smc release version negotiation in clc handshakeGuangguan Wang1-4/+17
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 Bayer1-2/+2
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 Howells1-29/+0
2023-05-19net/smc: Reset connection when trying to use SMCRv2 fails.Wen Gu1-2/+7
2023-04-12smc: Fix use-after-free in tcp_write_timer_handler().Kuniyuki Iwashima1-0/+11
2023-03-15net/smc: Fix device de-init sequenceStefan Raspl1-0/+1
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 Kicinski1-0/+2
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: reduce unnecessary blocking in smcr_lgr_reg_rmbs()D. Wythe1-2/+17
2023-02-04net/smc: llc_conf_mutex refactor, replace it with rw_semaphoreD. Wythe1-4/+4
2023-01-27net: add missing includes of linux/splice.hJakub Kicinski1-0/+1
2023-01-25net/smc: De-tangle ism and smc device initializationStefan Raspl1-0/+1
2023-01-25net/smc: Register SMC-D as ISM clientStefan Raspl1-2/+6
2022-11-02net/smc: Fix possible leaked pernet namespace in smc_init()Chen Zhongjin1-2/+4
2022-09-27net/smc: Support SO_REUSEPORTTony Lu1-0/+1
2022-09-22net/smc: Unbind r/w buffer size from clcsock and make them tunableTony Lu1-3/+2
2022-09-01net/smc: Remove redundant refcount increaseYacan Liu1-1/+0
2022-07-27net/smc: Enable module load on netlink usageStefan Raspl1-0/+1
2022-07-18net/smc: Allow virtually contiguous sndbufs or RMBs for SMC-RWen Gu1-8/+58
2022-07-18net/smc: remove redundant dma sync opsGuangguan Wang1-2/+0
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-16net/smc: align the connect behaviour with TCPGuangguan Wang1-4/+46
2022-04-25net/smc: Fix slab-out-of-bounds issue in fallbackWen Gu1-23/+57
2022-04-25net/smc: Only save the original clcsock callback functionsWen Gu1-19/+36
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-03-07net/smc: fix compile warning for smc_sysctlDust Li1-9/+6
2022-03-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+11
2022-03-01net/smc: don't send in the BH context if sock_owned_by_userDust Li1-0/+16
2022-03-01net/smc: send directly on setting TCP_NODELAYDust Li1-2/+2
2022-03-01net/smc: add sysctl interface for SMCDust Li1-0/+10
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-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-11net/smc: Add global configure for handshake limitation by netlinkD. Wythe1-0/+42
2022-02-11net/smc: Dynamic control handshake limitation by socket optionsD. Wythe1-1/+68
2022-02-11net/smc: Limit SMC visits when handshake workqueue congestedD. Wythe1-0/+17
2022-02-11net/smc: Limit backlog connectionsD. Wythe1-0/+45
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-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-15/+118
2022-01-31net/smc: Cork when sendpage with MSG_SENDPAGE_NOTLAST flagTony Lu1-1/+3
2022-01-31net/smc: Send directly when TCP_CORK is clearedTony Lu1-2/+2
2022-01-31net/smc: Forward wakeup to smc socket waitqueue after fallbackWen Gu1-15/+118
2022-01-24net/smc: Transitional solution for clcsock race issueWen Gu1-12/+51
2022-01-13net/smc: Introduce a new conn->lgr validity check helperWen Gu1-1/+5
2022-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+5
2022-01-06net/smc: Reset conn->lgr when link group registration failsWen Gu1-3/+5
2022-01-02net/smc: Introduce TCP ULP supportTony Lu1-7/+86
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-11-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+11
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-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 Kicinski1-0/+14
2021-11-16net: drop nopreempt requirement on sock_prot_inuse_add()Eric Dumazet1-1/+1
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-01net/smc: Introduce tracepoint for fallbackTony Lu1-0/+2
2021-10-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-10-28net/smc: Correct spelling mistake to TCPF_SYN_RECVWen Gu1-1/+1
2021-10-16net/smc: extend LLC layer for SMC-Rv2Karsten Graul1-4/+4
2021-10-16net/smc: add listen processing for SMC-Rv2Karsten Graul1-47/+118
2021-10-16net/smc: add SMC-Rv2 connection establishmentKarsten Graul1-38/+131
2021-10-16net/smc: prepare for SMC-Rv2 connectionKarsten Graul1-35/+62
2021-09-14net/smc: keep static copy of system EIDKarsten Graul1-1/+1
2021-09-14net/smc: add support for user defined EIDsKarsten Graul1-12/+22
2021-08-09net/smc: Correct smc link connection counter in case of smc clientGuvenc Gulce1-1/+1
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-1/+1
2021-06-16net/smc: Make SMC statistics network namespace awareGuvenc Gulce1-25/+40
2021-06-16net/smc: Add SMC statistics supportGuvenc Gulce1-18/+71
2021-05-05smc: disallow TCP_ULP in smc_setsockopt()Cong Wang1-1/+3
2021-04-27net/smc: Remove redundant assignment to rcJiapeng Chong1-1/+0
2020-12-01net/smc: Introduce generic netlink interface for diagnostic purposesGuvenc Gulce1-1/+9
2020-12-01net/smc: Refactor smc ism v2 capability handlingGuvenc Gulce1-6/+6
2020-12-01net/smc: use helper smc_conn_abort() in listen processingKarsten Graul1-12/+5
2020-11-19Merge https://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2020-11-19net/smc: fix matching of existing link groupsKarsten Graul1-1/+2
2020-10-31net/smc: improve return codes for SMC-Dv2Karsten Graul1-20/+41
2020-10-26net/smc: fix null pointer dereference in smc_listen_decline()Karsten Graul1-3/+4
2020-10-09net/smc: restore smcd_version when all ISM V2 devices failed to initKarsten Graul1-1/+5
2020-10-09net/smc: cleanup buffer usage in smc_listen_work()Karsten Graul1-6/+3
2020-10-09net/smc: consolidate unlocking in same functionKarsten Graul1-37/+40
2020-10-03net/smc: send ISM devices with unique chid in CLC proposalKarsten Graul1-1/+17
2020-09-28net/smc: CLC decline - V2 enhancementsUrsula Braun1-10/+17
2020-09-28net/smc: introduce CLC first contact extensionUrsula Braun1-0/+29
2020-09-28net/smc: CLC accept / confirm V2Ursula Braun1-22/+79
2020-09-28net/smc: determine accepted ISM devicesUrsula Braun1-23/+179
2020-09-28net/smc: build and send V2 CLC proposalUrsula Braun1-1/+1
2020-09-28net/smc: determine proposed ISM devicesUrsula Braun1-48/+117
2020-09-28net/smc: introduce CHID callback for ISM devicesUrsula Braun1-0/+2
2020-09-28net/smc: introduce System Enterprise ID (SEID)Ursula Braun1-0/+2
2020-09-28net/smc: prepare for more proposed ISM devicesUrsula Braun1-27/+45
2020-09-28net/smc: separate find device functionsUrsula Braun1-42/+69
2020-09-28net/smc: CLC header fields renamingUrsula Braun1-7/+7
2020-09-17net/smc: fix double kfree in smc_listen_work()Ursula Braun1-2/+2
2020-09-10net/smc: use separate work queues for different worker typesKarsten Graul1-8/+26
2020-09-10net/smc: reduce smc_listen_decline() callsUrsula Braun1-16/+6
2020-09-10net/smc: improve server ISM device determinationUrsula Braun1-14/+3
2020-09-10net/smc: common routine for CLC accept and confirmUrsula Braun1-17/+19
2020-09-10net/smc: dynamic allocation of CLC proposal bufferUrsula Braun1-3/+10
2020-09-10net/smc: introduce better field namesUrsula Braun1-33/+33
2020-09-10net/smc: reduce active tcp_listen workersUrsula Braun1-7/+31
2020-07-27net/smc: unique reason code for exceeded max dmb countKarsten Graul1-4/+9
2020-07-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-4/+8
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-2/+2
2020-07-19net: make ->{get,set}sockopt in proto_ops optionalChristoph Hellwig1-2/+7
2020-07-19net/smc: fix restoring of fallback changesKarsten Graul1-2/+4
2020-07-19net/smc: do not call dma sync for unmapped memoryKarsten Graul1-1/+1
2020-07-19net/smc: fix link lookup for new rdma connectionsKarsten Graul1-1/+3
2020-05-05net/smc: log important pnetid and state change eventsKarsten Graul1-4/+2
2020-05-04net/smc: save SMC-R peer link_uidKarsten Graul1-0/+2
2020-05-03net/smc: first part of add link processing as SMC serverKarsten Graul1-1/+1
2020-05-03net/smc: final part of add link processing as SMC clientKarsten Graul1-1/+1
2020-05-01net/smc: mutex to protect the lgr against parallel reconfigurationsKarsten Graul1-0/+9
2020-05-01net/smc: multiple link support for rmb buffer registrationKarsten Graul1-35/+19
2020-04-30net/smc: adapt SMC client code to use the LLC flowKarsten Graul1-24/+45
2020-04-30net/smc: adapt SMC server code to use the LLC flowKarsten Graul1-24/+15
2020-04-29net/smc: move llc layer related init and clear into smc_llc.cKarsten Graul1-4/+2
2020-04-29net/smc: multi-link support for smc_rmb_rtoken_handling()Karsten Graul1-2/+2
2020-04-29net/smc: convert static link ID instances to support multiple linksKarsten Graul1-17/+37
2020-04-29net/smc: convert static link ID to dynamic referencesKarsten Graul1-11/+6
2020-02-26net/smc: fix cleanup for linkgroup setup failuresUrsula Braun1-10/+15
2020-02-14net/smc: transfer fasync_list in case of fallbackUrsula Braun1-0/+2
2019-12-15net/smc: add fallback check to connect()Ursula Braun1-6/+8
2019-11-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+2
2019-11-16net/smc: fix fastopen for non-blocking connect()Ursula Braun1-1/+1
2019-11-16net/smc: use rcu_barrier() on module unloadUrsula Braun1-0/+2
2019-11-16net/smc: introduce bookkeeping of SMCR link groupsUrsula Braun1-5/+13
2019-11-12net/smc: fix refcount non-blocking connect() -part 2Ursula Braun1-0/+1
2019-11-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-3/+10