aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-14net: remove {revc,send}msg_copy_msghdr() from exportsJens Axboe1-7/+7
2024-02-28net: remove SLAB_MEM_SPREAD flag usageChengming Zhou1-1/+1
2024-01-08Merge tag 'vfs-6.8.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-4/+2
2024-01-03net: Save and restore msg_namelen in sock_sendmsgMarc Dionne1-0/+2
2023-12-05iov_iter: replace import_single_range() with import_ubuf()Jens Axboe1-2/+2
2023-12-05iov_iter: remove unused 'iov' argument from import_single_range()Jens Axboe1-4/+2
2023-11-01bpf: Add __bpf_hook_{start,end} macrosDave Marchevsky1-6/+2
2023-11-01Merge tag 'for-6.7/io_uring-sockopt-2023-10-30' of git://git.kernel.dk/linuxLinus Torvalds1-37/+67
2023-10-30Merge tag 'vfs-6.7.xattr' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2023-10-19net/socket: Break down __sys_getsockoptBreno Leitao1-23/+41
2023-10-19net/socket: Break down __sys_setsockoptBreno Leitao1-14/+25
2023-10-19bpf: Add sockptr support for setsockoptBreno Leitao1-1/+1
2023-10-19bpf: Add sockptr support for getsockoptBreno Leitao1-2/+3
2023-10-10net: move sockfs_xattr_handlers to .rodataWedson Almeida Filho1-1/+1
2023-10-01net: prevent address rewrite in kernel_bind()Jordan Rife1-1/+6
2023-10-01net: prevent rewrite of msg_name in sock_sendmsg()Jordan Rife1-6/+23
2023-09-07Merge tag 'net-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-7/+8
2023-09-01net: annotate data-races around sk->sk_bind_phcEric Dumazet1-1/+1
2023-09-01net: annotate data-races around sk->sk_tsflagsEric Dumazet1-6/+7
2023-08-29Merge tag 'for-6.6/io_uring-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-0/+2
2023-08-23net: Avoid address overwrite in kernel_connectJordan Rife1-1/+6
2023-08-16bpf: Add update_socket_protocol hookGeliang Tang1-1/+25
2023-08-09net: annotate data-races around sock->opsEric Dumazet1-56/+80
2023-08-09io_uring: Add io_uring command support for socketsBreno Leitao1-0/+2
2023-06-28Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-72/+14
2023-06-26Merge tag 'for-6.5/io_uring-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-48/+0
2023-06-08splice, net: Add a splice_eof op to file-ops and socket-opsDavid Howells1-0/+10
2023-06-08splice, net: Use sendmsg(MSG_SPLICE_PAGES) rather than ->sendpage()David Howells1-24/+2
2023-05-24net: Make sock_splice_read() use copy_splice_read() by defaultDavid Howells1-1/+1
2023-05-23net: Declare MSG_SPLICE_PAGES internal sendmsg() flagDavid Howells1-0/+2
2023-05-15net: set FMODE_NOWAIT for socketsJens Axboe1-0/+1
2023-05-10net: annotate sk->sk_err write from do_recvmmsg()Eric Dumazet1-1/+1
2023-04-19net: skbuff: hide wifi_acked when CONFIG_WIRELESS not setJakub Kicinski1-0/+2
2023-03-13net: socket: suppress unused warningVincenzo Palazzo1-1/+1
2023-03-08net: avoid double iput when sock_alloc_file failsThadeu Lima de Souza Cascardo1-7/+4
2023-02-21Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-4/+29
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+3
2023-02-17Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-3/+6
2023-02-14net: use a bounce buffer for copying skb->markEric Dumazet1-3/+6
2023-01-19fs: port xattr to mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-13sock: add tracepoint for send recv lengthYunhui Cui1-4/+29
2022-12-13Merge tag 'net-next-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-7/+1
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-6/+6
2022-10-24net: introduce and use custom sockopt socket flagPaolo Abeni1-7/+1
2022-10-06Merge tag 'pull-d_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-1/+1
2022-08-24net: Fix a data-race around sysctl_somaxconn.Kuniyuki Iwashima1-1/+1
2022-08-20dynamic_dname(): drop unused dentry argumentAl Viro1-1/+1
2022-08-03Merge tag 'net-next-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-9/+6
2022-07-24Merge branch 'for-5.20/io_uring' into for-5.20/io_uring-zerocopy-sendJens Axboe1-21/+16
2022-07-24net: copy from user before calling __copy_msghdrDylan Yudaken1-21/+16
2022-07-19Merge branch 'io_uring-zerocopy-send' of git://git.kernel.org/pub/scm/linux/k...Jakub Kicinski1-0/+2
2022-07-19skbuff: carry external ubuf_info in msghdrPavel Begunkov1-0/+2
2022-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-10/+6
2022-06-23net: clear msg_get_inq in __sys_recvfrom() and __copy_msghdr_from_user()Eric Dumazet1-10/+6
2022-06-13net: make __sys_accept4_file() staticYajun Deng1-9/+6
2022-05-25Merge tag 'net-next-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-14/+61
2022-05-10ptp: Support late timestamp determinationGerhard Engleder1-10/+39
2022-05-10ptp: Pass hwtstamp to ptp_convert_timestamp()Gerhard Engleder1-1/+1
2022-05-10ptp: Request cycles for TX timestampGerhard Engleder1-1/+10
2022-04-28net: SO_RCVMARK socket option for SO_MARK with recvmsg()Erin MacNeil1-3/+12
2022-04-24net: add __sys_socket_file()Jens Axboe1-10/+42
2022-03-22fs: allocate inode by using alloc_inode_sb()Muchun Song1-1/+1
2022-02-14net: fix documentation for kernel_getsocknameAlex Maydanik1-2/+2
2022-01-06net: fix SOF_TIMESTAMPING_BIND_PHC to work with multiple socketsMiroslav Lichvar1-3/+6
2022-01-02net: socket.c: style fixHamish MacDonald1-1/+1
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2021-12-27net: bridge: Get SIOCGIFBR/SIOCSIFBR ioctl working in compat modeRemi Pommarel1-18/+2
2021-12-16add missing bpf-cgroup.h includesJakub Kicinski1-0/+1
2021-08-31Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-262/+90
2021-08-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+5
2021-08-27net: don't unconditionally copy_from_user a struct ifreq for socket ioctlsPeter Collingbourne1-1/+5
2021-08-25net: add accept helper not installing fdPavel Begunkov1-34/+37
2021-07-29mctp: Add MCTP baseJeremy Kerr1-0/+1
2021-07-27net: bridge: move bridge ioctls out of .ndo_do_ioctlArnd Bergmann1-10/+23
2021-07-27net: socket: return changed ifreq from SIOCDEVPRIVATEArnd Bergmann1-1/+1
2021-07-27dev_ioctl: pass SIOCDEVPRIVATE data separatelyArnd Bergmann1-42/+13
2021-07-23net: socket: rework compat_ifreq_ioctl()Arnd Bergmann1-38/+65
2021-07-23net: socket: simplify dev_ifconf handlingArnd Bergmann1-45/+14
2021-07-23net: socket: rework SIOC?IFMAP ioctlsArnd Bergmann1-37/+2
2021-07-23ethtool: improve compat ioctl handlingArnd Bergmann1-124/+1
2021-07-01net: socket: support hardware timestamp conversion to PHC boundYangbo Lu1-6/+13
2021-06-21net: add pf_family_names[] for protocol familyYejune Deng1-2/+50
2021-06-12net: make get_net_ns return error if NET_NS is disabledChangbin Du1-13/+0
2021-03-25net: Fix a misspell in socket.cLu Wei1-1/+1
2021-02-27Merge tag 'io_uring-worker.v3-2021-02-25' of git://git.kernel.dk/linux-blockLinus Torvalds1-10/+0
2021-02-23net: remove cmsg restriction from io_uring based send/recvmsg callsJens Axboe1-10/+0
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+4
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-2/+3
2021-01-24acl: handle idmapped mountsChristian Brauner1-0/+1
2021-01-20bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVEStanislav Fomichev1-0/+3
2020-12-16Merge tag 'for-5.11/io_uring-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+12
2020-12-04net: Remove the err argument from sock_from_fileFlorent Revest1-11/+16
2020-11-23net: don't include ethtool.h from netdevice.hJakub Kicinski1-0/+1
2020-11-23net: provide __sys_shutdown_sock() that takes a socketJens Axboe1-3/+12
2020-11-17net: wan: Delete the DLCI / SDLA driversXie He1-25/+0
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+4
2020-10-02net: add WARN_ONCE in kernel_sendpage() for improper zero-copy sendColy Li1-2/+4
2020-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2020-08-27net: Fix some commentsMiaohe Lin1-2/+2
2020-08-24io_uring: allow tcp ancillary data for __sys_recvmsg_sock()Luke Hsiao1-3/+5
2020-08-10net: Revert "net: optimize the sockptr_t for unified kernel/user address spaces"Christoph Hellwig1-5/+1
2020-08-08net: Convert to use the fallthrough macroMiaohe Lin1-3/+3
2020-08-08net: Remove meaningless jump label out_fsMiaohe Lin1-2/+1
2020-08-08net: Set fput_needed iff FDPUT_FPUT is setMiaohe Lin1-1/+1
2020-08-08net: Use helper function fdput()Miaohe Lin1-4/+2
2020-07-28net: improve the user pointer check in init_user_sockptrChristoph Hellwig1-1/+1
2020-07-24net: optimize the sockptr_t for unified kernel/user address spacesChristoph Hellwig1-1/+5
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-16/+7
2020-07-24net: switch sock_set_timeout to sockptr_tChristoph Hellwig1-1/+2
2020-07-19net: make ->{get,set}sockopt in proto_ops optionalChristoph Hellwig1-0/+4
2020-07-19net: remove compat_sys_{get,set}sockoptChristoph Hellwig1-11/+14
2020-07-19net: streamline __sys_getsockoptChristoph Hellwig1-17/+14
2020-07-19net: streamline __sys_setsockoptChristoph Hellwig1-30/+27
2020-07-13net: socket: Move kerneldoc next to function it documentsAndrew Lunn1-9/+8
2020-07-04net: use mptcp setsockopt function for SOL_SOCKET on mptcp socketsFlorian Westphal1-1/+12
2020-05-29net: remove kernel_setsockoptChristoph Hellwig1-31/+0
2020-05-27net: remove kernel_getsockoptChristoph Hellwig1-34/+0
2020-05-18ipv4,appletalk: move SIOCADDRT and SIOCDELRT handling into ->compat_ioctlChristoph Hellwig1-62/+0
2020-05-18ipv6: move SIOCADDRT and SIOCDELRT handling into ->compat_ioctlChristoph Hellwig1-46/+17
2020-05-11net: cleanly handle kernel vs user buffers for ->msg_controlChristoph Hellwig1-16/+6
2020-03-30Merge tag 'for-5.7/io_uring-2020-03-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+21
2020-03-20io_uring: make sure accept honor rlimit nofileJens Axboe1-3/+5
2020-03-10net: abstract out normal and compat msghdr importJens Axboe1-4/+21
2020-01-08socket: fix unused-function warningArnd Bergmann1-11/+12
2019-12-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+2
2019-12-13Merge tag 'io_uring-5.5-20191212' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2019-12-12net: Allow to show socket-specific information in /proc/[pid]/fdinfo/[fd]Kirill Tkhai1-0/+12
2019-12-10net: make socket read/write_iter() honor IOCB_NOWAITJens Axboe1-2/+2
2019-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-1/+6
2019-12-06net: avoid an indirect call in ____sys_recvmsg()Eric Dumazet1-1/+6
2019-12-03io_uring: ensure async punted connect requests copy dataJens Axboe1-8/+8
2019-12-03io_uring: ensure async punted sendmsg/recvmsg requests copy dataJens Axboe1-43/+17
2019-12-01Merge tag 'y2038-cleanups-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+3
2019-11-26net: disallow ancillary data for __sys_{send,recv}msg_file()Jens Axboe1-6/+37
2019-11-26net: separate out the msghdr copy from ___sys_{send,recv}msg()Jens Axboe1-46/+95
2019-11-25net: add __sys_connect_file() helperJens Axboe1-8/+22
2019-11-25Merge tag 'for-5.5/io_uring-20191121' of git://git.kernel.dk/linux-blockLinus Torvalds1-24/+41
2019-11-25vfs: mark pipes and sockets as stream-like file descriptorsLinus Torvalds1-0/+1
2019-11-15y2038: socket: use __kernel_old_timespec instead of timespecArnd Bergmann1-1/+1
2019-11-15y2038: remove CONFIG_64BIT_TIMEArnd Bergmann1-1/+1
2019-10-29net: add __sys_accept4_file() helperJens Axboe1-24/+41
2019-10-23compat_ioctl: move SIOCOUTQ out of compat_ioctl.cArnd Bergmann1-0/+2
2019-10-23compat_ioctl: handle SIOCOUTQNSDArnd Bergmann1-0/+1
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-6/+10
2019-07-13Merge tag 'for-5.3/io_uring-20190711' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+17
2019-07-09io_uring: add support for recvmsg()Jens Axboe1-0/+8
2019-07-09io_uring: add support for sendmsg()Jens Axboe1-0/+7
2019-07-08coallocate socket_wq with socket itselfAl Viro1-14/+5
2019-07-08sockfs: switch to ->free_inode()Al Viro1-3/+3
2019-07-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+30
2019-07-03net: adjust socket level ICW to cope with ipv6 variant of {recv, send}msgPaolo Abeni1-12/+11
2019-06-27bpf: implement getsockopt and setsockopt hooksStanislav Fomichev1-0/+30
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+1
2019-06-05net: socket: drop unneeded likely() call around IS_ERR()Enrico Weigelt1-1/+1
2019-05-31uio: make import_iovec()/compat_import_iovec() return bytes on successJens Axboe1-1/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-7/+1
2019-05-25vfs: Convert sockfs to use the new mount APIDavid Howells1-6/+10
2019-05-25mount_pseudo(): drop 'name' argument, switch to d_make_root()Al Viro1-1/+1
2019-05-19net: fix kernel-doc warnings for socket.cRandy Dunlap1-17/+17
2019-05-05net: use indirect calls helpers at the socket layerPaolo Abeni1-4/+16
2019-04-26net: socket: Fix missing break in switch statementGustavo A. R. Silva1-0/+1
2019-04-19net: socket: implement 64-bit timestampsArnd Bergmann1-6/+18
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann1-34/+14
2019-03-15net: add documentation to socket.cPedro Tammela1-18/+259
2019-03-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2019-02-25net: socket: set sock->sk to NULL after calling proto_ops::release()Eric Biggers1-0/+1
2019-02-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-19/+63
2019-02-03socket: Add SO_TIMESTAMPING_NEWDeepa Dinamani1-5/+8
2019-02-03socket: Add SO_TIMESTAMP[NS]_NEWDeepa Dinamani1-8/+27
2019-02-03socket: Use old_timeval types for socket timestampsDeepa Dinamani1-1/+1
2019-02-03sockopt: Rename SO_TIMESTAMP* to SO_TIMESTAMP*_OLDDeepa Dinamani1-4/+4
2019-01-30net: socket: make bond ioctls go through compat_ifreq_ioctl()Johannes Berg1-4/+4
2019-01-30net: socket: fix SIOCGIFNAME in compatJohannes Berg1-1/+2
2019-01-30Revert "kill dev_ifsioc()"Johannes Berg1-0/+49
2019-01-30Revert "socket: fix struct ifreq size in compat ioctl"Johannes Berg1-14/+8
2018-12-28Merge tag 'y2038-for-4.21' of ssh://gitolite.kernel.org:/pub/scm/linux/kernel...Linus Torvalds1-16/+46
2018-12-18y2038: socket: Add compat_sys_recvmmsg_time64Arnd Bergmann1-16/+46
2018-11-17socket: do a generic_file_splice_read when proto_ops has no splice_readSlavomir Kaslev1-1/+1
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-3/+3
2018-10-25Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-10/+8
2018-10-24iov_iter: Separate type from direction and use accessor functionsDavid Howells1-3/+3
2018-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+8
2018-10-18net: socket: fix a missing-check bugWenwen Wang1-3/+8
2018-10-05socket: Tighten no-error check in bind()Jakub Sitnicki1-1/+1
2018-09-13socket: fix struct ifreq size in compat ioctlJohannes Berg1-8/+14
2018-08-29y2038: socket: Change recvmmsg to use __kernel_timespecArnd Bergmann1-10/+8
2018-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-11/+17
2018-08-14net: sock_diag: Fix spectre v1 gadget in __sock_diag_cmd()Jeremy Cline1-2/+1
2018-08-13Merge branch 'work.open3' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-24/+5
2018-08-02Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+4
2018-07-31net: remove bogus RCU annotations on socket.wqChristoph Hellwig1-6/+4
2018-07-30net: remove sock_poll_busy_flagChristoph Hellwig1-5/+11
2018-07-30net: remove sock_poll_busy_loopChristoph Hellwig1-1/+4
2018-07-28net: socket: Fix potential spectre v1 gadget in sock_is_registeredJeremy Cline1-1/+2
2018-07-28net: socket: fix potential spectre v1 gadget in socketcallJeremy Cline1-0/+2
2018-07-12new wrapper: alloc_file_pseudo()Al Viro1-23/+5
2018-07-12alloc_file(): switch to passing O_... flags instead of FMODE_... modeAl Viro1-2/+1