aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
AgeCommit message (Expand)AuthorFilesLines
9 daysipv6: Fix null-ptr-deref in fib6_nh_mtu_change().Xiang Mei1-0/+3
2026-06-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2026-06-15tcp: ipv6: clamp default adverting MSS to avoid GSO_BY_FRAGS (0xFFFF)Eric Dumazet1-3/+3
2026-06-12ipv6: Honor oif when choosing nexthop for locally generated trafficIdo Schimmel1-1/+4
2026-06-12ipv6: Select best matching nexthop object in fib6_table_lookup()Ido Schimmel1-8/+9
2026-06-05ipv6: remove obsolete EXPORT_SYMBOL() and EXPORT_SYMBOL_GPL()Eric Dumazet1-2/+0
2026-05-29ipv6: fix possible infinite loop in fib6_select_path()Jiayuan Chen1-0/+3
2026-05-29ipv6: fix possible infinite loop in rt6_fill_node()Jiayuan Chen1-0/+2
2026-05-21ipv6: route: Unregister netdevice notifier on BPF init failureYuho Choi1-1/+5
2026-05-05ipv6: Fix null-ptr-deref in fib6_mtu().Kuniyuki Iwashima1-0/+4
2026-05-01ipv6: update route serial number on NETDEV_CHANGESagarika Sharma1-0/+1
2026-03-29ipv6: prepare headers for ipv6_stub removalFernando Fernandez Mancera1-0/+6
2026-03-29ipv6: replace IS_BUILTIN(CONFIG_IPV6) with IS_ENABLED(CONFIG_IPV6)Fernando Fernandez Mancera1-6/+0
2026-03-23ipv6: Don't remove permanent routes with exceptions from tb6_gc_hlist.Kuniyuki Iwashima1-1/+1
2026-03-05net: ipv6: fix panic when IPv4 route references loopback IPv6 nexthopJiayuan Chen1-5/+3
2026-03-03ipv6: fix NULL pointer deref in ip6_rt_get_dev_rcu()Jakub Kicinski1-1/+2
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-2/+2
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-7/+7
2026-02-02ipv6: use dst6_mtu() instead of dst_mtu()Eric Dumazet1-4/+6
2026-01-19ipv6: annotate data-races in net/ipv6/route.cEric Dumazet1-11/+13
2026-01-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2026-01-13dst: fix races in rt6_uncached_list_del() and rt_del_uncached_list()Eric Dumazet1-2/+2
2026-01-13ipv6: Allow for nexthop device mismatch with "onlink"Ido Schimmel1-5/+2
2025-12-30ipv6: fix a BUG in rt6_get_pcpu_route() under PREEMPT_RTJiayuan Chen1-1/+12
2025-09-18ipv6: make ipv6_pinfo.daddr_cache a booleanEric Dumazet1-2/+1
2025-09-18ipv6: make ipv6_pinfo.saddr_cache a booleanEric Dumazet1-2/+2
2025-08-29ipv6: start using dst_dev_rcu()Eric Dumazet1-4/+3
2025-07-30Merge tag 'bpf-next-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/bp...Linus Torvalds1-2/+1
2025-07-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-29/+42
2025-07-26ipv6: annotate data-races around rt->fib6_nsiblingsEric Dumazet1-2/+3
2025-07-26ipv6: fix possible infinite loop in fib6_info_uses_dev()Eric Dumazet1-6/+11
2025-07-26ipv6: prevent infinite loop in rt6_nlmsg_size()Eric Dumazet1-16/+18
2025-07-26ipv6: add a retry logic in net6_rt_notify()Eric Dumazet1-5/+10
2025-07-16bpf: Clean up individual BTF_ID codeFeng Yang1-2/+1
2025-07-02ipv6: adopt skb_dst_dev() and skb_dst_dev_net[_rcu]() helpersEric Dumazet1-2/+2
2025-07-02ipv6: adopt dst_dev() helperEric Dumazet1-8/+12
2025-07-02net: dst: annotate data-races around dst->lastuseEric Dumazet1-1/+2
2025-07-02net: dst: annotate data-races around dst->expiresEric Dumazet1-7/+6
2025-07-02net: dst: annotate data-races around dst->obsoleteEric Dumazet1-5/+4
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-2/+2
2025-06-17net: ipv6: Add ip6_mr_output()Petr Machata1-0/+1
2025-06-12ipv6: Move fib6_config_validate() to ip6_route_add().Kuniyuki Iwashima1-55/+55
2025-05-20ipv6: Revert two per-cpu var allocation for RTM_NEWROUTE.Kuniyuki Iwashima1-31/+3
2025-05-20ipv6: Pass gfp_flags down to ip6_route_info_create_nh().Kuniyuki Iwashima1-4/+5
2025-05-20Revert "ipv6: Factorise ip6_route_multipath_add()."Kuniyuki Iwashima1-123/+70
2025-05-20ipv6: Narrow down RCU critical section in inet6_rtm_newroute().Kuniyuki Iwashima1-13/+18
2025-05-20inet: Remove rtnl_is_held arg of lwtunnel_valid_encap_type(_attr)?().Kuniyuki Iwashima1-4/+2
2025-05-02ipv6: Restore fib6_config validation for SIOCADDRT.Kuniyuki Iwashima1-42/+55
2025-04-29ip: load balance tcp connections to single dst addr and portWillem de Bruijn1-3/+10
2025-04-24ipv6: Get rid of RTNL for SIOCADDRT and RTM_NEWROUTE.Kuniyuki Iwashima1-6/+12
2025-04-24ipv6: Factorise ip6_route_multipath_add().Kuniyuki Iwashima1-75/+130
2025-04-24ipv6: Rename rt6_nh.next to rt6_nh.list.Kuniyuki Iwashima1-7/+7
2025-04-24ipv6: Don't pass net to ip6_route_info_append().Kuniyuki Iwashima1-4/+2
2025-04-24ipv6: Preallocate nhc_pcpu_rth_output in ip6_route_info_create().Kuniyuki Iwashima1-0/+9
2025-04-24ipv6: Preallocate rt->fib6_nh->rt6i_pcpu in ip6_route_info_create().Kuniyuki Iwashima1-3/+22
2025-04-24ipv6: Split ip6_route_info_create().Kuniyuki Iwashima1-33/+62
2025-04-24ipv6: Move nexthop_find_by_id() after fib6_info_alloc().Kuniyuki Iwashima1-16/+18
2025-04-24ipv6: Check GATEWAY in rtm_to_fib6_multipath_config().Kuniyuki Iwashima1-7/+9
2025-04-24ipv6: Move some validation from ip6_route_info_create() to rtm_to_fib6_config().Kuniyuki Iwashima1-37/+42
2025-04-24ipv6: Get rid of RTNL for SIOCDELRT and RTM_DELROUTE.Kuniyuki Iwashima1-20/+28
2025-04-24ipv6: Validate RTA_GATEWAY of RTA_MULTIPATH in rtm_to_fib6_config().Kuniyuki Iwashima1-39/+43
2025-04-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2025-04-16ipv6: Use nlmsg_payload in route fileBreno Leitao1-2/+2
2025-04-10ipv6: add exception routes to GC list in rt6_insert_exceptionXin Long1-0/+1
2025-04-09ipv6: Align behavior across nexthops during path selectionIdo Schimmel1-4/+4
2025-04-04ipv6: Do not consider link down nexthops in path selectionIdo Schimmel1-2/+4
2025-04-04ipv6: Start path selection from the first nexthopIdo Schimmel1-3/+35
2025-03-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-1/+4
2025-03-18ipv6: Set errno after ip_fib_metrics_init() in ip6_route_info_create().Kuniyuki Iwashima1-0/+2
2025-03-18ipv6: Fix memleak of nhc_pcpu_rth_output in fib_check_nh_v6_gw().Kuniyuki Iwashima1-1/+2
2025-03-05inet: fix lwtunnel_valid_encap_type() lock imbalanceEric Dumazet1-2/+4
2025-02-06ipv6: use RCU protection in ip6_default_advmss()Eric Dumazet1-1/+6
2024-12-19ipv6: Add flow label to route get requestsIdo Schimmel1-1/+19
2024-12-02net/ipv6: release expired exception dst cached in socketJiri Wiesner1-3/+3
2024-11-11ipv6: Fix soft lockups in fib6_select_path under high next hop churnOmid Ehtemam-Haghighi1-15/+30
2024-11-06ipv6: release nexthop on device removalPaolo Abeni1-3/+3
2024-10-15ipv6: Use rtnl_register_many().Kuniyuki Iwashima1-13/+10
2024-09-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-09-13ipv6: avoid possible NULL deref in rt6_uncached_list_flush_dev()Eric Dumazet1-1/+1
2024-08-23net/ipv6: delete redundant judgment statementsLi Zetao1-4/+2
2024-07-24sysctl: treewide: constify the ctl_table argument of proc_handlersJoel Granados1-1/+1
2024-07-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-07-14ipv6: fix source address selection with route leakNicolas Dichtel1-1/+1
2024-06-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2024-06-17ipv6: prevent possible NULL dereference in rt6_probe()Eric Dumazet1-0/+2
2024-06-17ipv6: prevent possible NULL deref in fib6_nh_init()Eric Dumazet1-1/+1
2024-06-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2024-06-12net/ipv6: Fix the RT cache flush via sysctl using a previous delayPetr Pavlu1-2/+2
2024-06-12net: ipv4,ipv6: Pass multipath hash computation through a helperPetr Machata1-6/+6
2024-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2024-06-06ipv6: fix possible race in __fib6_drop_pcpu_from()Eric Dumazet1-0/+1
2024-06-06inet: remove (struct uncached_list)->quarantineEric Dumazet1-4/+1
2024-06-06net: use unrcu_pointer() helperEric Dumazet1-3/+3
2024-06-05net: remove NULL-pointer net parameter in ip_metrics_convertJason Xing1-1/+1
2024-05-29net: fix __dst_negative_advice() raceEric Dumazet1-14/+15
2024-05-16net/ipv6: Fix route deleting failure when metric equals 0xu xin1-1/+4
2024-05-03net: ipv{6,4}: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-5/+0
2024-04-29ipv6: introduce dst_rt6_info() helperEric Dumazet1-14/+14
2024-03-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-14/+7
2024-03-05net/ipv6: avoid possible UAF in ip6_route_mpath_notify()Eric Dumazet1-14/+7
2024-03-01ipv6/addrconf: annotate data-races around devconf fields (I)Eric Dumazet1-1/+2
2024-03-01ipv6: annotate data-races around devconf->disable_policyEric Dumazet1-2/+2
2024-03-01ipv6: annotate data-races in rt6_probe()Eric Dumazet1-2/+3
2024-03-01ipv6: annotate data-races around cnf.forwardingEric Dumazet1-2/+2
2024-03-01ipv6: annotate data-races around cnf.mtu6Eric Dumazet1-3/+3
2024-02-12net/ipv6: Remove expired routes with a separated list of routes.Kui-Feng Lee1-2/+11
2024-02-12net/ipv6: Remove unnecessary clean.Kui-Feng Lee1-2/+0
2024-02-12net/ipv6: set expires in rt6_add_dflt_router().Kui-Feng Lee1-1/+3
2024-01-23net/ipv6: resolve warning in ip6_fib.cBreno Leitao1-4/+4
2023-12-21net/ipv6: Revert remove expired routes with a separated list of routesDavid Ahern1-3/+3
2023-09-19ipv6: lockless IPV6_ADDR_PREFERENCES implementationEric Dumazet1-1/+1
2023-09-12net: dst: remove unnecessary input parameter in dst_alloc and dst_initZhengchao Shao1-2/+2
2023-09-07Merge tag 'net-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-0/+3
2023-09-01ipv6: ignore dst hint for multipath routesSriram Yagnaraman1-0/+3
2023-08-29Merge tag 'sysctl-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-0/+9
2023-08-22net: remove unnecessary input parameter 'how' in ifdown functionZhengchao Shao1-3/+2
2023-08-20ipv6: do not match device when remove source routeHangbin Liu1-5/+2
2023-08-16net/ipv6: Remove expired routes with a separated list of routes.Kui-Feng Lee1-3/+3
2023-08-15networking: Update to register_net_sysctl_szJoel Granados1-0/+9
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+4
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-3/+4
2023-07-28IPv6: add extack info for IPv6 address add/deleteHangbin Liu1-2/+3
2023-06-18ipv6: also use netdev_hold() in ip6_route_check_nh()Eric Dumazet1-4/+9
2023-06-15net: create device lookup API with reference trackingJakub Kicinski1-6/+6
2023-06-02net/ipv6: convert skip_notify_on_dev_down sysctl to u8Eric Dumazet1-2/+2
2023-04-21net: dst: fix missing initialization of rt_uncachedMaxime Bizon1-1/+0
2023-03-28net: dst: Switch to rcuref_t reference countingThomas Gleixner1-3/+3
2023-03-28net: dst: Prevent false sharing vs. dst_entry:: __refcntWangyang Guo1-13/+13
2023-03-21neighbour: switch to standard rcu, instead of rcu_bhEric Dumazet1-6/+6
2023-03-15ipv6: remove one read_lock()/read_unlock() pair in rt6_check_neigh()Eric Dumazet1-4/+4
2023-03-15neighbour: annotate lockless accesses to n->nud_stateEric Dumazet1-1/+1
2023-02-23ipv6: Add lwtunnel encap size of all siblings in nexthop calculationLu Wei1-5/+6
2023-01-24ipv6: Make ip6_route_output_flags_noref() static.Guillaume Nault1-4/+4
2023-01-18ipv6: Remove extra counter pull before gcTanmay Bhushan1-4/+0
2023-01-13ipv6: remove max_size check inline with ipv4Jon Maxwell1-8/+5
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-11-02ipv6: fix WARNING in ip6_route_net_exit_late()Zhengchao Shao1-4/+10
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-07-13nexthop: Fix data-races around nexthop_compat_mode.Kuniyuki Iwashima1-1/+1
2022-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+8
2022-06-29ipv6: remove redundant store to value after additionColin Ian King1-1/+1
2022-06-27ipv6: take care of disable_policy when restoring routesNicolas Dichtel1-1/+8
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-5/+5
2022-04-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-5/+6
2022-04-15ipv6: make ip6_rt_gc_expire an atomic_tEric Dumazet1-5/+6
2022-04-13net: ipv6: add skb drop reasons to ip6_pkt_drop()Menglong Dong1-1/+5
2022-04-05ipv6: Fix stats accounting in ip6_pkt_dropDavid Ahern1-1/+1
2022-03-15net: Add l3mdev index to flow struct and avoid oif reset for port devicesDavid Ahern1-12/+0
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+10
2022-02-17ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rtEric Dumazet1-9/+10
2022-02-11ipv6: add (struct uncached_list)->quarantine listEric Dumazet1-3/+14
2022-02-11ipv6: give an IPv6 dev to blackhole_netdevEric Dumazet1-13/+8
2022-02-11ipv6: get rid of net->ipv6.rt6_stats->fib_rt_uncacheEric Dumazet1-4/+0
2022-02-11ipv6: Reject routes configurations that specify dsfield (tos)Guillaume Nault1-0/+6
2022-01-20ipv6: annotate accesses to fn->fn_sernumEric Dumazet1-1/+1
2022-01-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+30
2022-01-03ipv6: Do cleanup if attribute validation fails in multipath routeDavid Ahern1-5/+3
2022-01-03ipv6: Continue processing multipath route even if gateway attribute is invalidDavid Ahern1-2/+5
2021-12-31lwtunnel: Validate RTA_ENCAP_TYPE attribute lengthDavid Ahern1-0/+4
2021-12-31ipv6: Check attribute length for RTA_GATEWAY when deleting multipath routeDavid Ahern1-1/+5
2021-12-31ipv6: Check attribute length for RTA_GATEWAY in multipath routeDavid Ahern1-1/+20
2021-12-14ipv6: use GFP_ATOMIC in rt6_probe()Eric Dumazet1-1/+1
2021-12-07inet: add net device refcount tracker to struct fib_nh_commonEric Dumazet1-0/+2
2021-12-06ipv6: add net device refcount tracker to rt6_probe_deferred()Eric Dumazet1-2/+3
2021-12-06net: dst: add net device refcount tracking to dst_entryEric Dumazet1-2/+3
2021-11-30net: ipv6: use the new fib6_nh_release_dsts helper in fib6_nh_releaseNikolay Aleksandrov1-18/+2
2021-11-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+19
2021-11-22net: ipv6: add fib6_nh_release_dsts stubNikolay Aleksandrov1-0/+19
2021-11-19ipv6: Use memset_after() to zero rt6_infoKees Cook1-3/+1
2021-11-16net: align static siphash keysEric Dumazet1-1/+1
2021-10-28ipv6: enable net.ipv6.route.max_size sysctl in network namespaceAlexander Kuznetsov1-12/+12
2021-09-24net: ipv4: Fix rtnexthop len when RTA_FLOW is presentXiao Liang1-2/+3
2021-08-30ipv6: make exception cache less predictibleEric Dumazet1-1/+4
2021-08-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+14
2021-08-26ipv6: use siphash in rt6_exception_hash()Eric Dumazet1-6/+14
2021-08-05net: Remove redundant if statementsYajun Deng1-2/+1
2021-07-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2021-07-21net: ipv6: introduce ip6_dst_mtu_maybe_forwardVadim Fedorenko1-19/+1
2021-07-20ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptionsPaolo Abeni1-1/+1
2021-07-20memcg: enable accounting for IP address and routing-related objectsVasily Averin1-1/+1
2021-06-07Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+6
2021-06-03ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptionsCoco Li1-2/+6
2021-05-18ipv6: Add custom multipath hash policyIdo Schimmel1-0/+125
2021-05-18ipv6: Calculate multipath hash inside switch statementIdo Schimmel1-2/+4
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+5
2021-04-08net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlhMuhammad Usama Anjum1-3/+5
2021-04-01net: ipv6: Refactor in rt6_age_examine_exceptionXu Jia1-4/+1
2021-03-28ipv6: route.c: A spello fixBhaskar Chowdhury1-1/+1
2021-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-27/+9
2021-03-10net: ipv6: route.c:fix indentationShubhankar Kuranagatti1-13/+13
2021-03-10net: Consolidate common blackhole dst opsDaniel Borkmann1-27/+9
2021-02-08IPv6: Extend 'fib_notify_on_flag_change' sysctlAmit Cohen1-0/+6
2021-02-08IPv6: Add "offload failed" indication to routesAmit Cohen1-2/+6
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
2021-02-02net: ipv6: Emit notification when fib hardware flags are changedAmit Cohen1-0/+44
2021-01-26net: allow user to set metric on default route learned via Router AdvertisementPraveen Chaudhary1-2/+3
2020-11-19IPv6: RTM_GETROUTE: Add RTA_ENCAP to resultOliver Herms1-0/+4