aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
AgeCommit message (Expand)AuthorFilesLines
13 daysnet: 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
2020-11-06nexthop: Remove in-kernel route notifications when nexthop changesIdo Schimmel1-5/+0
2020-10-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2020-10-09net: ipv6: Discard next-hop MTU less than minimum link MTUGeorg Kohmann1-1/+2
2020-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-09-21ipv6: route: convert comma to semicolonXu Wang1-1/+1
2020-09-11ipv6: remove redundant assignment to variable errColin Ian King1-1/+2
2020-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+6
2020-08-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-4/+4
2020-07-28ipv6: Fix nexthop refcnt leak when creating ipv6 route infoXiyu Yang1-4/+4
2020-07-25bpf: Refactor bpf_iter_reg to have separate seq_info memberYonghong Song1-2/+6
2020-07-21bpf: net: Use precomputed btf_id for bpf iteratorsYonghong Song1-1/+6
2020-07-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+5
2020-07-07ipv6: Fix use of anycast address with loopbackDavid Ahern1-1/+1
2020-07-06ipv6: fib6_select_path can not use out path for nexthop objectsDavid Ahern1-1/+4
2020-06-23ipv6: fib6: avoid indirect calls from fib6_rule_lookupBrian Vazquez1-4/+4
2020-05-22nexthop: support for fdb ecmp nexthopsRoopa Prabhu1-0/+5
2020-05-18ipv6: lift copy_from_user out of ipv6_route_ioctlChristoph Hellwig1-28/+16
2020-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+4
2020-05-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+42
2020-05-13bpf: Enable bpf_iter targets registering ctx argument typesYonghong Song1-0/+5
2020-05-13bpf: Change func bpf_iter_unreg_target() signatureYonghong Song1-1/+1
2020-05-13bpf: net: Refactor bpf_iter target registrationYonghong Song1-9/+9
2020-05-09net: bpf: Add netlink and ipv6_route bpf_iter targetsYonghong Song1-0/+37
2020-05-08ipv6: use DST_NOCOUNT in ip6_rt_pcpu_alloc()Eric Dumazet1-1/+1
2020-05-08net/dst: use a smaller percpu_counter batch for dst entries accountingEric Dumazet1-0/+3
2020-05-07Revert "ipv6: add mtu lock check in __ip6_rt_update_pmtu"Maciej Żenczykowski1-2/+4
2020-05-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+25
2020-05-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-3/+2
2020-05-01ipv6: Use global sernum for dst validation with nexthop objectsDavid Ahern1-0/+25
2020-04-28net: ipv4: add sysctl for nexthop api compatibility modeRoopa Prabhu1-1/+2
2020-04-28net: ipv6: new arg skip_notify to ip6_rt_delRoopa Prabhu1-4/+7
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-3/+2
2020-03-29net: add net available in build_stateAlexander Aring1-1/+1
2020-03-23Remove DST_HOSTDavid Laight1-6/+0
2020-03-12inet: Use fallthrough;Joe Perches1-1/+1
2020-02-16ipv6: Fix nlmsg_flags when splitting a multipath routeBenjamin Poirier1-0/+1
2020-01-14ipv6: Add "offload" and "trap" indications to routesIdo Schimmel1-0/+7
2019-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-7/+15
2019-12-24ipv6: Remove old route notifications and convert listenersIdo Schimmel1-16/+2
2019-12-24ipv6: Handle multipath route deletion notificationIdo Schimmel1-0/+26
2019-12-24ipv6: Notify multipath route if should be offloadedIdo Schimmel1-0/+48
2019-12-24net: add bool confirm_neigh parameter for dst_ops.update_pmtuHangbin Liu1-7/+15
2019-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2019-11-21ipv6: keep track of routes using srcPaolo Abeni1-0/+3
2019-11-20ipv6/route: return if there is no fib_nh_gw_familyHangbin Liu1-1/+1
2019-11-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-3/+10
2019-11-07ipv6: fixes rt6_probe() and fib6_nh->last_probe initEric Dumazet1-3/+10
2019-11-05icmp: remove duplicate codeMatteo Croce1-4/+1
2019-11-04ipv6: use jhash2() in rt6_exception_hash()Eric Dumazet1-2/+2
2019-09-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-8/+13
2019-09-11ipv6: Don't use dst gateway directly in ip6_confirm_neigh()Stefano Brivio1-1/+1
2019-09-07ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()Maciej Żenczykowski1-1/+1
2019-09-05net: Properly update v4 routes with v6 nexthopDonald Sharp1-5/+6
2019-09-05ipv6: Fix RTA_MULTIPATH with nexthop objectsDavid Ahern1-1/+1
2019-09-05net-ipv6: fix excessive RTF_ADDRCONF flag on ::1/128 local route (and others)Maciej Żenczykowski1-2/+6
2019-08-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2019-08-05ipv6: have a single rcu unlock point in __ip6_rt_update_pmtuDavid Ahern1-8/+6
2019-08-05ipv6: Fix unbalanced rcu locking in rt6_update_exception_stamp_rtDavid Ahern1-1/+1
2019-07-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+1
2019-07-18proc/sysctl: add shared variables for range checkMatteo Croce1-5/+2
2019-07-17ipv6: rt6_check should return NULL if 'from' is NULLDavid Ahern1-1/+1
2019-07-08ipv6: Support multipath hashing on inner IP pktsStephen Suryaputra1-0/+36
2019-07-01blackhole_netdev: use blackhole_netdev to invalidate dst entriesMahesh Bandewar1-1/+1
2019-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+3
2019-06-27ipv6: Convert gateway validation to use fib6_infoDavid Ahern1-62/+56
2019-06-26ipv6: fix neighbour resolution with raw socketNicolas Dichtel1-1/+2
2019-06-26ipv6: fix suspicious RCU usage in rt6_dump_route()Eric Dumazet1-0/+2
2019-06-25net/ipv6: Fix misuse of proc_dointvec "skip_notify_on_dev_down"Eiichi Tsukata1-1/+1
2019-06-24ipv6: Dump route exceptions if requestedStefano Brivio1-11/+103
2019-06-24ipv6/route: Change return code of rt6_dump_route() for partial node dumpsStefano Brivio1-6/+10
2019-06-24ipv6/route: Don't match on fc_nh_id if not set in ip6_route_del()Stefano Brivio1-1/+2
2019-06-23ipv6: convert major tx path to use RT6_LOOKUP_F_DST_NOREFWei Wang1-2/+27
2019-06-23ipv6: convert rx data path to not take refcnt on dstWei Wang1-3/+4
2019-06-23ipv6: initialize rt6->rt6i_uncached in all pre-allocated dst entriesWei Wang1-0/+3
2019-06-23ipv6: introduce RT6_LOOKUP_F_DST_NOREF flag in ip6_pol_route()Wei Wang1-43/+30
2019-06-22ipv6: Error when route does not have any valid nexthopsIdo Schimmel1-0/+6
2019-06-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-06-19ipv6: Default fib6_type to RTN_UNICAST when not setDavid Ahern1-1/+1
2019-06-18ipv6: Add IPv6 multipath notification for route deleteIdo Schimmel1-0/+6
2019-06-18ipv6: Add IPv6 multipath notifications for add / replaceIdo Schimmel1-0/+15
2019-06-10ipv6: Allow routes to use nexthop objectsDavid Ahern1-8/+81
2019-06-10ipv6: Handle all fib6_nh in a nexthop in mtu updatesDavid Ahern1-1/+28
2019-06-10ipv6: Handle all fib6_nh in a nexthop in rt6_do_redirectDavid Ahern1-1/+19
2019-06-10ipv6: Handle all fib6_nh in a nexthop in __ip6_route_redirectDavid Ahern1-4/+35
2019-06-10ipv6: Handle all fib6_nh in a nexthop in exception handlingDavid Ahern1-3/+108
2019-06-10ipv6: Handle all fib6_nh in a nexthop in fib6_info_uses_devDavid Ahern1-0/+18
2019-06-10ipv6: Handle all fib6_nh in a nexthop in rt6_nlmsg_sizeDavid Ahern1-12/+37
2019-06-10ipv6: Handle all fib6_nh in a nexthop in __find_rr_leafDavid Ahern1-2/+47
2019-06-10ipv6: Handle all fib6_nh in a nexthop in rt6_device_matchDavid Ahern1-2/+52
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-06-06ipv6: fix spelling mistake: "wtih" -> "with"Colin Ian King1-1/+1
2019-06-04ipv6: Plumb support for nexthop object in a fib6_infoDavid Ahern1-22/+126
2019-06-04ipv6: Always allocate pcpu memory in a fib6_nhDavid Ahern1-6/+7
2019-06-03ipv6: use this_cpu_read() in rt6_get_pcpu_route()Eric Dumazet1-3/+2
2019-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+6
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-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1