aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_output.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-03net: psp: don't assume reply skbs will have a socketJakub Kicinski1-1/+1
2025-09-18tcp: add datapath logic for PSP with inline key exchangeJakub Kicinski1-1/+4
2025-08-26ipv4: Convert ->flowi4_tos to dscp_t.Guillaume Nault1-1/+2
2025-08-01net: Add locking to protect skb->dev access in ip_outputSharath Chandra Vurukala1-5/+10
2025-07-08net: splice: Drop unused @gfpMichal Luczaj1-2/+1
2025-07-02ipv4: adopt dst_dev, skb_dst_dev and skb_dst_dev_net[_rcu]Eric Dumazet1-3/+3
2025-05-13net: devmem: Implement TX pathMina Almasry1-1/+2
2025-03-17tcp: add new TCP_TW_ACK_OOW state and allow ECN bits in TOSIlpo Järvinen1-2/+1
2024-12-20ipv4: Use inet_sk_init_flowi4() in __ip_queue_xmit().Guillaume Nault1-12/+4
2024-12-16sock: support SO_PRIORITY cmsgAnna Emese Nyiri1-2/+2
2024-12-04inet: add indirect call wrapper for getfrag() callsEric Dumazet1-4/+9
2024-10-14ipv4: tcp: give socket pointer to control skbsEric Dumazet1-1/+4
2024-10-04net_tstamp: add SCM_TS_OPT_ID for RAW socketsVadim Fedorenko1-1/+1
2024-10-04net_tstamp: add SCM_TS_OPT_ID to provide OPT_ID in control messageVadim Fedorenko1-5/+14
2024-09-04ipv4: Unmask upper DSCP bits in __ip_queue_xmit()Ido Schimmel1-1/+1
2024-08-31ipv4: Unmask upper DSCP bits in ip_send_unicast_reply()Ido Schimmel1-1/+2
2024-08-20l2tp: use skb_queue_purge in l2tp_ip_destroy_sockJames Chapman1-1/+0
2024-07-31ipv4: export ip_flush_pending_framesJames Chapman1-0/+1
2024-05-23net: Add additional bit to support clockid_t timestamp typeAbhishek Chauhan1-1/+4
2024-05-23net: Rename mono_delivery_time to tstamp_type for scalabiltyAbhishek Chauhan1-4/+5
2024-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-05-02ipv4: Fix uninit-value access in __ip_make_skb()Shigeru Yoshida1-1/+1
2024-04-30inet: introduce dst_rtable() helperEric Dumazet1-4/+4
2024-03-18Revert "net: Re-use and set mono_delivery_time bit for userspace tstamp packets"Abhishek Chauhan1-1/+0
2024-03-05net: Re-use and set mono_delivery_time bit for userspace tstamp packetsAbhishek Chauhan1-0/+1
2024-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+8
2024-02-15net-timestamp: make sk_tskey more predictable in error pathVadim Fedorenko1-5/+8
2024-02-12ipv4: Set the routing scope properly in ip_route_output_ports().Guillaume Nault1-1/+1
2024-01-31net: ipv4: fix a memleak in ip_setup_corkZhipeng Lu1-6/+6
2023-10-20net: fix IPSTATS_MIB_OUTPKGS increment in OutForwDatagrams.Heng Guo1-0/+2
2023-10-01inet: implement lockless IP_TOSEric Dumazet1-2/+2
2023-10-01inet: implement lockless IP_MTU_DISCOVEREric Dumazet1-3/+4
2023-10-01inet: implement lockless IP_MULTICAST_TTLEric Dumazet1-1/+1
2023-10-01net: implement lockless SO_PRIORITYEric Dumazet1-1/+1
2023-09-01net: annotate data-races around sk->sk_tsflagsEric Dumazet1-1/+1
2023-08-30net: ipv4, ipv6: fix IPSTATS_MIB_OUTOCTETS increment duplicatedHeng Guo1-4/+3
2023-08-18lwt: Check LWTUNNEL_XMIT_CONTINUE strictlyYan Zhai1-1/+1
2023-08-16inet: implement lockless IP_TTLEric Dumazet1-1/+1
2023-08-16inet: move inet->hdrincl to inet->inet_flagsEric Dumazet1-2/+3
2023-08-08net/ipv4: return the real errno instead of -EINVALxu xin1-1/+1
2023-08-02udp: Fix __ip_append_data()'s handling of MSG_SPLICE_PAGESDavid Howells1-0/+9
2023-07-29net: annotate data-races around sk->sk_priorityEric Dumazet1-2/+2
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-2/+2
2023-06-16ip, ip6: Fix splice to raw and ping socketsDavid Howells1-1/+2
2023-06-10net: move gso declarations and functions to their own filesEric Dumazet1-0/+1
2023-05-25net: ipv4: use consistent txhash in TIME_WAIT and SYN_RECVAntoine Tenart1-1/+3
2023-05-23ip: Remove ip_append_page()David Howells1-144/+4
2023-05-23ip, udp: Support MSG_SPLICE_PAGESDavid Howells1-0/+17
2023-05-23net: Pass max frags into skb_append_pagefrags()David Howells1-1/+2
2023-04-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-3/+13
2023-04-22ipv4: Fix potential uninit variable access bug in __ip_make_skb()Ziyang Xuan1-3/+13
2023-03-21neighbour: switch to standard rcu, instead of rcu_bhEric Dumazet1-3/+3
2023-03-17inet: preserve const qualifier in inet_sk()Eric Dumazet1-2/+3
2023-03-08net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestampsVadim Fedorenko1-1/+1
2023-02-01net: add support for ipv4 big tcpXin Long1-1/+1
2022-10-11treewide: use get_random_{u8,u16}() when possible, part 1Jason A. Donenfeld1-1/+1
2022-09-28net: shrink struct ubuf_infoPavel Begunkov1-1/+1
2022-08-30net: unify alloclen calculation for paged requestsPavel Begunkov1-4/+1
2022-08-24net: Fix data-races around sysctl_[rw]mem_(max|default).Kuniyuki Iwashima1-1/+1
2022-07-19Merge branch 'io_uring-zerocopy-send' of git://git.kernel.org/pub/scm/linux/k...Jakub Kicinski1-14/+36
2022-07-19ipv4/udp: support externally provided ubufsPavel Begunkov1-13/+31
2022-07-18ipv4: avoid partial copy for zcPavel Begunkov1-2/+6
2022-07-11net: Find dst with sk's xfrm policy not ctl_sksewookseo1-1/+1
2022-06-24net: helper function skb_len_addRichard Gobert1-6/+2
2022-03-03net: Set skb->mono_delivery_time and clear it after sch_handle_ingress()Martin KaFai Lau1-2/+1
2022-03-03net: Add skb->mono_delivery_time to distinguish mono delivery_time from (rcv)...Martin KaFai Lau1-2/+5
2022-02-26net: ip: add skb drop reasons for ip egress pathMenglong Dong1-4/+4
2022-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-02-18net-timestamp: convert sk->sk_tskey to atomic_tEric Dumazet1-1/+1
2022-01-29ipv4: drop fragmentation code from ip_options_build()Jakub Kicinski1-3/+3
2022-01-27ipv4: tcp: send zero IPID in SYNACK messagesEric Dumazet1-2/+9
2022-01-24ipv4: fix ip option filtering for locally generated fragmentsJakub Kicinski1-3/+12
2021-11-14ipv4: Remove duplicate assignmentsluo penghao1-1/+0
2021-08-30net: ipv4: Fix the warning for dereferenceYajun Deng1-1/+3
2021-08-24net: ipv4: Move ip_options_fragment() out of loopYajun Deng1-15/+4
2021-08-03ipv4: use skb_expand_head in ip_finish_output2Vasily Averin1-11/+2
2021-07-26ipv4: ip_output.c: Fix out-of-bounds warning in ip_copy_addrs()Gustavo A. R. Silva1-2/+3
2021-06-24net: ip: avoid OOM kills with large UDP sends over loopbackJakub Kicinski1-14/+18
2021-03-28ipv4: ip_output.c: Couple of typo fixesBhaskar Chowdhury1-2/+2
2021-02-03net: use indirect call helpers for dst_outputBrian Vazquez1-0/+1
2021-01-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-01-07skbuff: Rename skb_zcopy_{get|put} to net_zcopy_{get|put}Jonathan Lemon1-1/+1
2021-01-07skbuff: rename sock_zerocopy_* to msg_zerocopy_*Jonathan Lemon1-1/+1
2021-01-07skbuff: Call sock_zerocopy_put_abort from skb_zcopy_put_abortJonathan Lemon1-2/+1
2021-01-07net: ip: always refragment ip defragmented packetsFlorian Westphal1-1/+1
2020-11-23lsm,selinux: pass flowi_common instead of flowi to the LSM hooksPaul Moore1-1/+1
2020-10-15Merge tag 'net-next-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-5/+6
2020-10-12Merge branch 'work.csum_and_copy' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+3
2020-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+2
2020-09-10ip: pass tos into ip_build_and_send_pkt()Wei Wang1-2/+3
2020-09-08ip: fix tos reflection in ack and reset packetsWei Wang1-1/+2
2020-08-31net: clean up codestyleMiaohe Lin1-1/+1
2020-08-31net: Use helper macro IP_MAX_MTU in __ip_append_data()Miaohe Lin1-1/+1
2020-08-25net: clean up codestyle for net/ipv4Miaohe Lin1-1/+1
2020-08-20csum_partial_copy_nocheck(): drop the last argumentAl Viro1-1/+1
2020-08-20skb_copy_and_csum_bits(): don't bother with the last argumentAl Viro1-2/+2
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-07-01ip: Fix SO_MARK in RST, ACK and ICMP packetsWillem de Bruijn1-1/+1
2020-06-20tcp: remove indirect calls for icsk->icsk_af_ops->queue_xmitEric Dumazet1-0/+6
2020-03-29net: Fix typo of SKB_SGO_CB_OFFSETCambda Zhu1-1/+1
2020-03-12inet: Use fallthrough;Joe Perches1-1/+1
2020-01-14net: ipv4: use skb_list_walk_safe helper for gso segmentsJason A. Donenfeld1-5/+3
2019-12-07inet: protect against too small mtu values.Eric Dumazet1-5/+8
2019-11-15netfilter: Support iif matches in POSTROUTINGPhil Sutter1-2/+2
2019-10-21ipv4: fix IPSKB_FRAG_PMTU handling with fragmentationEric Dumazet1-5/+6
2019-10-18net: ensure correct skb->tstamp in various fragmentersEric Dumazet1-0/+3
2019-09-27tcp: honor SO_PRIORITY in TIME_WAIT stateEric Dumazet1-1/+0
2019-09-20ipv4: Revert removal of rt_uses_gatewayDavid Ahern1-1/+1
2019-09-13ip: support SO_MARK cmsgWillem de Bruijn1-1/+2
2019-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+21
2019-06-26ipv4: reset rt_iif for recirculated mcast/bcast out pktsStephen Suryaputra1-0/+12
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-06-14ipv4: tcp: fix ACK/RST sent with a transmit delayEric Dumazet1-1/+2
2019-06-11net: correct udp zerocopy refcnt also when zerocopy only on appendWillem de Bruijn1-1/+1
2019-06-03net: fix use-after-free in kfree_skb_listEric Dumazet1-3/+2
2019-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-11/+23
2019-05-31bpf: Update BPF_CGROUP_RUN_PROG_INET_EGRESS callsbrakmo1-11/+23
2019-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2019-05-30net: correct zerocopy refcnt with udp MSG_MOREWillem de Bruijn1-2/+2
2019-05-30net: ipv4: place control buffer handling away from fragmentation iteratorsPablo Neira Ayuso1-18/+37
2019-05-30net: ipv4: split skbuff into fragments transformerPablo Neira Ayuso1-88/+112
2019-05-30net: ipv4: add skbuff fraglist splitterPablo Neira Ayuso1-33/+55
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2019-05-01ipv4: ip_do_fragment: Preserve skb_iif during fragmentationShmulik Ladkani1-0/+1
2019-04-08ipv4: Add helpers for neigh lookup for nexthopDavid Ahern1-7/+4
2019-04-08neighbor: Add skip_cache argument to neigh_outputDavid Ahern1-1/+1
2019-04-08ipv4: Prepare rtable for IPv6 gatewayDavid Ahern1-1/+1
2019-04-04net: use kfree_skb_list() from ip_do_fragment()Pablo Neira Ayuso1-5/+2
2018-12-19sk_buff: add skb extension infrastructureFlorian Westphal1-0/+1
2018-12-08ip: silence udp zerocopy smatch false positiveWillem de Bruijn1-1/+2
2018-12-03udp: elide zerocopy operation in hot pathWillem de Bruijn1-11/+11
2018-12-03udp: msg_zerocopyWillem de Bruijn1-1/+22
2018-11-24net: always initialize pagedlenWillem de Bruijn1-1/+2
2018-09-10net: Add and use skb_mark_not_on_list().David S. Miller1-2/+2
2018-07-24Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2018-07-23ip: hash fragments consistentlyPaolo Abeni1-0/+2
2018-07-07ip: unconditionally set cork gso_sizeWillem de Bruijn1-2/+1
2018-07-07ip: remove tx_flags from ipcm_cookie and use same logic for v4 and v6Willem de Bruijn1-1/+2
2018-07-07ipv4: ipcm_cookie initializersWillem de Bruijn1-5/+1
2018-07-04net: ipv4: Hook into time based transmissionJesus Sanchez-Palencia1-0/+3
2018-07-04ipv4: add __ip_queue_xmit() that supports tos paramXin Long1-4/+5
2018-06-20ip: limit use of gso_size to udpWillem de Bruijn1-1/+2
2018-05-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2018-05-17net: test tailroom before appending to linear skbWillem de Bruijn1-1/+2
2018-05-10tcp: Add mark for TIMEWAIT socketsJon Maxwell1-1/+1
2018-05-07Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-1/+1
2018-04-26udp: paged allocation with gsoWillem de Bruijn1-4/+11
2018-04-26udp: generate gso with UDP_SEGMENTWillem de Bruijn1-3/+6
2018-04-26udp: expose inet cork to udpWillem de Bruijn1-9/+8
2018-04-18udp: enable UDP checksum offload for ESPJacek Kalwas1-1/+1
2018-04-16net: Fix one possible memleak in ip_setup_corkGao Feng1-3/+5
2018-04-04net: avoid unneeded atomic operation in ip*_append_data()Paolo Abeni1-1/+2
2018-04-01ipv4: factorize sk_wmem_alloc updates done by __ip_append_data()Eric Dumazet1-5/+12
2018-03-04net: rename skb_gso_validate_mtu -> skb_gso_validate_network_lenDaniel Axtens1-1/+1
2017-08-22udp: remove unreachable ufo branchesWillem de Bruijn1-8/+4
2017-08-06ip/options: explicitly provide net ns to __ip_options_echo()Paolo Abeni1-1/+1
2017-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+4
2017-07-17inet: Stop generating UFO packets.David S. Miller1-76/+0
2017-07-15ipv4: ip_do_fragment: fix headroom testsVasily Averin1-4/+4
2017-07-04net: reflect mark on tcp syn ack packetsJamal Hadi Salim1-1/+2
2017-07-01net: convert sock.sk_wmem_alloc from atomic_t to refcount_tReshetova, Elena1-3/+3
2017-06-23net: account for current skb length when deciding about UFOMichal Kubeček1-1/+2
2017-03-09udp: avoid ufo handling on IP payload compression packetsAlexey Kodanev1-1/+1
2017-02-11net: rename dst_neigh_output back to neigh_outputJulian Anastasov1-1/+1
2017-02-07net: use dst_confirm_neigh for UDP, RAW, ICMP, L2TPJulian Anastasov1-0/+6
2017-02-07net: add dst_pending_confirm flag to skbuffJulian Anastasov1-1/+4
2017-01-09tcp: fix mark propagation with fwmark_reflect enabledPau Espin Pedrol1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-20ipv4: Should use consistent conditional judgement for ip fragment in __ip_app...zheng li1-1/+1
2016-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2016-12-05switch getfrag callbacks to ..._full() primitivesAl Viro1-2/+2
2016-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2016-12-02ipv4: Set skb->protocol properly for local outputEli Cooper1-0/+2
2016-11-25net: ipv4, ipv6: run cgroup eBPF egress programsDaniel Mack1-2/+24
2016-11-19net: fix bogus cast in skb_pagelen() and use unsigned variablesAlexey Dobriyan1-1/+1
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-10/+15
2016-11-10ipv4: update comment to document GSO fragmentation cases.Lance Richardson1-5/+11
2016-11-09net: tcp response should set oif only if it is L3 masterDavid Ahern1-1/+2
2016-11-04net: inet: Support UID-based routing in IP protocols.Lorenzo Colitti1-1/+2
2016-11-03ipv4: allow local fragmentation in ip_finish_output_gso()Lance Richardson1-4/+2
2016-10-18ipv4: Remove unused but set variableTobias Klauser1-3/+0
2016-09-10net: l3mdev: remove redundant callsDavid Ahern1-2/+1
2016-09-10net: l3mdev: Add hook to output pathDavid Ahern1-0/+8
2016-09-10ipv4: use IS_ENABLED() instead of checking for built-in or moduleJavier Martinez Canillas1-1/+1
2016-08-30net: lwtunnel: Handle fragmentationRoopa Prabhu1-0/+8
2016-07-19net/ipv4: Introduce IPSKB_FRAG_SEGS bit to inet_skb_parm.flagsShmulik Ladkani1-2/+4
2016-07-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2016-06-30ipv4: Fix ip_skb_dst_mtu to use the sk passed by ip_finish_outputShmulik Ladkani1-2/+2
2016-06-03skbuff: introduce skb_gso_validate_mtuMarcelo Ricardo Leitner1-1/+1
2016-03-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+4
2016-02-24ipv4: only create late gso-skb if skb is already set up with CHECKSUM_PARTIALHannes Frederic Sowa1-1/+4
2016-02-16ipv4: Namespaceify ip_default_ttl sysctl knobNikolay Borisov1-3/+0
2016-01-15net: preserve IP control block during GSO segmentationKonstantin Khlebnikov1-0/+1
2016-01-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2016-01-11udp: disallow UFO for sockets with SO_NO_CHECK optionMichal Kubeček1-1/+1
2015-12-15net: Eliminate NETIF_F_GEN_CSUM and NETIF_F_V[46]_CSUMTom Herbert1-1/+1
2015-11-30net: remove unnecessary mroute.h includesNikolay Aleksandrov1-1/+0
2015-11-01ipv4: add defensive check for CHECKSUM_PARTIAL skbs in ip_fragmentHannes Frederic Sowa1-3/+5
2015-11-01ipv4: no CHECKSUM_PARTIAL on MSG_MORE corked socketsHannes Frederic Sowa1-0/+1