aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_fib.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+5
2024-04-09ipv6: fib: hide unused 'pn' variableArnd Bergmann1-2/+5
2024-04-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+7
2024-04-02ipv6: Fix infinite recursion in fib6_dump_done().Kuniyuki Iwashima1-7/+7
2024-04-01ipv6: remove RTNL protection from inet6_dump_fib()Eric Dumazet1-25/+26
2024-02-26inet: allow ip_valid_fib_dump_req() to be called with RTNL or RCUEric Dumazet1-2/+5
2024-02-21ipv6: Simplify the allocation of slab cachesKunwu Chan1-4/+2
2024-02-12net/ipv6: Remove expired routes with a separated list of routes.Kui-Feng Lee1-5/+55
2024-01-23net/ipv6: resolve warning in ip6_fib.cBreno Leitao1-6/+9
2024-01-23net/ipv6: Remove unnecessary pr_debug() logsBreno Leitao1-4/+0
2023-12-21net/ipv6: Revert remove expired routes with a separated list of routesDavid Ahern1-49/+6
2023-11-30ipv6: fix potential NULL deref in fib6_add()Eric Dumazet1-5/+1
2023-08-16net/ipv6: Remove expired routes with a separated list of routes.Kui-Feng Lee1-6/+49
2023-05-11ipv6: remove nexthop_fib6_nh_bh()Eric Dumazet1-8/+8
2022-11-16ipv6: fib6_new_sernum() optimizationEric Dumazet1-4/+3
2022-01-20ipv6: annotate accesses to fn->fn_sernumEric Dumazet1-10/+13
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-09-13ipv6: delay fib6_sernum increase in fib6_addzhang kai1-2/+1
2021-08-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-08-24ipv6: correct comments about fib6_node sernumzhang kai1-1/+1
2021-07-20memcg: enable accounting for IP address and routing-related objectsVasily Averin1-2/+2
2021-05-18ipv6: Add a sysctl to control multipath hash fieldsIdo Schimmel1-0/+5
2021-05-18ipv6: Use a more suitable label nameIdo Schimmel1-2/+2
2021-03-10ipv6: fix suspecious RCU usage warningWei Wang1-1/+1
2021-02-11net: fib_notifier: don't return positive values on fib registrationVlad Buslov1-2/+3
2021-01-07net: ipv6: fib: flush exceptions when purging routeSean Tranchetti1-3/+2
2020-10-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2020-10-15net: fix pos incrementment in ipv6_route_seq_nextYonghong Song1-1/+3
2020-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-4/+9
2020-09-08ipv6: avoid lockdep issue in fib6_del()Eric Dumazet1-4/+9
2020-08-25ipv6: fib6: Avoid comma separated statementsJoe Perches1-4/+8
2020-06-23ipv6: fib6: avoid indirect calls from fib6_rule_lookupBrian Vazquez1-1/+2
2020-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-05-21net: don't return invalid table id error when we fall back to PF_UNSPECSabrina Dubroca1-1/+1
2020-05-13bpf: Enable bpf_iter targets registering ctx argument typesYonghong Song1-5/+0
2020-05-09net: bpf: Add netlink and ipv6_route bpf_iter targetsYonghong Song1-2/+63
2020-03-12inet: Use fallthrough;Joe Perches1-4/+4
2020-02-16ipv6: Fix route replacement with dev-only routeBenjamin Poirier1-3/+4
2020-01-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+2
2020-01-24ipv6_route_seq_next should increase position indexVasily Averin1-5/+2
2019-12-24ipv6: Remove old route notifications and convert listenersIdo Schimmel1-46/+15
2019-12-24ipv6: Handle route deletion notificationIdo Schimmel1-1/+43
2019-12-24ipv6: Only Replay routes of interest to new listenersIdo Schimmel1-0/+40
2019-12-24ipv6: Notify route if replacing currently offloaded oneIdo Schimmel1-0/+7
2019-12-24ipv6: Notify newly added route if should be offloadedIdo Schimmel1-0/+18
2019-11-21ipv6: keep track of routes using srcPaolo Abeni1-0/+4
2019-10-04net: fib_notifier: propagate extack down to the notifier block callbackJiri Pirko1-3/+9
2019-10-04net: fib_notifier: propagate possible error during fib notifier registrationJiri Pirko1-12/+24
2019-10-04net: fib_notifier: make FIB notifier per-netnsJiri Pirko1-3/+3
2019-09-20ipv6: fix a typo in fib6_rule_lookup()Eric Dumazet1-1/+1
2019-07-18ipv6: Unlink sibling route in case of failureIdo Schimmel1-1/+17
2019-06-24ip6_fib: Don't discard nodes with valid routing information in fib6_locate_1()Stefano Brivio1-1/+2
2019-06-24ipv6: Dump route exceptions if requestedStefano Brivio1-1/+11
2019-06-24ipv6/route: Change return code of rt6_dump_route() for partial node dumpsStefano Brivio1-1/+1
2019-06-24Revert "net/ipv6: Bail early if user only wants cloned entries"Stefano Brivio1-5/+2
2019-06-24fib_frontend, ip6_fib: Select routes or exceptions dump from RTM_F_CLONEDStefano Brivio1-1/+2
2019-06-23ipv6: honor RT6_LOOKUP_F_DST_NOREF in rule lookup logicWei Wang1-2/+3
2019-06-18ipv6: Stop sending in-kernel notifications for each nexthopIdo Schimmel1-12/+17
2019-06-18ipv6: Extend notifier info for multipath routesIdo Schimmel1-0/+17
2019-06-10ipv6: Handle all fib6_nh in a nexthop in fib6_drop_pcpu_fromDavid Ahern1-4/+27
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-06-04ipv6: Plumb support for nexthop object in a fib6_infoDavid Ahern1-4/+18
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-24ipv6: Make fib6_nh optional at the end of fib6_infoDavid Ahern1-7/+11
2019-05-24ipv6: Move exception bucket to fib6_nhDavid Ahern1-6/+0
2019-05-24ipv6: Refactor fib6_drop_pcpu_fromDavid Ahern1-10/+25
2019-05-24ipv6: Move pcpu cached routes to fib6_nhDavid Ahern1-28/+6
2019-05-22ipv6: export function to send route updatesDavid Ahern1-4/+4
2019-05-22ipv6: Add hook to bump sernum for a route to stubsDavid Ahern1-0/+8
2019-05-16ipv6: prevent possible fib6 leaksEric Dumazet1-3/+9
2019-05-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+1
2019-04-30ipv6: fix races in ip6_dst_destroy()Eric Dumazet1-3/+1
2019-04-23ipv6: convert fib6_ref to refcount_tEric Dumazet1-3/+3
2019-04-23ipv6: broadly use fib6_info_hold() helperEric Dumazet1-8/+8
2019-04-23ipv6: fib6_info_destroy_rcu() cleanupEric Dumazet1-4/+1
2019-04-17ipv6: Pass fib6_result to fib lookupsDavid Ahern1-3/+4
2019-04-08net: Replace nhc_has_gw with nhc_gw_familyDavid Ahern1-1/+1
2019-03-29ipv6: Rename fib6_nh entriesDavid Ahern1-2/+2
2019-03-29ipv6: Move gateway checks to a fib6_nh settingDavid Ahern1-3/+6
2019-03-29ipv6: Create cleanup helper for fib6_nhDavid Ahern1-4/+1
2019-01-02ipv6: Fix dump of specific table with strict checkingDavid Ahern1-1/+5
2018-11-05ipv6: properly check return value in inet6_dump_all()Alexey Kodanev1-2/+2
2018-10-24net: Don't return invalid table id error when dumping all familiesDavid Ahern1-0/+3
2018-10-16net/ipv6: Bail early if user only wants cloned entriesDavid Ahern1-2/+5
2018-10-16net: Enable kernel side filtering of route dumpsDavid Ahern1-1/+1
2018-10-16net/ipv6: Plumb support for filtering route dumpsDavid Ahern1-6/+22
2018-10-16net: Add struct for fib dump filterDavid Ahern1-2/+3
2018-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2018-10-12net/ipv6: Add knob to skip DELROUTE message on device downDavid Ahern1-5/+15
2018-10-10net/ipv6: stop leaking percpu memory in fib6 infoMike Rapoport1-0/+2
2018-10-08rtnetlink: Update fib dumps for strict data checkingDavid Ahern1-0/+8
2018-10-04net: Move free of fib_metrics to helperDavid Ahern1-4/+2
2018-10-04net: common metrics init helper for FIB entriesDavid Ahern1-2/+0
2018-09-02net/ipv6: Only update MTU metric if it setDavid Ahern1-1/+4
2018-08-20net/ipv6: Put lwtstate when destroying fib6_infoDavid Ahern1-0/+2
2018-08-01Revert "net/ipv6: fix metrics leak"David S. Miller1-14/+4
2018-07-30net/ipv6: fix metrics leakSabrina Dubroca1-4/+14
2018-07-04net/ipv6: Revert attempt to simplify route replace and appendDavid Ahern1-70/+86
2018-06-20net/ipv6: respect rcu grace period before freeing fib6_infoEric Dumazet1-2/+3
2018-06-15ipv6: Only emit append events for appended routesIdo Schimmel1-3/+2
2018-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-309/+330
2018-05-22net/ipv6: Simplify route replace and appending into multipath routeDavid Ahern1-86/+71
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-17/+1
2018-05-11net/ipv6: Add fib6_lookupDavid Ahern1-0/+7
2018-05-11net/ipv6: Rename fib6_lookup to fib6_node_lookupDavid Ahern1-6/+8
2018-05-04net/ipv6: rename rt6_next to fib6_nextDavid Ahern1-13/+13
2018-04-21net/ipv6: Make from in rt6_info rcu protectedDavid Ahern1-2/+6
2018-04-21net/ipv6: Move release of fib6_info from pcpu routes to helperDavid Ahern1-18/+23
2018-04-19net/ipv6: Remove fib6_idevDavid Ahern1-2/+0
2018-04-19net/ipv6: Rename fib6_info struct elementsDavid Ahern1-85/+85
2018-04-17net/ipv6: Remove unused code and variables for rt6_infoDavid Ahern1-22/+0
2018-04-17net/ipv6: Flip FIB entries to fib6_infoDavid Ahern1-58/+58
2018-04-17net/ipv6: separate handling of FIB entries from dst based routesDavid Ahern1-19/+36
2018-04-17net/ipv6: introduce fib6_info struct and helpersDavid Ahern1-0/+60
2018-04-17net/ipv6: Cleanup exception and cache route handlingDavid Ahern1-15/+1
2018-04-17net/ipv6: Add fib6_null_entryDavid Ahern1-13/+13
2018-04-17net/ipv6: move expires into rt6_infoDavid Ahern1-4/+4
2018-04-17net/ipv6: move metrics from dst to rt6_infoDavid Ahern1-44/+22
2018-04-17net/ipv6: Move nexthop data to fib6_nhDavid Ahern1-2/+4
2018-04-17net/ipv6: Pass net to fib6_update_sernumDavid Ahern1-2/+1
2018-03-29net/ipv6: Move call_fib6_entry_notifiers up for route addsDavid Ahern1-4/+12
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-04net/ipv6: Pass skb to route lookupDavid Ahern1-1/+2
2018-02-19net: Convert fib6_net_ops, ipv6_addr_label_ops and ip6_segments_opsKirill Tkhai1-0/+1
2018-01-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+8
2018-01-18ipv6: don't let tb6_root node share routes with other nodeWei Wang1-2/+8
2018-01-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+29
2018-01-10ipv6: Calculate hash thresholds for IPv6 nexthopsIdo Schimmel1-6/+2
2018-01-09ipv6: remove null_entry before adding default routeWei Wang1-9/+29
2018-01-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-15/+20
2018-01-07ipv6: Take table lock outside of sernum update functionIdo Schimmel1-4/+1
2018-01-07ipv6: Export sernum update functionIdo Schimmel1-3/+8
2018-01-07ipv6: Teach tree walker to skip multipath routesIdo Schimmel1-2/+9
2018-01-07ipv6: Remove redundant route flushing during namespace dismantleIdo Schimmel1-1/+0
2018-01-04ipv6: fix general protection fault in fib6_add()Wei Wang1-15/+20
2017-12-04rtnetlink: remove __rtnl_registerFlorian Westphal1-2/+2
2017-11-30ipv6: Move rt6_next from dst_entry into ipv6 route structure.David Miller1-13/+13
2017-11-21treewide: setup_timer() -> timer_setup() (2 field)Kees Cook1-4/+6
2017-11-01net: Add extack to fib_notifier_infoDavid Ahern1-6/+9
2017-10-18ipv6: mark expected switch fall-throughsGustavo A. R. Silva1-0/+4
2017-10-16ipv6: check fn before doing FIB6_SUBTREE(fn)Wei Wang1-4/+7
2017-10-09ipv6: use rcu_dereference_bh() in ipv6_route_seq_next()Wei Wang1-1/+1
2017-10-07ipv6: take care of rt6_statsWei Wang1-18/+24
2017-10-07ipv6: replace rwlock with rcu and spinlock in fib6_tableWei Wang1-161/+244
2017-10-07ipv6: check fn->leaf before it is usedWei Wang1-5/+18
2017-10-07ipv6: update fn_sernum after route is inserted to treeWei Wang1-18/+21
2017-10-07ipv6: don't release rt->rt6i_pcpu memory during rt6_release()Wei Wang1-3/+0
2017-10-07ipv6: hook up exception table to store dst cacheWei Wang1-78/+17
2017-10-07ipv6: prepare fib6_locate() for exception tableWei Wang1-7/+23
2017-10-07ipv6: prepare fib6_age() for exception tableWei Wang1-17/+9
2017-10-07ipv6: introduce a new function fib6_update_sernum()Wei Wang1-0/+14
2017-09-08ipv6: fix typo in fib6_net_exit()Eric Dumazet1-1/+1
2017-09-08ipv6: fix memory leak with multiple tables during netns destructionSabrina Dubroca1-6/+19
2017-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+26
2017-08-28ipv6: set dst.obsolete when a cached route has expiredXin Long1-1/+3
2017-08-28ipv6: fix sparse warning on rt6i_nodeWei Wang1-4/+7
2017-08-22ipv6: add rcu grace period before freeing fib6_nodeWei Wang1-4/+16
2017-08-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-13/+15
2017-08-20ipv6: repair fib6 tree in failure caseWei Wang1-13/+11
2017-08-18ipv6: reset fn->rr_ptr when replacing routeWei Wang1-0/+4
2017-08-09rtnetlink: make rtnl_register accept a flags parameterFlorian Westphal1-1/+1
2017-08-03ipv6: fib: Add helpers to hold / drop a reference on rt6_infoIdo Schimmel1-10/+2
2017-08-03ipv6: fib: Unlink replaced routes from their nodesIdo Schimmel1-0/+2
2017-08-03ipv6: fib: Don't assume only nodes hold a reference on routesIdo Schimmel1-2/+0
2017-08-03ipv6: fib: Dump tables during registration to FIB chainIdo Schimmel1-0/+92
2017-08-03ipv6: fib: Add in-kernel notifications for route add / deleteIdo Schimmel1-0/+17
2017-08-03ipv6: fib: Add FIB notifiers callbacksIdo Schimmel1-0/+7
2017-07-06net: ipv6: Compare lwstate in detecting duplicate nexthopsDavid Ahern1-4/+1
2017-06-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+1
2017-06-20ipv6: Do not leak throw route referencesSerhey Popovych1-2/+1
2017-06-17net: remove DST_NOCACHE flagWei Wang1-3/+1
2017-06-17ipv6: get rid of icmp6 dst garbage collectorWei Wang1-2/+1
2017-06-17ipv6: mark DST_NOGC and remove the operation of dst_free()Wei Wang1-13/+2
2017-06-17ipv6: call dst_dev_put() properlyWei Wang1-0/+2
2017-06-17ipv6: take dst->__refcnt for insertion into fib6 treeWei Wang1-1/+11
2017-05-22net: ipv6: Add extack messages for route add failuresDavid Ahern1-0/+4
2017-05-22net: ipv6: Plumb extack through route add functionsDavid Ahern1-5/+9
2017-03-13ipv6: make ECMP route replacement less greedySabrina Dubroca1-0/+2
2017-02-04net: ipv6: Change notifications for multipath delete to RTA_MULTIPATHDavid Ahern1-1/+2
2017-02-04net: ipv6: Change notifications for multipath add to RTA_MULTIPATHDavid Ahern1-2/+4
2017-02-04net: ipv6: Add support to dump multipath routes via RTA_MULTIPATH attributeDavid Ahern1-0/+10
2017-02-01net: ipv6: add NLM_F_APPEND in notifications when applicableDavid Ahern1-0/+3
2016-09-09ipv6: report NLM_F_CREATE and NLM_F_EXCL flags in RTM_NEWROUTE eventsGuillaume Nault1-1/+5
2016-07-05ipv6: Fix mem leak in rt6i_pcpuMartin KaFai Lau1-0/+1
2016-05-06net: vrf: Create FIB tables on link createDavid Ahern1-0/+1
2016-03-08ipv6: per netns FIB garbage collectionMichal Kubeček1-5/+4
2016-03-08ipv6: per netns fib6 walkersMichal Kubeček1-32/+36
2016-03-08ipv6: replace global gc_args with local variableMichal Kubeček1-6/+8
2015-10-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+11
2015-10-23ipv6: fix the incorrect return value of throw routelucien1-1/+11
2015-10-13net: Export fib6_get_table and nd_tblDavid Ahern1-0/+1
2015-09-17ipv6: include NLM_F_REPLACE in route replace notificationsRoopa Prabhu1-3/+3
2015-09-15ipv6: Replace spinlock with seqlock and rcu in ip6_tunnelMartin KaFai Lau1-2/+7
2015-09-15ipv6: Avoid double dst_freeMartin KaFai Lau1-2/+9
2015-08-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2015-08-20route: move lwtunnel state to dst_entryJiri Benc1-1/+0
2015-08-17ipv6: Fix a potential deadlock when creating pcpu rtMartin KaFai Lau1-0/+2
2015-07-27lwtunnel: change prototype of lwtunnel_state_get()Nicolas Dichtel1-1/+1
2015-07-21ipv6: support for fib route lwtunnel encap attributesRoopa Prabhu1-0/+2
2015-05-25ipv6: Create percpu rt6_infoMartin KaFai Lau1-1/+23