aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/skmsg.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-08bpf, skmsg: Fix NULL pointer dereference in sk_psock_skb_ingress_enqueueJason Xing1-4/+1
2024-02-21bpf, sockmap: Fix NULL pointer dereference in sk_psock_verdict_data_ready()Shigeru Yoshida1-2/+5
2023-11-30bpf, sockmap: af_unix stream sockets need to hold ref for pair sockJohn Fastabend1-0/+2
2023-09-04bpf, sockmap: Fix skb refcnt race after locking changesJohn Fastabend1-4/+8
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+8
2023-08-09bpf, sockmap: Fix bug that strp_done cannot be calledXu Kuohai1-2/+8
2023-08-09net: annotate data-races around sock->opsEric Dumazet1-2/+6
2023-06-01bpf, sockmap: Avoid potential NULL dereference in sk_psock_verdict_data_ready()Eric Dumazet1-1/+2
2023-05-23bpf, sockmap: Incorrectly handling copied_seqJohn Fastabend1-8/+7
2023-05-23bpf, sockmap: Wake up polling after data copyJohn Fastabend1-1/+10
2023-05-23bpf, sockmap: Improved check for empty queueJohn Fastabend1-24/+8
2023-05-23bpf, sockmap: Reschedule is now done through backlogJohn Fastabend1-2/+0
2023-05-23bpf, sockmap: Convert schedule_work into delayed_workJohn Fastabend1-7/+14
2023-05-23bpf, sockmap: Pass skb ownership through read_skbJohn Fastabend1-2/+0
2023-01-23net/sock: Introduce trace_sk_data_ready()Peilin Ye1-0/+5
2022-12-01bpf, sockmap: Fix missing BPF_F_INGRESS flag when using apply_bytesPengcheng Yang1-3/+6
2022-11-03bpf, sock_map: Move cancel_work_sync() out of sock lockCong Wang1-5/+2
2022-10-16skmsg: pass gfp argument to alloc_sk_msg()Eric Dumazet1-4/+4
2022-09-26skmsg: Schedule psock work if the cached skb exists on the psockLiu Jian1-4/+8
2022-08-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-2/+2
2022-08-18tcp: handle pure FIN case correctlyCong Wang1-2/+3
2022-08-17skmsg: Fix wrong last sg check in sk_msg_recvmsg()Liu Jian1-2/+2
2022-08-11Merge tag 'net-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-1/+3
2022-08-10net: fix refcount bug in sk_psock_get (2)Hawkins Jiawei1-1/+3
2022-08-08iov_iter: advancing variants of iov_iter_get_pages{,_alloc}()Al Viro1-2/+1
2022-07-11skmsg: Fix invalid last sg check in sk_msg_recvmsg()Liu Jian1-2/+2
2022-07-09Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-30/+18
2022-06-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+5
2022-06-23sock: redo the psock vs ULP protection checkJakub Kicinski1-0/+5
2022-06-20skmsg: Get rid of unncessary memset()Cong Wang1-10/+13
2022-06-20skmsg: Get rid of skb_clone()Cong Wang1-6/+1
2022-06-20net: Introduce a new proto_ops ->read_skb()Cong Wang1-15/+5
2022-06-02bpf, sockmap: Fix sk->sk_forward_alloc warn_on in sk_stream_kill_queuesWang Yufen1-0/+1
2022-04-28bpf, sockmap: Call skb_linearize only when required in sk_psock_skb_ingress_e...Liu Jian1-9/+13
2022-03-15bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is fullWang Yufen1-4/+13
2022-03-02bpf, sockmap: Do not ignore orig_len parameterEric Dumazet1-1/+1
2021-11-20bpf, sockmap: Re-evaluate proto ops when psock is removed from sockmapJohn Fastabend1-0/+5
2021-11-01Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-10/+33
2021-11-01skmsg: Lose offset info in sk_psock_skb_ingressLiu Jian1-10/+33
2021-10-26skmsg: Extract and reuse sk_msg_is_readable()Cong Wang1-0/+14
2021-07-27bpf, sockmap: Fix memleak on ingress msg enqueueJohn Fastabend1-6/+0
2021-07-27bpf, sockmap: On cleanup we additionally need to remove cached skbJohn Fastabend1-6/+29
2021-07-27bpf, sockmap: Zap ingress queues after stopping strparserJohn Fastabend1-2/+2
2021-07-15bpf, sockmap: Fix potential memory leak on unlikely error caseJohn Fastabend1-5/+11
2021-06-21skmsg: Increase sk->sk_drops when dropping packetsCong Wang1-8/+14
2021-06-21skmsg: Pass source psock to sk_psock_skb_redirect()Cong Wang1-5/+6
2021-06-21skmsg: Teach sk_psock_verdict_apply() to return errorsCong Wang1-9/+14
2021-06-21skmsg: Fix a memory leak in sk_psock_verdict_apply()Cong Wang1-0/+5
2021-06-21skmsg: Clear skb redirect pointer before dropping itCong Wang1-0/+2
2021-06-21skmsg: Improve udp_bpf_recvmsg() accuracyCong Wang1-23/+0
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+5
2021-04-07bpf, sockmap: Fix incorrect fwd_alloc accountingJohn Fastabend1-7/+5
2021-04-01skmsg: Extract __tcp_bpf_recvmsg() and tcp_bpf_wait_data()Cong Wang1-0/+98
2021-04-01sock: Introduce sk->sk_prot->psock_update_sk_prot()Cong Wang1-5/+0
2021-04-01sock_map: Introduce BPF_SK_SKB_VERDICTCong Wang1-1/+3
2021-04-01skmsg: Use GFP_KERNEL in sk_psock_create_ingress_msg()Cong Wang1-1/+1
2021-04-01skmsg: Use rcu work for destroying psockCong Wang1-12/+5
2021-04-01skmsg: Avoid lock_sock() in sk_psock_backlog()Cong Wang1-16/+34
2021-04-01skmsg: Introduce a spinlock to protect ingress_msgCong Wang1-0/+3
2021-04-01skmsg: Lock ingress_skb when purgingCong Wang1-1/+1
2021-02-26skmsg: Get rid of sk_psock_bpf_run()Cong Wang1-10/+4
2021-02-26skmsg: Make __sk_psock_purge_ingress_msg() staticCong Wang1-1/+1
2021-02-26sock_map: Rename skb_parser and skb_verdictCong Wang1-7/+7
2021-02-26skmsg: Move sk_redir from TCP_SKB_CB to skbCong Wang1-12/+19
2021-02-26bpf: Compute data_end dynamically with JIT codeCong Wang1-1/+0
2021-02-26skmsg: Get rid of struct sk_psock_parserCong Wang1-37/+16
2021-02-26bpf: Clean up sockmap related KconfigsCong Wang1-66/+79
2021-01-28skmsg: Make sk_psock_destroy() staticCong Wang1-2/+1
2020-11-18bpf, sockmap: Avoid failures from skb_to_sgvec when skb has frag_listJohn Fastabend1-2/+9
2020-11-18bpf, sockmap: Handle memory acct if skb_verdict prog redirects to selfJohn Fastabend1-0/+8
2020-11-18bpf, sockmap: Avoid returning unneeded EAGAIN when redirecting to selfJohn Fastabend1-19/+53
2020-11-18bpf, sockmap: Use truesize with sk_rmem_schedule()John Fastabend1-1/+1
2020-11-18bpf, sockmap: Ensure SO_RCVBUF memory is observed on ingress redirectJohn Fastabend1-4/+16
2020-10-11bpf, sockmap: Allow skipping sk_skb parser programJohn Fastabend1-0/+78
2020-10-11bpf, sockmap: Add memory accounting so skbs on ingress lists are visibleJohn Fastabend1-16/+15
2020-10-11bpf, sockmap: Remove skb_orphan and let normal skb_kfree do cleanupJohn Fastabend1-7/+7
2020-10-11bpf, sockmap: Remove dropped data on errors in redirect caseJohn Fastabend1-14/+14
2020-10-11bpf, sockmap: Remove skb_set_owner_w wmem will be taken later from sendpageJohn Fastabend1-2/+0
2020-10-11bpf, sockmap: On receive programs try to fast track SK_PASS ingressJohn Fastabend1-2/+15
2020-10-11bpf, sockmap: Skb verdict SK_PASS to self already checked rmem limitsJohn Fastabend1-9/+6
2020-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+0
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+0
2020-08-21net: sk_msg: Simplify sk_psock initializationLorenz Bauer1-6/+28
2020-06-28bpf, sockmap: RCU dereferenced psock may be used outside RCU blockJohn Fastabend1-1/+9
2020-06-28bpf, sockmap: RCU splat with redirect and strparser error or TLSJohn Fastabend1-7/+6
2020-06-01bpf: Fix running sk_skb program types with ktlsJohn Fastabend1-3/+40
2020-06-01bpf: Refactor sockmap redirect code so its easy to reuseJohn Fastabend1-21/+34
2020-02-24bpf: Use bpf_prog_run_pin_on_cpu() at simple call sites.David Miller1-6/+2
2020-02-21net, sk_msg: Clear sk_user_data pointer on clone if taggedJakub Sitnicki1-1/+1
2020-01-22net, sk_msg: Don't check if sock is locked when tearing down psockJakub Sitnicki1-2/+0
2020-01-15bpf: Sockmap, ensure sock lock held during tear downJohn Fastabend1-0/+2
2019-11-28net: skmsg: fix TLS 1.3 crash with full sk_msgJakub Kicinski1-1/+1
2019-11-21bpf: skmsg, fix potential psock NULL pointer dereferenceJohn Fastabend1-5/+8
2019-11-05net/tls: fix sk_msg trim on fallback to copy modeJakub Kicinski1-5/+15
2019-08-24net/core/skmsg: Delete an unnecessary check before the function call “consu...Markus Elfring1-2/+1
2019-07-22bpf: sockmap/tls, close can race with map freeJohn Fastabend1-2/+2
2019-05-14bpf: sockmap fix msg->sg.size account on ingress skbJohn Fastabend1-0/+1
2019-05-14bpf: sockmap, only stop/flush strp if it was enabled at some pointJohn Fastabend1-2/+4
2019-03-07bpf: Stop the psock parser before canceling its workJakub Sitnicki1-0/+1
2019-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+1
2019-01-29sk_msg: Always cancel strp work before freeing the psockJakub Sitnicki1-2/+1
2019-01-17Optimize sk_msg_clone() by data merge to end dst sg entryVakul Garg1-8/+17
2018-12-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-3/+20
2018-12-26Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2018-12-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+3
2018-12-21Prevent overflow of sk_msg in sk_msg_clone()Vakul Garg1-0/+3
2018-12-20bpf: sk_msg, zap ingress queue on psock downJohn Fastabend1-0/+1
2018-12-20bpf: sk_msg, fix socket data_ready eventsJohn Fastabend1-3/+3
2018-12-20bpf: skb_verdict, support SK_PASS on RX BPF pathJohn Fastabend1-0/+16
2018-12-01net/core/skmsg: Replace call_rcu_sched() with call_rcu()Paul E. McKenney1-1/+1
2018-10-15tls: convert to generic sk_msg interfaceDaniel Borkmann1-0/+39
2018-10-15bpf, sockmap: convert to generic sk_msg interfaceDaniel Borkmann1-0/+763