aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
AgeCommit message (Expand)AuthorFilesLines
2025-11-12ipv4: route: Prevent rt_bind_exception() from rebinding stale fnheChuang Wang1-0/+5
2025-09-11ipv4: icmp: Pass IPv4 control block structure as an argument to __icmp_send()Ido Schimmel1-5/+5
2025-08-29ipv4: start using dst_dev_rcu()Eric Dumazet1-2/+2
2025-08-29net: dst: introduce dst->dev_rcuEric Dumazet1-2/+2
2025-08-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+7
2025-08-28net: ipv4: fix regression in local-broadcast routesOscar Maes1-3/+7
2025-08-26ipv4: Convert ->flowi4_tos to dscp_t.Guillaume Nault1-4/+4
2025-08-25net: ipv4: allow directed broadcast routes to use dst hintOscar Maes1-1/+1
2025-07-14net: ipv4: fix incorrect MTU in broadcast routesOscar Maes1-1/+0
2025-07-02ipv4: adopt dst_dev, skb_dst_dev and skb_dst_dev_net[_rcu]Eric Dumazet1-4/+4
2025-07-02net: dst: annotate data-races around dst->outputEric Dumazet1-1/+1
2025-07-02net: dst: annotate data-races around dst->inputEric Dumazet1-1/+1
2025-07-02net: dst: annotate data-races around dst->expiresEric Dumazet1-3/+4
2025-07-02net: dst: annotate data-races around dst->obsoleteEric Dumazet1-7/+8
2025-06-25net: Remove unnecessary NULL check for lwtunnel_fill_encap()Yue Haibing1-2/+1
2025-06-23net: annotate races around sk->sk_uidEric Dumazet1-1/+2
2025-06-17net: ipv4: Add ip_mr_output()Petr Machata1-1/+1
2025-05-15ipv4/route: Use this_cpu_inc() for stats on PREEMPT_RTSebastian Andrzej Siewior1-0/+4
2025-04-29ip: load balance tcp connections to single dst addr and portWillem de Bruijn1-3/+10
2025-04-29ipv4: prefer multipath nexthop that matches source addressWillem de Bruijn1-1/+1
2025-04-16ipv4: Use nlmsg_payload in route fileBreno Leitao1-2/+2
2025-04-10ipv4: remove unnecessary judgment in ip_route_output_key_hash_rcuZhengchao Shao1-2/+1
2025-02-06ipv4: use RCU protection in __ip_rt_update_pmtu()Eric Dumazet1-5/+6
2025-02-06ipv4: use RCU protection in rt_is_expired()Eric Dumazet1-1/+7
2025-02-06ipv4: use RCU protection in ipv4_default_advmss()Eric Dumazet1-3/+8
2025-01-16ipv4: Prepare inet_rtm_getroute() to .flowi4_tos conversion.Guillaume Nault1-4/+5
2025-01-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2025-01-09ipv4: route: fix drop reason being overridden in ip_route_input_slowAntoine Tenart1-0/+1
2024-12-17inetpeer: do not get a refcount in inet_getpeer()Eric Dumazet1-7/+8
2024-12-17inetpeer: remove create argument of inet_getpeer_v[46]()Eric Dumazet1-2/+2
2024-12-07ip: Return drop reason if in_dev is NULL in ip_route_input_rcu().Kuniyuki Iwashima1-1/+2
2024-11-12net: ip: make ip_route_use_hint() return drop reasonsMenglong Dong1-11/+17
2024-11-12net: ip: make ip_mkroute_input/__mkroute_input return drop reasonsMenglong Dong1-16/+18
2024-11-12net: ip: make ip_route_input_noref() return drop reasonsMenglong Dong1-3/+4
2024-11-12net: ip: make ip_route_input_rcu() return drop reasonsMenglong Dong1-9/+10
2024-11-12net: ip: make ip_route_input_slow() return drop reasonsMenglong Dong1-21/+35
2024-11-12net: ip: make ip_mc_validate_source() return drop reasonMenglong Dong1-16/+19
2024-11-12net: ip: make ip_route_input_mc() return drop reasonMenglong Dong1-10/+11
2024-11-12net: ip: make fib_validate_source() support drop reasonsMenglong Dong1-14/+19
2024-11-11net: ipv4: Cache pmtu for all packet paths if multipath enabledVladimir Vdovin1-0/+13
2024-11-11net: convert to nla_get_*_default()Johannes Berg1-5/+5
2024-10-29ipv4: Prepare ip_rt_get_source() to future .flowi4_tos conversion.Guillaume Nault1-1/+1
2024-10-15ipv4: Use rtnl_register_many().Kuniyuki Iwashima1-2/+6
2024-10-09ipv4: Convert fib_validate_source() to dscp_t.Guillaume Nault1-12/+9
2024-10-09ipv4: Convert ip_mc_validate_source() to dscp_t.Guillaume Nault1-4/+4
2024-10-09ipv4: Convert ip_route_input_mc() to dscp_t.Guillaume Nault1-5/+6
2024-10-09ipv4: Convert __mkroute_input() to dscp_t.Guillaume Nault1-8/+6
2024-10-09ipv4: Convert ip_mkroute_input() to dscp_t.Guillaume Nault1-8/+6
2024-10-09ipv4: Convert ip_route_use_hint() to dscp_t.Guillaume Nault1-3/+3
2024-10-03ipv4: Convert ip_route_input_slow() to dscp_t.Guillaume Nault1-8/+10
2024-10-03ipv4: Convert ip_route_input_rcu() to dscp_t.Guillaume Nault1-7/+9
2024-10-03ipv4: Convert ip_route_input_noref() to dscp_t.Guillaume Nault1-3/+3
2024-08-31ipv4: Unmask upper DSCP bits when building flow keyIdo Schimmel1-2/+2
2024-08-31ipv4: Unmask upper DSCP bits in ip_route_output_key_hash()Ido Schimmel1-1/+1
2024-08-31ipv4: Unmask upper DSCP bits in RTM_GETROUTE output route lookupIdo Schimmel1-1/+1
2024-08-22ipv4: Unmask upper DSCP bits when using hintsIdo Schimmel1-1/+1
2024-08-22ipv4: Unmask upper DSCP bits in RTM_GETROUTE input route lookupIdo Schimmel1-1/+1
2024-08-22ipv4: Unmask upper DSCP bits in input route lookupIdo Schimmel1-1/+1
2024-08-22ipv4: Unmask upper DSCP bits when constructing the Record Route optionIdo Schimmel1-1/+1
2024-07-25Merge tag 'net-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+1
2024-07-24sysctl: treewide: constify the ctl_table argument of proc_handlersJoel Granados1-1/+1
2024-07-23ipv4: Fix incorrect source address in Record Route optionIdo Schimmel1-1/+1
2024-07-18ipv4: Fix incorrect TOS in fibmatch route get replyIdo Schimmel1-1/+1
2024-07-18ipv4: Fix incorrect TOS in route get replyIdo Schimmel1-7/+7
2024-06-12net: ipv4,ipv6: Pass multipath hash computation through a helperPetr Machata1-6/+6
2024-06-06inet: remove (struct uncached_list)->quarantineEric Dumazet1-3/+1
2024-05-29net: fix __dst_negative_advice() raceEric Dumazet1-14/+8
2024-05-03net: ipv{6,4}: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-6/+2
2024-04-30inet: introduce dst_rtable() helperEric Dumazet1-13/+11
2024-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2024-04-23ipv4: check for NULL idev in ip_route_use_hint()Eric Dumazet1-0/+3
2024-04-22sysctl: treewide: constify ctl_table_header::ctl_table_argThomas Weißschuh1-1/+1
2024-04-11ipv4: Remove RTO_ONLINK.Guillaume Nault1-13/+1
2024-04-09ipv4/route: avoid unused-but-set-variable warningArnd Bergmann1-3/+1
2024-02-28inet: annotate devconf data-racesEric Dumazet1-2/+2
2024-02-21ipv4: Simplify the allocation of slab caches in ip_rt_initKunwu Chan1-3/+2
2023-11-21ipv4: Correct/silence an endian warning in __ip_do_redirectKunwu Chan1-1/+1
2023-10-16ipv4: rename and move ip_route_output_tunnel()Beniamino Galvani1-48/+0
2023-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2023-10-04ipv4: Set offload_failed flag in fibmatch resultsBenjamin Poirier1-0/+2
2023-09-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-1/+3
2023-09-17ipv4: fix null-deref in ipv4_link_failureKyle Zeng1-1/+3
2023-09-12net: dst: remove unnecessary input parameter in dst_alloc and dst_initZhengchao Shao1-3/+3
2023-09-07Merge tag 'net-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-0/+1
2023-09-01ipv4: ignore dst hint for multipath routesSriram Yagnaraman1-0/+1
2023-08-29Merge tag 'sysctl-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-2/+6
2023-08-16inet: move inet->hdrincl to inet->inet_flagsEric Dumazet1-4/+4
2023-08-15networking: Update to register_net_sysctl_szJoel Granados1-2/+6
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-2/+2
2023-04-21net: dst: fix missing initialization of rt_uncachedMaxime Bizon1-4/+0
2023-03-28net: dst: Prevent false sharing vs. dst_entry:: __refcntWangyang Guo1-10/+10
2023-03-21neighbour: switch to standard rcu, instead of rcu_bhEric Dumazet1-2/+2
2023-03-15neighbour: annotate lockless accesses to n->nud_stateEric Dumazet1-1/+1
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-2/+2
2022-10-11treewide: use get_random_bytes() when possibleJason A. Donenfeld1-1/+1
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-07-25Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-16/+8
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+5
2022-07-20ipv4: Fix data-races around sysctl_fib_multipath_hash_fields.Kuniyuki Iwashima1-3/+3
2022-07-20ipv4: Fix data-races around sysctl_fib_multipath_hash_policy.Kuniyuki Iwashima1-1/+1
2022-07-15ip: Fix data-races around sysctl_ip_fwd_use_pmtu.Kuniyuki Iwashima1-1/+1
2022-07-12net: change the type of ip_route_input_rcu to staticZhengchao Shao1-17/+17
2022-06-10xfrm: no need to set DST_NOPOLICY in IPv4Eyal Birger1-16/+8
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-4/+3
2022-05-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-5/+18
2022-05-18Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-5/+18
2022-05-16xfrm: fix "disable_policy" flag use when arriving from different devicesEyal Birger1-5/+18
2022-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-05-06ipv4: drop dst in multicast routing pathLokesh Dhoundiyal1-0/+1
2022-04-22ipv4: Initialise ->flowi4_scope properly in ICMP handlers.Guillaume Nault1-20/+17
2022-04-22ipv4: Don't reset ->flowi4_scope in ip_rt_fix_tos().Guillaume Nault1-2/+2
2022-04-13net: ipv4: add skb drop reasons to ip_error()Menglong Dong1-1/+5
2022-04-11ipv4: Use dscp_t in struct fib_rt_infoGuillaume Nault1-2/+2
2022-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+14
2022-03-18ipv4: Fix route lookups when handling ICMP redirects and PMTU updatesGuillaume Nault1-4/+14
2022-03-15net: Add l3mdev index to flow struct and avoid oif reset for port devicesDavid Ahern1-2/+2
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2022-02-17ipv4: fix data races in fib_alias_hw_flags_setEric Dumazet1-2/+2
2022-02-11ipv4: add (struct uncached_list)->quarantine listEric Dumazet1-3/+9
2022-02-07ipv4: Use dscp_t in struct fib_aliasGuillaume Nault1-1/+2
2022-01-31ipv4: Make ip_idents_reserve staticDavid Ahern1-2/+1
2022-01-27ipv4: Namespaceify min_adv_mss sysctl knobxu xin1-10/+11
2022-01-04Namespaceify mtu_expires sysctlxu xin1-10/+11
2022-01-04Namespaceify min_pmtu sysctlxu xin1-16/+37
2021-12-06net: dst: add net device refcount tracking to dst_entryEric Dumazet1-3/+4
2021-11-16net: align static siphash keysEric Dumazet1-1/+1
2021-09-20net/ipv4/route.c: remove superfluous header files from route.cMianhan Liu1-8/+0
2021-08-31ipv4: fix endianness issue in inet_rtm_getroute_build_skb()Eric Dumazet1-1/+1
2021-08-30ipv4: make exception cache less predictibleEric Dumazet1-16/+30
2021-08-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+6
2021-08-26ipv4: use siphash instead of Jenkins in fnhe_hashfun()Eric Dumazet1-6/+6
2021-08-05net: Remove redundant if statementsYajun Deng1-2/+1
2021-08-03net: Keep vertical alignmentYajun Deng1-3/+4
2021-07-21net: ipv4: Consolidate ipv4_mtu and ip_dst_mtu_maybe_forwardVadim Fedorenko1-20/+1
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2021-06-28net: lwtunnel: handle MTU calculation in forwadingVadim Fedorenko1-1/+2
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+14
2021-06-14ipv4: Fix device used for dst_alloc with local routesDavid Ahern1-1/+14
2021-05-18ipv4: Add custom multipath hash policyIdo Schimmel1-0/+121
2021-05-18ipv4: Calculate multipath hash inside switch statementIdo Schimmel1-2/+4
2021-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-37/+8
2021-03-24inet: use bigger hash table for IP ID generationEric Dumazet1-14/+28
2021-03-16net: ipv4: route.c: simplify procfs codeYejune Deng1-30/+4
2021-03-12net: ipv4: route.c: Fix indentation of multi line comment.Shubhankar Kuranagatti1-48/+49
2021-03-10net: ipv4: route.c: fix space before tabShubhankar Kuranagatti1-5/+5
2021-03-10net: Consolidate common blackhole dst opsDaniel Borkmann1-37/+8
2021-02-08IPv4: Add "offload failed" indication to routesAmit Cohen1-0/+1
2021-02-04net: fix building errors on powerpc when CONFIG_RETPOLINE is not setBrian Vazquez1-2/+2
2021-02-03net: indirect call helpers for ipv4/ipv6 dst_check functionsBrian Vazquez1-2/+5
2021-02-03net: use indirect call helpers for dst_mtuBrian Vazquez1-2/+4
2020-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+4
2020-11-28ipv4: Fix tos mask in inet_rtm_getroute()Guillaume Nault1-3/+4
2020-11-14IPv4: RTM_GETROUTE: Add RTA_ENCAP to resultOliver Herms1-0/+3
2020-11-11net: evaluate net.ipvX.conf.all.disable_policy and disable_xfrmVincent Bernat1-6/+6
2020-10-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2020-10-10ipv4: Restore flowi4_oif update before call to xfrm_lookup_routeDavid Ahern1-1/+3
2020-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+9
2020-09-15ipv4: Update exception handling for multipath routes via same deviceDavid Ahern1-5/+8
2020-09-14ipv4: Initialize flowi4_multipath_hash in data pathDavid Ahern1-0/+1
2020-08-31net: clean up codestyleMiaohe Lin1-5/+5
2020-08-25net: clean up codestyle for net/ipv4Miaohe Lin1-3/+3
2020-08-25net: gain ipv4 mtu when mtu is not lockedMiaohe Lin1-1/+2
2020-08-04ipv4: route: Ignore output interface in FIB lookup for PMTU routeStefano Brivio1-0/+5
2020-06-27net: ipv4: Fix wrong type conversion from hint to rt in ip_route_use_hint()Miaohe Lin1-1/+1
2020-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-8/+6
2020-05-17net: revert "net: get rid of an signed integer overflow in ip_idents_reserve()"Yuqi Jin1-8/+6
2020-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-05-08net: ipv4: really enforce backoff for redirectsPaolo Abeni1-1/+1
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-2/+1
2020-03-23Remove DST_HOSTDavid Laight1-8/+5
2020-02-24net: UDP tunnel encapsulation module for tunnelling different protocols like ...Martin Varghese1-0/+48
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-12/+12
2020-01-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2020-01-24rt_cpu_seq_next should increase position indexVasily Averin1-0/+1
2020-01-14ipv4: Add "offload" and "trap" indications to routesIdo Schimmel1-0/+19
2020-01-14ipv4: Encapsulate function arguments in a structIdo Schimmel1-3/+9
2019-12-24net: add bool confirm_neigh parameter for dst_ops.update_pmtuHangbin Liu1-3/+6
2019-11-21ipv4: use dst hint for ipv4 list receivePaolo Abeni1-0/+42
2019-11-05icmp: remove duplicate codeMatteo Croce1-4/+1
2019-10-17ipv4: fix race condition between route lookup and invalidationWei Wang1-1/+1
2019-10-17ipv4: Return -ENETUNREACH if we can't create route but saddr is validStefano Brivio1-3/+6
2019-10-04net: ipv4: avoid mixed n_redirects and rate_tokens usagePaolo Abeni1-3/+2
2019-09-20ipv4: Revert removal of rt_uses_gatewayDavid Ahern1-15/+21
2019-08-24net: route dump netlink NLM_F_MULTI flag missingJohn Fastabend1-7/+10
2019-07-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-07-08ipv4: Multipath hashing on inner L3 needs to consider inner IPv6 pktsStephen Suryaputra1-4/+17
2019-07-05ipv4: Fix NULL pointer dereference in ipv4_neigh_lookup()Ido Schimmel1-1/+1
2019-07-01blackhole_netdev: use blackhole_netdev to invalidate dst entriesMahesh Bandewar1-2/+1
2019-06-28ipv4: enable route flushing in network namespacesChristian Brauner1-4/+8
2019-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+33
2019-06-26ipv4: reset rt_iif for recirculated mcast/bcast out pktsStephen Suryaputra1-0/+33
2019-06-26ipv4: fix suspicious RCU usage in fib_dump_info_fnhe()Eric Dumazet1-5/+6
2019-06-24ipv4: Dump route exceptions if requestedStefano Brivio1-0/+73
2019-06-24ipv4/route: Allow NULL flowinfo in rt_fill_info()Stefano Brivio1-26/+30
2019-06-14ipv4: Support multipath hashing on inner IP pkts for GRE tunnelStephen Suryaputra1-0/+17
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-17/+13
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-12/+12
2019-06-05ipv4: not do cache for local delivery if bc_forwarding is enabledXin Long1-12/+12
2019-06-04ipv4: Prepare for fib6_nh from a nexthop objectDavid Ahern1-1/+1
2019-06-04ipv4: Use accessors for fib_info nexthop dataDavid Ahern1-1/+2