aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls
AgeCommit message (Expand)AuthorFilesLines
2023-05-26tls: improve lockless access safety of tls_err_abort()Jakub Kicinski2-2/+6
2023-05-19tls: rx: strp: don't use GFP_KERNEL in softirq contextJakub Kicinski1-0/+4
2023-05-19tls: rx: strp: preserve decryption status of skbs when neededJakub Kicinski3-31/+113
2023-05-19tls: rx: strp: factor out copying skb dataJakub Kicinski1-10/+23
2023-05-19tls: rx: strp: fix determining record length in copy modeJakub Kicinski1-6/+15
2023-05-19tls: rx: strp: force mixed decrypted records into copy modeJakub Kicinski1-5/+11
2023-05-19tls: rx: strp: set the skb->len of detached / CoW'ed skbsJakub Kicinski1-0/+2
2023-05-19tls: rx: device: fix checking decryption statusJakub Kicinski1-1/+1
2023-05-10net: deal with most data-races in sk_wait_event()Eric Dumazet1-1/+2
2023-03-06net: tls: fix device-offloaded sendpage straddling recordsJakub Kicinski1-0/+2
2023-03-01net: tls: avoid hanging tasks on the tx_lockJakub Kicinski1-7/+19
2023-03-01net: tls: fix possible race condition between do_tls_getsockopt_conf() and do...Hangyu Hua1-18/+5
2023-02-28tls: rx: fix return value for async cryptoJakub Kicinski1-1/+1
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+3
2023-02-21Merge tag 'v6.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds2-13/+31
2023-02-13tls: Pass rec instead of aead_req into tls_encrypt_doneHerbert Xu1-4/+2
2023-02-13tls: Remove completion function scaffoldingHerbert Xu1-4/+4
2023-02-13tls: Only use data field in crypto completion functionHerbert Xu2-11/+31
2023-02-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-01-30net/tls: tls_is_tx_ready() checked list_entryPietro Borrello1-1/+1
2023-01-23net/sock: Introduce trace_sk_data_ready()Peilin Ye1-0/+3
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-2/+4
2022-12-01bpf, sockmap: Fix missing BPF_F_INGRESS flag when using apply_bytesPengcheng Yang1-2/+4
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-11-11net/tls: Fix memory leak in tls_enc_skb() and tls_sw_fallback_init()Yu Liao1-2/+3
2022-10-14tls: strp: make sure the TCP skbs do not have overlapping dataJakub Kicinski1-4/+28
2022-09-27net: tls: Add ARIA-GCM algorithmTaehee Yoo2-0/+96
2022-09-22net/tls: Support 256 bit keys with TX device offloadGal Pressman2-0/+13
2022-09-22net/tls: Use cipher sizes structsGal Pressman2-51/+76
2022-09-22net/tls: Describe ciphers sizes by const structsTariq Toukan1-0/+17
2022-08-17tls: rx: react to strparser initialization errorsJakub Kicinski1-1/+3
2022-08-11Merge tag 'net-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds3-12/+39
2022-08-10net/tls: Use RCU API to access tls_ctx->netdevMaxim Mikityanskiy2-10/+31
2022-08-10tls: rx: device: don't try to copy too much on detachJakub Kicinski1-1/+1
2022-08-10tls: rx: device: bound the frag walkJakub Kicinski1-1/+7
2022-08-08iov_iter: advancing variants of iov_iter_get_pages{,_alloc}()Al Viro1-3/+1
2022-08-01net/tls: Remove redundant workqueue flush before destroyTariq Toukan1-1/+0
2022-07-28net/tls: Multi-threaded calls to TX tls_dev_delTariq Toukan1-32/+31
2022-07-28net/tls: Perform immediate device ctx cleanup when possibleTariq Toukan1-8/+18
2022-07-28tls: rx: Fix unsigned comparison with less than zeroYang Li1-1/+2
2022-07-28tls: rx: fix the false positive warningJakub Kicinski1-1/+1
2022-07-28tls: strp: rename and multithread the workqueueJakub Kicinski1-1/+1
2022-07-28tls: rx: don't consider sock_rcvtimeo() cumulativeJakub Kicinski1-18/+19
2022-07-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+6
2022-07-26tls: rx: do not use the standard strparserJakub Kicinski4-67/+541
2022-07-26tls: rx: device: add input CoW helperJakub Kicinski3-10/+21
2022-07-26tls: rx: device: keep the zero copy status with offloadJakub Kicinski3-5/+35
2022-07-26tls: rx: don't free the output in case of zero-copyJakub Kicinski1-13/+13
2022-07-26tls: rx: factor SW handling out of tls_rx_one_record()Jakub Kicinski1-36/+57
2022-07-26tls: rx: wrap recv_pkt accesses in helpersJakub Kicinski2-5/+11
2022-07-24net/tls: Remove the context from the list in tls_device_downMaxim Mikityanskiy1-1/+6
2022-07-21tls: rx: release the sock lock on locking timeoutJakub Kicinski1-4/+13
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+5
2022-07-18net/tls: Fix race in TLS device down flowTariq Toukan1-3/+5
2022-07-18tls: rx: decrypt into a fresh skbJakub Kicinski2-37/+72
2022-07-18tls: rx: async: don't put async zc on the listJakub Kicinski1-21/+19
2022-07-18tls: rx: async: hold onto the input skbJakub Kicinski4-10/+38
2022-07-18tls: rx: async: adjust record geometry immediatelyJakub Kicinski1-39/+10
2022-07-18tls: rx: return the decrypted skb via dargJakub Kicinski1-10/+39
2022-07-18tls: rx: read the input skb from ctx->recv_pktJakub Kicinski3-34/+42
2022-07-18tls: rx: factor out device darg updateJakub Kicinski1-19/+41
2022-07-18tls: rx: remove the message decrypted trackingJakub Kicinski1-10/+0
2022-07-18tls: rx: don't keep decrypted skbs on ctx->recv_pktJakub Kicinski1-21/+28
2022-07-18tls: rx: don't try to keep the skbs always on the listJakub Kicinski1-11/+12
2022-07-18tls: rx: allow only one reader at a timeJakub Kicinski1-7/+54
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-5/+10
2022-07-14net/tls: Check for errors in tls_device_initTariq Toukan2-3/+8
2022-07-11tls: rx: fix the NoPad getsockoptJakub Kicinski1-5/+4
2022-07-11tls: rx: add counter for NoPad violationsJakub Kicinski2-0/+3
2022-07-11tls: fix spelling of MIBJakub Kicinski2-2/+2
2022-07-08tls: rx: make tls_wait_data() return an recvmsg retcodeJakub Kicinski1-27/+26
2022-07-08tls: create an internal headerJakub Kicinski7-7/+337
2022-07-08tls: rx: coalesce exit paths in tls_decrypt_sg()Jakub Kicinski1-9/+5
2022-07-08tls: rx: wrap decrypt params in a structJakub Kicinski1-30/+30
2022-07-08tls: rx: always allocate max possible aad size for decryptJakub Kicinski1-9/+10
2022-07-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+4
2022-07-06Revert "tls: rx: move counting TlsDecryptErrors for sync"Gal Pressman1-4/+4
2022-07-06tls: rx: periodically flush socket backlogJakub Kicinski1-0/+23
2022-07-06tls: rx: add sockopt for enabling optimistic decrypt with TLS 1.3Jakub Kicinski3-7/+90
2022-07-06tls: rx: support optimistic decrypt to user buffer with TLS 1.3Jakub Kicinski1-9/+29
2022-07-06tls: rx: don't include tail size in data_lenJakub Kicinski1-4/+4
2022-07-02net: add skb_[inner_]tcp_all_headers helpersEric Dumazet1-3/+3
2022-06-23sock: redo the psock vs ULP protection checkJakub Kicinski1-0/+2
2022-06-23Revert "net/tls: fix tls_sk_proto_close executed repeatedly"Jakub Kicinski1-3/+0
2022-06-20net/tls: fix tls_sk_proto_close executed repeatedlyZiyang Xuan1-0/+3
2022-06-09tls: Rename TLS_INFO_ZC_SENDFILE to TLS_INFO_ZC_TXMaxim Mikityanskiy1-4/+4
2022-05-19net: tls: fix messing up lists when bpf enabledJakub Kicinski1-1/+3
2022-05-19tls: Add opt-in zerocopy mode of sendfile()Boris Pismenny2-13/+95
2022-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2022-05-12tls: Fix context leak on tls_device_downMaxim Mikityanskiy1-0/+3
2022-04-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+7
2022-04-27tls: Skip tls_append_frag on zero copy sizeMaxim Mikityanskiy1-5/+7
2022-04-26net: tls: fix async vs NIC crypto offloadJakub Kicinski1-0/+2
2022-04-26net: generalize skb freeing deferral to per-cpu listsEric Dumazet1-2/+0
2022-04-13tls: rx: only copy IV from the packet for TLS 1.2Jakub Kicinski1-10/+10
2022-04-13tls: rx: use MAX_IV_SIZE for allocationsJakub Kicinski1-1/+1
2022-04-13tls: rx: use async as an in-out argumentJakub Kicinski1-15/+16
2022-04-13tls: rx: return the already-copied data on crypto errorJakub Kicinski1-6/+10
2022-04-13tls: rx: treat process_rx_list() errors as transientJakub Kicinski1-12/+8
2022-04-13tls: rx: assume crypto always calls our callbackJakub Kicinski1-3/+0
2022-04-13tls: rx: don't handle TLS 1.3 in the async crypto callbackJakub Kicinski1-10/+5
2022-04-13tls: rx: move counting TlsDecryptErrors for syncJakub Kicinski1-2/+2
2022-04-13tls: rx: reuse leave_on_list label for psockJakub Kicinski1-8/+4
2022-04-13tls: rx: consistently use unlocked accessors for rx_listJakub Kicinski1-5/+5
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-3/+0
2022-04-10tls: rx: jump out for cases which need to leave skb on listJakub Kicinski1-21/+22
2022-04-10tls: rx: clear ctx->recv_pkt earlierJakub Kicinski1-9/+7
2022-04-10tls: rx: inline consuming the skb at the end of the loopJakub Kicinski1-24/+5
2022-04-10tls: rx: pull most of zc check out of the loopJakub Kicinski1-4/+5
2022-04-10tls: rx: don't track the async countJakub Kicinski1-7/+5
2022-04-10tls: rx: don't handle async in tls_sw_advance_skb()Jakub Kicinski1-13/+9
2022-04-10tls: rx: factor out writing ContentType to cmsgJakub Kicinski1-55/+36
2022-04-10tls: rx: simplify async waitJakub Kicinski1-12/+2
2022-04-10tls: rx: wrap decryption arguments in a structureJakub Kicinski1-22/+27
2022-04-10tls: rx: don't report text length from the bowels of decryptJakub Kicinski1-19/+14
2022-04-10tls: rx: drop unnecessary arguments from tls_setup_from_iter()Jakub Kicinski1-8/+6
2022-04-08tls: hw: rx: use return value of tls_device_decrypted() to carry statusJakub Kicinski2-8/+4
2022-04-08tls: rx: refactor decrypt_skb_update()Jakub Kicinski1-33/+33
2022-04-08tls: rx: don't issue wake ups when data is decryptedJakub Kicinski1-2/+0
2022-04-08tls: rx: replace 'back' with 'offset'Jakub Kicinski1-5/+4
2022-04-08tls: rx: use a define for tag lengthJakub Kicinski1-2/+2
2022-04-08tls: rx: init decrypted status in tls_read_size()Jakub Kicinski1-4/+1
2022-04-08tls: rx: don't store the decryption status in socket contextJakub Kicinski2-5/+8
2022-04-08tls: rx: don't store the record type in socket contextJakub Kicinski1-21/+17
2022-04-08tls: rx: drop pointless else after gotoJakub Kicinski1-2/+1
2022-04-08tls: rx: jump to a more appropriate labelJakub Kicinski1-3/+4
2022-04-01net/tls: fix slab-out-of-bounds bug in decrypt_internalZiyang Xuan1-1/+1
2022-03-21net/tls: optimize judgement processes in tls_set_device_offload()Ziyang Xuan1-31/+31
2022-03-21net/tls: remove unnecessary jump instructions in do_tls_setsockopt_conf()Ziyang Xuan1-10/+5
2022-02-04tls: cap the output scatter list to something reasonableJakub Kicinski1-1/+2
2022-01-17net/tls: Fix another skb memory leak when running kTLS trafficGal Pressman1-0/+1
2022-01-07net/tls: Fix skb memory leak when running kTLS trafficGal Pressman1-0/+1
2021-12-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-11-30net/tls: simplify the tls_set_sw_offload functionTianjia Zhang1-19/+17
2021-11-29net/tls: Fix authentication failure in CCM modeTianjia Zhang1-2/+2
2021-11-25tls: fix replacing proto_opsJakub Kicinski1-7/+40
2021-11-25tls: splice_read: fix accessing pre-processed recordsJakub Kicinski1-8/+25
2021-11-25tls: splice_read: fix record type checkJakub Kicinski1-13/+10
2021-10-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-8/+17
2021-10-28net/tls: Fix flipped sign in async_wait.err assignmentDaniel Jordan1-1/+1
2021-10-28net/tls: Fix flipped sign in tls_err_abort() callsDaniel Jordan1-4/+13
2021-10-26net: Rename ->stream_memory_read to ->sock_is_readableCong Wang2-3/+3
2021-10-25net/tls: getsockopt supports complete algorithm listTianjia Zhang1-0/+42
2021-09-28net/tls: support SM4 CCM algorithmTianjia Zhang1-4/+16
2021-09-16net/tls: support SM4 GCM/CCM algorithmTianjia Zhang2-0/+80
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-06-21tls: prevent oversized sendfile() hangs by ignoring MSG_MOREJakub Kicinski1-1/+1
2021-06-07skbuff: add a parameter to __skb_frag_unrefMatteo Croce1-1/+1
2021-06-07Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller3-11/+57
2021-06-01net/tls: Fix use-after-free after the TLS device goes down and upMaxim Mikityanskiy3-5/+55
2021-06-01net/tls: Replace TLS_RX_SYNC_RUNNING with RCUMaxim Mikityanskiy1-7/+3
2021-05-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+6
2021-05-14tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAITJim Ma1-5/+6
2021-05-12tls splice: remove inappropriate flags checking for MSG_PEEKJim Ma1-2/+1
2021-04-27net/tls: Remove redundant initialization of recordJiapeng Chong1-1/+1
2021-04-01skmsg: Extract __tcp_bpf_recvmsg() and tcp_bpf_wait_data()Cong Wang1-2/+2
2021-03-24net/tls: Fix a typo in tls_device.cWang Hai1-1/+1
2021-02-11net/tls: Select SOCK_RX_QUEUE_MAPPING from TLS_DEVICETariq Toukan1-0/+1
2021-01-18net/tls: Except bond interface from some TLS checksTariq Toukan2-1/+3
2021-01-18net/tls: Device offload to use lowest netdevice in chainTariq Toukan1-1/+1
2020-12-14net: fix proc_fs init handling in af_packet and tlsYonatan Linik1-0/+3
2020-12-01net/tls: make sure tls offload sets salt_sizeRohit Maheshwari1-1/+3
2020-11-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-1/+10
2020-11-27net/tls: add CHACHA20-POLY1305 configurationVadim Fedorenko2-0/+19
2020-11-27net/tls: add CHACHA20-POLY1305 specific behaviorVadim Fedorenko1-2/+4
2020-11-27net/tls: make inline helpers protocol-awareVadim Fedorenko3-14/+13
2020-11-25net/tls: Protect from calling tls_dev_del for TLS RX twiceMaxim Mikityanskiy1-1/+4
2020-11-20net/tls: missing received data after fast remote closeVadim Fedorenko1-0/+6
2020-11-17net/tls: Fix wrong record sn in async mode of device resyncTariq Toukan1-10/+27
2020-11-16net/tls: fix corrupted data in recvmsgVadim Fedorenko1-1/+1
2020-10-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+6
2020-10-13net/tls: use semicolons rather than commas to separate statementsJulia Lawall1-1/+1
2020-10-09net/tls: sendfile fails with ktls offloadRohit Maheshwari1-5/+6
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+7
2020-09-24net/tls: race causes kernel panicRohit Maheshwari1-2/+7
2020-09-01net/tls: Implement getsockopt SOL_TLS TLS_RXYutaro Hayakawa1-8/+17
2020-08-11net/tls: Fix kmap usageIra Weiny1-1/+2
2020-08-07net/tls: allow MSG_CMSG_COMPAT in sendmsgRouven Czerwinski1-1/+2
2020-08-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds2-14/+63
2020-07-28net: remove sockptr_advanceChristoph Hellwig1-3/+3
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-8/+9
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-1/+1
2020-06-27net/tls: Add asynchronous resyncBoris Pismenny1-0/+51
2020-06-27Revert "net/tls: Add force_resync for driver resync"Boris Pismenny1-6/+3
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-1/+1
2020-06-10Merge branch 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2020-06-01bpf: Fix running sk_skb program types with ktlsJohn Fastabend1-2/+18
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-6/+27
2020-05-27net/tls: Add force_resync for driver resyncTariq Toukan1-3/+6
2020-05-25net/tls: fix race condition causing kernel panicVinay Kumar Yadav1-6/+27
2020-05-21net/tls: free record only on encryption errorVadim Fedorenko1-2/+4
2020-05-21net/tls: fix encryption error checkingVadim Fedorenko1-5/+6
2020-04-27net/tls: Fix sk_psock refcnt leak when in tls_data_ready()Xiyu Yang1-2/+3
2020-04-27net/tls: Fix sk_psock refcnt leak in bpf_exec_tx_verdict()Xiyu Yang1-0/+2
2020-04-15net: tls: Avoid assigning 'const' pointer to non-const pointerWill Deacon1-1/+1
2020-04-08net/tls: fix const assignment warningArnd Bergmann1-2/+2
2020-03-21net/tls: Annotate access to sk_prot with READ_ONCE/WRITE_ONCEJakub Sitnicki2-5/+6
2020-03-21net/tls: Read sk_prot once when building tls proto opsJakub Sitnicki1-8/+9
2020-03-21net/tls: Constify base proto ops used for building tls protoJakub Sitnicki1-2/+2
2020-02-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+2