aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
AgeCommit message (Expand)AuthorFilesLines
5 daysMerge tag 'net-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+3
5 daysnet: relax socket state check at accept time.Paolo Abeni1-1/+3
10 daysMerge tag 'net-accept-more-20240515' of git://git.kernel.dk/linuxLinus Torvalds1-5/+5
2024-05-13net: change proto and proto_ops accept typeJens Axboe1-5/+5
2024-05-13net: gro: move L3 flush checks to tcp_gro_receive and udp_gro_receive_segmentRichard Gobert1-40/+1
2024-05-13net: gro: use cb instead of skb->network_headerRichard Gobert1-4/+0
2024-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2024-05-02net: gro: fix udp bad offset in socket lookup by adding {inner_}network_offse...Richard Gobert1-0/+1
2024-04-30inet: introduce dst_rtable() helperEric Dumazet1-1/+1
2024-04-11tcp: add support for SO_PEEK_OFF socket optionJon Maloy1-0/+1
2024-03-07net: introduce include/net/rps.hEric Dumazet1-0/+1
2024-03-07inet: move tcp_protocol and udp_protocol to net_hotdataEric Dumazet1-15/+15
2024-03-07net: move ip_packet_offload and ipv6_packet_offload to net_hotdataEric Dumazet1-9/+9
2024-02-21udp: add local "peek offset enabled" flagPaolo Abeni1-1/+1
2024-02-12ipv4: Set the routing scope properly in ip_route_output_ports().Guillaume Nault1-1/+1
2024-02-04inet: read sk->sk_family once in inet_recv_error()Eric Dumazet1-2/+4
2024-01-19tcp: make sure init the accept_queue's spinlocks onceZhengchao Shao1-0/+3
2023-12-13sctp: support MSG_ERRQUEUE flag in recvmsg()Eric Dumazet1-0/+1
2023-12-08Use READ/WRITE_ONCE() for IP local_port_range.David Laight1-3/+1
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+8
2023-10-13tcp: allow again tcp_disconnect() when threads are waitingPaolo Abeni1-2/+8
2023-10-13net/bpf: Avoid unused "sin_addr_len" warning when CONFIG_CGROUP_BPF is not setMartin KaFai Lau1-1/+1
2023-10-11bpf: Propagate modified uaddrlen from cgroup sockaddr programsDaan De Meyer1-3/+4
2023-08-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-08-20ipv4: fix data-races around inet->inet_idEric Dumazet1-1/+1
2023-08-16inet: move inet->defer_connect to inet->inet_flagsEric Dumazet1-2/+2
2023-08-16inet: move inet->bind_address_no_port to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->nodefrag to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->is_icsk to inet->inet_flagsEric Dumazet1-1/+1
2023-08-16inet: move inet->mc_all to inet->inet_fragsEric Dumazet1-1/+1
2023-08-16inet: move inet->mc_loop to inet->inet_fragsEric Dumazet1-1/+1
2023-08-16inet: move inet->hdrincl to inet->inet_flagsEric Dumazet1-1/+1
2023-08-14net: factor out __inet_listen_sk() helperPaolo Abeni1-16/+22
2023-08-14net: factor out inet{,6}_bind_sk helpersPaolo Abeni1-2/+6
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-21/+0
2023-06-15net: ioctl: Use kernel memory on protocol ioctl callbacksBreno Leitao1-1/+1
2023-06-10net: move gso declarations and functions to their own filesEric Dumazet1-0/+1
2023-06-08ipv4, ipv6: Use splice_eof() to flushDavid Howells1-0/+18
2023-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2023-05-29tcp: deny tcp_disconnect() when threads are waitingEric Dumazet1-0/+2
2023-05-18inet: factor out locked section of inet_accept() in a new helperPaolo Abeni1-15/+17
2023-05-10tcp: add annotations around sk->sk_shutdown accessesEric Dumazet1-1/+1
2023-03-17net: annotate lockless accesses to sk->sk_err_softEric Dumazet1-1/+1
2023-02-15net: no longer support SOCK_REFCNT_DEBUG featureJason Xing1-3/+0
2023-02-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2023-02-08txhash: fix sk->sk_txrehash defaultKevin Yang1-0/+1
2023-02-01net: add support for ipv4 big tcpXin Long1-3/+4
2023-01-04inet: control sockets should not use current thread task_fragEric Dumazet1-0/+1
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-10/+1
2022-11-22dccp/tcp: Update saddr under bhash's lock.Kuniyuki Iwashima1-10/+1
2022-11-21net: Return errno in sk->sk_prot->get_port().Kuniyuki Iwashima1-2/+2
2022-11-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-10-28net: also flag accepted sockets supporting msghdr originated zerocopyStefan Metzmacher1-0/+2
2022-10-28net: Remove the obsolte u64_stats_fetch_*_irq() users (net).Thomas Gleixner1-2/+2
2022-10-12ipv6: Fix data races around sk->sk_prot.Kuniyuki Iwashima1-7/+16
2022-09-20tcp: Set NULL to sk->sk_prot->h.hashinfo.Kuniyuki Iwashima1-1/+1
2022-08-25net: gro: skb_gro_header helper functionRichard Gobert1-6/+3
2022-08-24net: Add a bhash2 table hashed by port and addressJoanne Koong1-5/+21
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-14/+4
2022-07-18tcp: Fix data-races around sysctl_tcp_fastopen.Kuniyuki Iwashima1-1/+1
2022-07-15tcp/udp: Make early_demux back namespacified.Kuniyuki Iwashima1-12/+2
2022-07-15ip: Fix data-races around sysctl_ip_no_pmtu_disc.Kuniyuki Iwashima1-1/+1
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2022-07-13ipv4: Fix data-races around sysctl_ip_dynaddr.Kuniyuki Iwashima1-2/+2
2022-06-20net: Introduce a new proto_ops ->read_skb()Cong Wang1-1/+2
2022-06-19raw: convert raw sockets to RCUEric Dumazet1-0/+2
2022-06-09net: use WARN_ON_ONCE() in inet_sock_destruct()Eric Dumazet1-4/+4
2022-04-22ipv4: Avoid using RTO_ONLINK with ip_route_connect().Guillaume Nault1-3/+3
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-3/+2
2022-02-21gso: do not skip outer ip header in case of ipip and net_failoverTao Liu1-1/+4
2022-01-06net: bpf: Handle return value of BPF_CGROUP_RUN_PROG_INET{4,6}_POST_BIND()Menglong Dong1-0/+2
2021-12-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+4
2021-12-29net: fix use-after-free in tw_timer_handlerMuchun Song1-6/+4
2021-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-12-20inet: fully convert sk->sk_rx_dst to RCU rulesEric Dumazet1-1/+1
2021-11-24gro: remove rcu_read_lock/rcu_read_unlock from gro_complete handlersEric Dumazet1-5/+2
2021-11-24gro: remove rcu_read_lock/rcu_read_unlock from gro_receive handlersEric Dumazet1-8/+4
2021-11-23dccp/tcp: Remove an unused argument in inet_csk_listen_start().Kuniyuki Iwashima1-1/+1
2021-11-17ipv4/raw: support binding to nonlocal addressesRiccardo Paolo Bestetti1-5/+2
2021-11-16net: move gro definitions to include/net/gro.hEric Dumazet1-0/+1
2021-10-27net: introduce sk_forward_alloc_get()Paolo Abeni1-1/+1
2021-10-27inet: remove races in inet{6}_getname()Eric Dumazet1-7/+9
2021-09-30net: snmp: inline snmp_get_cpu_field()Eric Dumazet1-6/+0
2021-09-30net: add new socket option SO_RESERVE_MEMWei Wang1-1/+1
2021-09-23tcp: remove sk_{tr}x_skb_cacheEric Dumazet1-4/+0
2021-08-23bpf: Migrate cgroup_bpf to internal cgroup_bpf_attach_type enumDave Marchevsky1-3/+3
2021-07-23net: socket: rework compat_ifreq_ioctl()Arnd Bergmann1-3/+3
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-06-09inet: annotate data race in inet_send_prepare() and inet_dgram_connect()Eric Dumazet1-2/+2
2021-06-01net: Return the correct errno codeZheng Yongjun1-1/+1
2021-05-17net: Remove the member netns_okYejune Deng1-4/+0
2021-04-01udp: Implement ->read_sock() for sockmapCong Wang1-0/+1
2021-02-23net: remove cmsg restriction from io_uring based send/recvmsg callsJens Axboe1-1/+0
2021-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-7/+11
2021-02-02inet: do not export inet_gro_{receive|complete}Eric Dumazet1-3/+0
2021-02-02net: ipv4: Emit notification when fib hardware flags are changedAmit Cohen1-0/+2
2021-01-27bpf: Allow rewriting to ports under ip_unprivileged_port_startStanislav Fomichev1-3/+6
2021-01-20bpf: Split cgroup_bpf_enabled per attach typeStanislav Fomichev1-4/+5
2020-12-02bpf: Allow bpf_{s,g}etsockopt from cgroup bind{4,6} hooksStanislav Fomichev1-1/+1
2020-08-24io_uring: allow tcp ancillary data for __sys_recvmsg_sock()Luke Hsiao1-0/+1
2020-07-19net: remove compat_sock_common_{get,set}sockoptChristoph Hellwig1-6/+0
2020-07-08bpf: Add BPF_CGROUP_INET_SOCK_RELEASE hookStanislav Fomichev1-0/+3
2020-06-23udp: move gro declarations to net/udp.hEric Dumazet1-3/+0
2020-06-23net: move tcp gro declarations to net/tcp.hEric Dumazet1-3/+0
2020-05-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+6
2020-05-19bpf: Add get{peer, sock}name attach types for sock_addrDaniel Borkmann1-2/+6
2020-05-18ipv4,appletalk: move SIOCADDRT and SIOCDELRT handling into ->compat_ioctlChristoph Hellwig1-6/+32
2020-05-09bpf: Allow any port in bpf_bind helperStanislav Fomichev1-4/+6
2020-05-09net: Refactor arguments of inet{,6}_bindStanislav Fomichev1-5/+5
2020-04-28net: ipv4: add sysctl for nexthop api compatibility modeRoopa Prabhu1-0/+1
2020-04-20net: ipv4: remove redundant assignment to variable rcColin Ian King1-1/+1
2020-03-29mptcp: add and use MIB counter infrastructureFlorian Westphal1-0/+4
2020-03-12inet: Use fallthrough;Joe Perches1-2/+2
2019-11-26net: port < inet_prot_sock(net) --> inet_port_requires_bind_service(net, port)Maciej Żenczykowski1-1/+1
2019-11-06net: annotate lockless accesses to sk->sk_max_ack_backlogEric Dumazet1-1/+1
2019-08-19net: remove empty inet_exit_netLi RongQing1-5/+0
2019-07-03ipv4: use indirect call wrappers for {tcp, udp}_{recv, send}msg()Paolo Abeni1-3/+7
2019-07-03inet: factor out inet_send_prepare()Paolo Abeni1-8/+13
2019-05-31Merge tag 'spdx-5.2-rc3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/g...Linus Torvalds1-5/+1
2019-05-30net: don't clear sock->sk early to avoid trouble in strparserJakub Kicinski1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-04-19net: rework SIOCGSTAMP ioctl handlingArnd Bergmann1-6/+3
2019-04-01net: use rcu_dereference_protected to fetch sk_dst_cache in sk_destructXin Long1-1/+1
2019-03-23tcp: add one skb cache for rxEric Dumazet1-0/+4
2019-02-20gso: validate gso_type on ipip style tunnelsWillem de Bruijn1-1/+10
2018-12-15net: use indirect call wrappers at GRO transport layerPaolo Abeni1-2/+11
2018-11-07inet: minor optimization for backlog setting in listen(2)Yafang Shao1-1/+1
2018-11-07net: provide a sysctl raw_l3mdev_accept for raw socket lookup with VRFsMike Manning1-0/+2
2018-09-13gso_segment: Reset skb->mac_len after modifying network headerToke Høiland-Jørgensen1-0/+1
2018-08-01net: ipv4: Control SKB reprioritization after forwardingPetr Machata1-0/+1
2018-08-01net: add helpers checking if socket can be bound to nonlocal addressVincent Bernat1-2/+1
2018-07-15bpf: Add BPF_SOCK_OPS_TCP_LISTEN_CBAndrey Ignatov1-0/+1
2018-07-04net: ipv4: listified version of ip_rcvEdward Cree1-0/+1
2018-07-03Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+4
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-4/+4
2018-06-26net: Convert GRO SKB handling to list_head.David Miller1-6/+6
2018-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+4
2018-05-26net: convert datagram_poll users tp ->poll_maskChristoph Hellwig1-3/+3
2018-05-26net/tcp: convert to ->poll_maskChristoph Hellwig1-1/+1
2018-04-29tcp: add TCP_ZEROCOPY_RECEIVE support for zerocopy receiveEric Dumazet1-0/+2
2018-04-16tcp: implement mmap() for zero copy receiveEric Dumazet1-1/+1
2018-04-16tcp: fix SO_RCVLOWAT and RCVBUF autotuningEric Dumazet1-0/+1
2018-03-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-18/+53
2018-03-31bpf: Post-hooks for sys_bindAndrey Ignatov1-6/+12
2018-03-31bpf: Hooks for sys_connectAndrey Ignatov1-0/+13
2018-03-31net: Introduce __inet_bind() and __inet6_bindAndrey Ignatov1-15/+24
2018-03-31bpf: Hooks for sys_bindAndrey Ignatov1-0/+7
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-2/+0
2018-02-13net: Convert pernet_subsys, registered from inet_init()Kirill Tkhai1-0/+2
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-3/+2
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-1/+1
2018-01-24ip_rt_ioctl(): take copyin to callerAl Viro1-1/+6
2018-01-24devinet_ioctl(): take copyin/copyout to callerAl Viro1-5/+16
2018-01-05ip: do not set RFS core on error queue readsSoheil Hassas Yeganeh1-1/+2
2017-12-20net: tracepoint: replace tcp_set_state tracepoint with inet_sock_set_state tr...Yafang Shao1-0/+14
2017-11-24net: accept UFO datagrams from tuntap and packetWillem de Bruijn1-2/+10
2017-10-18ipv4: mark expected switch fall-throughsGustavo A. R. Silva1-1/+2
2017-10-01ipv4: Namespaceify tcp_fastopen_key knobHaishuang Yan1-1/+1
2017-10-01ipv4: Remove the 'publish' logic in tcp_fastopen_init_key_onceHaishuang Yan1-1/+1
2017-10-01ipv4: Namespaceify tcp_fastopen knobHaishuang Yan1-3/+4
2017-08-28net: Add comment that early_demux can change via sysctlDavid Ahern1-0/+6
2017-08-28Revert "ipv4: make net_protocol const"David Ahern1-2/+2
2017-08-28ipv4: make net_protocol constBhumika Goyal1-2/+2
2017-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+7
2017-08-09igmp: Fix regression caused by igmp sysctl namespace code.Nikolay Borisov1-0/+7
2017-08-03ipv4: Introduce ipip_offload_init helper function.Tonghao Zhang1-1/+7
2017-08-01proto_ops: Add locked held versions of sendmsg and sendpageTom Herbert1-0/+2
2017-07-17net: Remove all references to SKB_GSO_UDP.David S. Miller1-10/+2
2017-07-01net: convert sock.sk_wmem_alloc from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-06-04net: ping: do not abuse udp_poll()Eric Dumazet1-1/+1
2017-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-2/+6
2017-04-28ipv4: Don't pass IP fragments to upper layer GRO handlers.Steffen Klassert1-0/+3
2017-03-24net: Add sysctl to toggle early demux for tcp and udpsubashab@codeaurora.org1-2/+6
2017-03-09net: Work around lockdep limitation in sockets that use socketsDavid Howells1-2/+3
2017-03-09net/tunnel: set inner protocol in network gro hooksPaolo Abeni1-1/+3
2017-02-15net: Add a skb_gro_flush_final helper.Steffen Klassert1-1/+1
2017-01-25net/tcp-fastopen: make connect()'s return case more consistent with non-TFOWilly Tarreau1-3/+3
2017-01-25net/tcp-fastopen: Add new API supportWei Wang1-7/+24
2017-01-24Introduce a sysctl that modifies the value of PROT_SOCK.Krister Johansen1-1/+4
2016-12-29ipv4: Namespaceify tcp_tw_recycle and tcp_max_tw_buckets knobHaishuang Yan1-2/+0
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-12-02bpf: Add new cgroup attach type to enable sock modificationsDavid Ahern1-1/+11
2016-11-29GSO: Reload iph after pskb_may_pullArnaldo Carvalho de Melo1-1/+1
2016-11-03inet: fix sleeping inside inet_wait_for_connect()WANG Cong1-5/+4
2016-10-20net: add recursion limit to GROSabrina Dubroca1-1/+1
2016-09-19gso: Support partial splitting at the frag_list pointerSteffen Klassert1-4/+10
2016-08-28tcp: Set read_sock and peek_len proto_opsTom Herbert1-0/+2
2016-08-23net-tcp: retire TFO_SERVER_WO_SOCKOPT2 configYuchung Cheng1-13/+8
2016-07-11ipv4: af_inet: make it explicitly non-modularPaul Gortmaker1-4/+1
2016-05-23ipv4: Fix non-initialized TTL when CONFIG_SYSCTL=nEzequiel Garcia1-0/+8
2016-05-20ip4ip6: Support for GSO/GROTom Herbert1-5/+7
2016-05-20net: define gso types for IPx over IPv4 and IPv6Tom Herbert1-1/+1
2016-05-20gso: Remove arbitrary checks for unsupported GSOTom Herbert1-18/+0
2016-04-14GSO: Support partial segmentation offloadAlexander Duyck1-4/+16
2016-04-14GRO: Add support for TCP with fixed IPv4 ID field, limit tunnel IP ID valuesAlexander Duyck1-7/+28
2016-04-14GSO: Add GSO type for fixed IPv4 IDAlexander Duyck1-8/+11
2016-04-07net: introduce lockdep_is_held and update various places to use itHannes Frederic Sowa1-1/+1
2016-04-05udp: enable MSG_PEEK at non-zero offsetsamanthakumar1-0/+1
2016-03-21net: ipv4: Fix truncated timestamp returned by inet_current_timestamp()Deepa Dinamani1-1/+1