aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
AgeCommit message (Expand)AuthorFilesLines
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
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-05ipv4: Move exception bucket to nh_commonDavid Ahern1-24/+17
2019-05-05ipv4: Pass fib_nh_common to rt_cache_routeDavid Ahern1-10/+10
2019-05-05ipv4: Move cached routes to fib_nh_commonDavid Ahern1-9/+9
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-4/+4
2019-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+23
2019-04-24ipv4: add sanity checks in ipv4_link_failure()Eric Dumazet1-9/+23
2019-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+15
2019-04-14ipv4: ensure rcu_read_lock() in ipv4_link_failure()Eric Dumazet1-2/+8
2019-04-12ipv4: recompile ip options in ipv4_link_failureStephen Suryaputra1-1/+9
2019-04-08ipv4: Handle ipv6 gateway in ipv4_confirm_neighDavid Ahern1-4/+6
2019-04-08ipv4: Add helpers for neigh lookup for nexthopDavid Ahern1-10/+19
2019-04-08ipv4: Add support to rtable for ipv6 gatewayDavid Ahern1-5/+26
2019-04-08ipv4: Prepare rtable for IPv6 gatewayDavid Ahern1-24/+27
2019-04-08net: Replace nhc_has_gw with nhc_gw_familyDavid Ahern1-2/+3
2019-04-03ipv4: Add fib_nh_common to fib_resultDavid Ahern1-20/+40
2019-03-29ipv4: Rename fib_nh entriesDavid Ahern1-9/+9
2019-03-27inet: switch IP ID generator to siphashEric Dumazet1-5/+7
2019-03-21net: dst: remove gc leftoversJulian Wiedmann1-1/+1
2019-03-08route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a raceXin Long1-0/+4
2019-03-06ipv4/route: fail early when inet dev is missingPaolo Abeni1-4/+5
2019-03-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-03-02net: ipv4: Fix NULL pointer dereference in route lookupIdo Schimmel1-1/+1
2019-03-01ipv4: Add ICMPv6 support when parse route ipprotoHangbin Liu1-1/+1
2019-02-27route: Add multipath_hash in flowi_common to make user-define hashwenxu1-0/+4
2019-02-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+5
2019-02-08net: ipv4: use a dedicated counter for icmp_v4 redirect packetsLorenzo Bianconi1-2/+5
2019-02-03ipv4/igmp: Don't drop IGMP pkt with zeros src addrEdward Chron1-1/+2
2019-01-19net: ipv4: route: perform strict checks also for doit handlersJakub Kicinski1-2/+70
2018-12-20net: ipv4: Set skb->dev for output route resolutionIdo Schimmel1-0/+1
2018-11-20ipv4: Don't try to print ASCII of link level header in martian dumps.David S. Miller1-1/+1
2018-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+4
2018-10-10net: ipv4: don't let PMTU updates increase route MTUSabrina Dubroca1-3/+4
2018-10-04net: Move free of dst_metrics to helperDavid Ahern1-4/+1
2018-10-04net: common metrics init helper for dst_entryDavid Ahern1-5/+2
2018-10-02net: inet_rtm_getroute() - use new style struct initializer instead of memsetMaciej Żenczykowski1-2/+1
2018-10-02net: ip_rt_get_source() - use new style struct initializer instead of memsetMaciej Żenczykowski1-12/+9
2018-09-26net-ipv4: remove 2 always zero parameters from ipv4_redirect()Maciej Żenczykowski1-2/+2
2018-09-26net-ipv4: remove 2 always zero parameters from ipv4_update_pmtu()Maciej Żenczykowski1-5/+3
2018-07-29route: add support for directed broadcast forwardingXin Long1-1/+5
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+2
2018-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-39/+138
2018-06-04Merge branch 'hch.procfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-13/+2
2018-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+31
2018-05-23ipv4: support sport, dport and ip_proto in RTM_GETROUTERoopa Prabhu1-39/+107
2018-05-22net/ipv4: Add helper to return path MTU based on fib resultDavid Ahern1-0/+31
2018-05-17net/ipv4: Initialize proto and ports in flow structDavid Ahern1-1/+6
2018-05-16proc: introduce proc_create_single{,_data}Christoph Hellwig1-13/+2
2018-05-10ipv4: reset fnhe_mtu_locked after cache route flushedHangbin Liu1-0/+1
2018-05-02ipv4: fix fnhe usage by non-cached routesJulian Anastasov1-65/+53
2018-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-5/+6
2018-04-07ipv4: fix uninit-value in ip_route_output_key_hash_rcu()Eric Dumazet1-5/+6
2018-04-05headers: untangle kmemleak.h from mm.hRandy Dunlap1-1/+0
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-4/+0
2018-03-26net: Use octal not symbolic permissionsJoe Perches1-2/+2
2018-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-15/+32
2018-03-14ipv4: lock mtu in fnhe when received PMTU < net.ipv4.route.min_pmtuSabrina Dubroca1-7/+19
2018-03-13Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-8/+13
2018-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+15
2018-03-04net/ipv4: Simplify fib_multipath_hash with optional flow keysDavid Ahern1-14/+10
2018-03-04net: Align ip_multipath_l3_keys and ip6_multipath_l3_keysDavid Ahern1-9/+11
2018-03-04net/ipv4: Pass net to fib_multipath_hash instead of fib_infoDavid Ahern1-3/+2
2018-03-01vrf: check forwarding on the original netdevice when generating ICMP dest unr...Stephen Suryaputra1-1/+10
2018-03-01net: ipv4: avoid unused variable warning for sysctlArnd Bergmann1-2/+1
2018-02-28ipv6: route: dissect flow in input path if fib rules need itRoopa Prabhu1-14/+29
2018-02-27net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68Sabrina Dubroca1-2/+6