aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_semantics.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-25net: add two more call_rcu_hurry()Eric Dumazet1-1/+1
2023-10-18ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddrEric Dumazet1-5/+9
2023-10-03ipv4/fib: send notify when delete source address routesHangbin Liu1-0/+1
2023-08-31ipv4: annotate data-races around fi->fib_deadEric Dumazet1-1/+4
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-2/+2
2023-01-23ipv4: prevent potential spectre v1 gadget in fib_metrics_match()Eric Dumazet1-0/+2
2022-12-06ipv4: Fix incorrect route flushing when source address is deletedIdo Schimmel1-0/+1
2022-11-28ipv4: Fix route deletion when nexthop info is not specifiedIdo Schimmel1-3/+5
2022-10-27Revert "ip: fix dflt addr selection for connected nexthop"Nicolas Dichtel1-1/+1
2022-10-07ipv4: Handle attempt to delete multipath route when fib_info contains an nh r...David Ahern1-4/+4
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-07-20ipv4: Fix a data-race around sysctl_fib_multipath_use_neigh.Kuniyuki Iwashima1-1/+1
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2022-07-14ip: fix dflt addr selection for connected nexthopNicolas Dichtel1-1/+1
2022-07-13nexthop: Fix data-races around nexthop_compat_mode.Kuniyuki Iwashima1-1/+1
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-5/+6
2022-04-11ipv4: Use dscp_t in struct fib_rt_infoGuillaume Nault1-2/+2
2022-04-01net: ipv4: fix route with nexthop object delete warningNikolay Aleksandrov1-1/+6
2022-03-15net: Add l3mdev index to flow struct and avoid oif reset for port devicesDavid Ahern1-1/+1
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2022-02-17ipv4: fix data races in fib_alias_hw_flags_setEric Dumazet1-3/+3
2022-02-07ipv4: Use dscp_t in struct fib_aliasGuillaume Nault1-6/+8
2022-01-25ipv4: get rid of fib_info_hash_{alloc|free}Eric Dumazet1-33/+11
2022-01-19ipv4: add net_hash_mix() dispersion to fib_info_laddrhash keysEric Dumazet1-14/+15
2022-01-19ipv4: avoid quadratic behavior in netns dismantleEric Dumazet1-19/+17
2022-01-16ipv4: update fib_info_cnt under spinlock protectionEric Dumazet1-3/+8
2022-01-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+43
2021-12-31lwtunnel: Validate RTA_ENCAP_TYPE attribute lengthDavid Ahern1-0/+3
2021-12-31ipv4: Check attribute length for RTA_FLOW in multipath routeDavid Ahern1-3/+14
2021-12-31ipv4: Check attribute length for RTA_GATEWAY in multipath routeDavid Ahern1-3/+26
2021-12-07inet: add net device refcount tracker to struct fib_nh_commonEric Dumazet1-5/+7
2021-12-02ipv4: convert fib_num_tclassid_users to atomic_tEric Dumazet1-2/+2
2021-09-24net: ipv4: Fix rtnexthop len when RTA_FLOW is presentXiao Liang1-7/+9
2021-08-05net: Remove redundant if statementsYajun Deng1-3/+1
2021-08-02ipv4: Fix refcount warning for new fib_infoDavid Ahern1-1/+1
2021-07-30net: convert fib_treeref from int to refcount_tYajun Deng1-4/+4
2021-05-17ipv4: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2021-02-08IPv4: Add "offload failed" indication to routesAmit Cohen1-0/+3
2021-02-02net: ipv4: Publish fib_nlmsg_size()Amit Cohen1-1/+1
2021-02-02net: ipv4: Pass fib_rt_info as const to fib_dump_info()Amit Cohen1-1/+1
2020-11-16treewide: rename nla_strlcpy to nla_strscpy.Francis Laniel1-1/+1
2020-11-11ipv4: Set nexthop flags in a more consistent wayIdo Schimmel1-5/+2
2020-11-06rtnetlink: Add RTNH_F_TRAP flagIdo Schimmel1-0/+2
2020-06-18net: Fix the arp error in some casesguodeqing1-1/+1
2020-04-28net: ipv4: add sysctl for nexthop api compatibility modeRoopa Prabhu1-0/+3
2020-04-22ipv4: Update fib_select_default to handle nexthop objectsDavid Ahern1-3/+3
2020-03-29net: add net available in build_stateAlexander Aring1-10/+12
2020-03-12inet: Use fallthrough;Joe Perches1-2/+2
2020-01-14ipv4: Add "offload" and "trap" indications to routesIdo Schimmel1-0/+7
2020-01-14ipv4: Encapsulate function arguments in a structIdo Schimmel1-10/+16
2019-11-07ipv4: Fix table id reference in fib_sync_down_addrDavid Ahern1-1/+1
2019-09-05net: Properly update v4 routes with v6 nexthopDonald Sharp1-7/+8
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-06-10ipv4: Optimization for fib_info lookup with nexthopsDavid Ahern1-6/+65
2019-06-10ipv4: Allow routes to use nexthop objectsDavid Ahern1-0/+15
2019-06-09net: ipv4: fib_semantics: fix uninitialized variableEnrico Weigelt1-1/+1
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-06-05net: ipv4: drop unneeded likely() call around IS_ERR()Enrico Weigelt1-1/+1
2019-06-04ipv4: Plumb support for nexthop object in a fib_infoDavid Ahern1-36/+106
2019-06-04ipv4: Prepare for fib6_nh from a nexthop objectDavid Ahern1-17/+38
2019-06-04ipv4: Use accessors for fib_info nexthop dataDavid Ahern1-29/+37
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-22ipv4: Rename and export nh_update_mtuDavid Ahern1-2/+2
2019-05-22ipv4: export fib_info_update_nh_saddrDavid Ahern1-6/+5
2019-05-22ipv4: export fib_check_nhDavid Ahern1-6/+6
2019-05-05ipv4: Move exception bucket to nh_commonDavid Ahern1-6/+6
2019-05-05ipv4: Move cached routes to fib_nh_commonDavid Ahern1-17/+19
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-1/+1
2019-04-23net: Change nhc_flags to unsigned charDavid Ahern1-4/+4
2019-04-23lwtunnel: Pass encap and encap type attributes to lwtunnel_fill_encapDavid Ahern1-1/+2
2019-04-22net: Rename net/nexthop.h net/rtnh.hDavid Ahern1-1/+1
2019-04-10ipv4: Handle RTA_GATEWAY set to 0David Ahern1-1/+2
2019-04-08ipv4: Allow ipv6 gateway with ipv4 routesDavid Ahern1-5/+64
2019-04-08ipv4: Flag fib_info with a fib_nh using IPv6 gatewayDavid Ahern1-0/+2
2019-04-08ipv4: Handle ipv6 gateway in fib_good_nhDavid Ahern1-2/+8
2019-04-08ipv4: Handle ipv6 gateway in fib_detect_deathDavid Ahern1-1/+9
2019-04-08ipv4: Add fib_check_nh_v6_gwDavid Ahern1-0/+27
2019-04-08ipv4: Refactor fib_check_nhDavid Ahern1-109/+125
2019-04-08ipv4: Add support to fib_config for IPv6 gatewayDavid Ahern1-6/+23
2019-04-08ipv4: Prepare fib_config for IPv6 gatewayDavid Ahern1-14/+26
2019-04-08net: Replace nhc_has_gw with nhc_gw_familyDavid Ahern1-14/+11
2019-04-03ipv6: Flip to fib_nexthop_infoDavid Ahern1-5/+17
2019-04-03ipv4: Change fib_nexthop_info and fib_add_nexthop to take fib_nh_commonDavid Ahern1-20/+32
2019-04-03ipv4: Refactor nexthop attributes in fib_dump_infoDavid Ahern1-59/+107
2019-04-03ipv4: Add fib_nh_common to fib_resultDavid Ahern1-4/+21
2019-03-29net: Use common nexthop init and release helpersDavid Ahern1-21/+39
2019-03-29net: Add fib_nh_common and update fib_nh and fib6_nhDavid Ahern1-1/+6
2019-03-29ipv4: Rename fib_nh entriesDavid Ahern1-114/+115
2019-03-29ipv4: Create cleanup helper for fib_nhDavid Ahern1-12/+17
2019-03-29ipv4: Create init helper for fib_nhDavid Ahern1-89/+91
2019-03-29ipv4: Move IN_DEV_IGNORE_ROUTES_WITH_LINKDOWN to helperDavid Ahern1-24/+7
2019-03-29ipv4: Define fib_get_nhs when CONFIG_IP_ROUTE_MULTIPATH is disabledDavid Ahern1-6/+9
2019-02-01ipv4: fib: use struct_size() in kzalloc()Gustavo A. R. Silva1-1/+1
2018-11-06net: Add extack argument to ip_fib_metrics_initDavid Ahern1-1/+1
2018-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+50
2018-10-10net: ipv4: update fnhe_pmtu when first hop's MTU changesSabrina Dubroca1-0/+50
2018-10-04net: Move free of fib_metrics to helperDavid Ahern1-4/+2
2018-10-04net: common metrics init helper for FIB entriesDavid Ahern1-20/+7
2018-08-31net/ipv4: Add extack message that dev is required for ONLINKDavid Ahern1-1/+3
2018-06-05net: metrics: add proper netlink validationEric Dumazet1-0/+2
2018-04-17net: Move fib_convert_metrics to metrics fileDavid Ahern1-41/+2
2018-04-01route: check sysctl_fib_multipath_use_neigh earlier than hashXin Long1-9/+11
2018-03-04net/ipv4: Pass net to fib_multipath_hash instead of fib_infoDavid Ahern1-1/+1
2018-02-28ipv6: route: dissect flow in input path if fib rules need itRoopa Prabhu1-1/+1
2018-02-28inet: whitespace cleanupStephen Hemminger1-1/+1
2018-02-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+5
2018-02-16fib_semantics: Don't match route with mismatching tclassidStefano Brivio1-0/+5
2018-02-13net/ipv4: Unexport fib_multipath_hash and fib_select_pathDavid Ahern1-1/+0
2018-02-13net/ipv4: Simplify fib_select_pathDavid Ahern1-6/+5
2017-12-19ipv4: fib: Fix metrics match when deleting a routePhil Sutter1-2/+6
2017-11-15tcp: Namespace-ify sysctl_tcp_default_congestion_controlStephen Hemminger1-2/+2
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+10
2017-11-03fib: fib_dump_info can no longer use __in_dev_get_rtnlFlorian Westphal1-6/+10
2017-09-29net: ipv4: remove fib_info arg to fib_check_nhDavid Ahern1-3/+3
2017-09-29net: ipv4: remove fib_weightDavid Ahern1-9/+0
2017-08-23ipv4: do metrics match when looking up and deleting a routeXin Long1-0/+34
2017-08-18ipv4: convert dst_metrics.refcnt from atomic_t to refcount_tEric Dumazet1-2/+2
2017-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+7
2017-08-15ipv4: fix NULL dereference in free_fib_info_rcu()Eric Dumazet1-5/+7
2017-08-03net: core: Make the FIB notification chain genericIdo Schimmel1-4/+5
2017-08-02ipv4: fib: Set offload indication according to nexthop flagsIdo Schimmel1-0/+2
2017-07-31ipv4: fib: Fix NULL pointer deref during fib_sync_down_dev()Ido Schimmel1-1/+1
2017-07-04net, ipv4: convert fib_info.fib_clntref from atomic_t to refcount_tReshetova, Elena1-1/+1
2017-06-17ipv4: mark DST_NOGC and remove the operation of dst_free()Wei Wang1-4/+2
2017-06-17ipv4: call dst_dev_put() properlyWei Wang1-0/+2
2017-06-17ipv4: take dst->__refcnt when caching dst in fibWei Wang1-1/+4
2017-05-30net: add extack arg to lwtunnel build stateDavid Ahern1-9/+11
2017-05-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+10
2017-05-26ipv4: add reference counting to metricsEric Dumazet1-7/+10
2017-05-22net: ipv4: Add extack messages for route add failuresDavid Ahern1-22/+93
2017-05-22net: ipv4: Plumb extack through route add functionsDavid Ahern1-9/+13
2017-03-21net: ipv4: add support for ECMP hash policy choiceNikolay Aleksandrov1-8/+3
2017-02-08ipv4: fib: Notify about nexthop status changesIdo Schimmel1-0/+33
2017-01-30lwtunnel: remove device arg to lwtunnel_build_stateDavid Ahern1-19/+8
2017-01-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+7
2017-01-12net: lwtunnel: Handle lwtunnel_fill_encap failureDavid Ahern1-4/+7
2017-01-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+7
2017-01-11net: ipv4: Fix multipath selection with vrfDavid Ahern1-2/+7
2017-01-06net: ipv4: make fib_select_default staticDavid Ahern1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-03ipv4: fib: Export free_fib_info()Ido Schimmel1-0/+1
2016-09-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+6
2016-09-06net: Don't delete routes in different VRFsMark Tomlinson1-2/+6
2016-08-19net: ipv4: fix sparse error in fib_good_nh()Eric Dumazet1-1/+2
2016-07-11ipv4: reject RTNH_F_DEAD and RTNH_F_LINKDOWN from user spaceJulian Anastasov1-0/+6
2016-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+2
2016-05-14net/route: enforce hoplimit max valuePaolo Abeni1-0/+2
2016-04-11net: ipv4: Consider failed nexthops in multipath routesDavid Ahern1-5/+29
2015-11-04net: Fix prefsrc lookupsDavid Ahern1-3/+10
2015-11-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+15
2015-11-02ipv4: use l4 hash for locally generated multipath flowsPaolo Abeni1-1/+2
2015-11-01ipv4: update RTNH_F_LINKDOWN flag on UP eventJulian Anastasov1-0/+7
2015-11-01ipv4: fix to not remove local route on link downJulian Anastasov1-3/+8
2015-10-16net: Fix suspicious RCU usage in fib_rebalanceDavid Ahern1-2/+2
2015-10-07net: Refactor path selection in __ip_route_output_key_hashDavid Ahern1-0/+21
2015-10-05ipv4: Fix compilation errors in fib_rebalancePeter Nørlund1-2/+2
2015-10-05ipv4: L3 hash-based multipathPeter Nørlund1-65/+75
2015-09-01net: Make table id type u32David Ahern1-1/+1
2015-08-31tcp: use dctcp if enabled on the route to the initiatorDaniel Borkmann1-1/+5
2015-08-31fib, fib6: reject invalid feature bitsDaniel Borkmann1-0/+2
2015-08-31net: fib: move metrics parsing to a helperFlorian Westphal1-30/+41
2015-08-24lwt: Add cfg argument to build_stateTom Herbert1-7/+10
2015-08-20net: Fix nexthop lookupsDavid Ahern1-1/+8
2015-08-20ipv4: Make fib_encap_match staticYing Xue1-3/+3
2015-08-18lwtunnel: fix memory leakJiri Benc1-4/+6
2015-08-16ipv4: fix refcount leak in fib_check_nh()Eric Dumazet1-1/+2
2015-08-13net: Use passed in table for nexthop lookupsDavid Ahern1-2/+11
2015-08-13net: Add routes to the table associated with the deviceDavid Ahern1-6/+19
2015-08-13net: Fix up inet_addr_type checksDavid Ahern1-2/+4
2015-07-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-11/+30
2015-07-27lwtunnel: change prototype of lwtunnel_state_get()Nicolas Dichtel1-5/+4
2015-07-26ipv4: be more aggressive when probing alternative gatewaysJulian Anastasov1-1/+3
2015-07-24ipv4: consider TOS in fib_select_defaultJulian Anastasov1-11/+25
2015-07-24ipv4: fib_select_default should match the prefixJulian Anastasov1-0/+5
2015-07-21ipv4: support for fib route lwtunnel encap attributesRoopa Prabhu1-1/+95
2015-06-28ipv4: fix RCU lockdep warning from linkdown changesAndy Gospodarek1-2/+2
2015-06-24net: ipv4 sysctl option to ignore routes when nexthop link is downAndy Gospodarek1-5/+28
2015-06-24net: track link-status of ipv4 nexthopsAndy Gospodarek1-13/+47
2015-05-02ipv4: remove the unnecessary codes in fib_info_hash_moveLi RongQing1-4/+0
2015-04-03ipv4: coding style: comparison for equality with NULLIan Morris1-12/+12
2015-03-31netlink: implement nla_get_in_addr and nla_get_in6_addrJiri Benc1-2/+2
2015-03-31netlink: implement nla_put_in_addr and nla_put_in6_addrJiri Benc1-4/+4
2015-03-12net: Kill hold_net release_netEric W. Biederman1-2/+1
2015-02-27fib_trie: Convert fib_alias to hlist from listAlexander Duyck1-2/+2
2015-01-25fib_trie: Move fib_find_alias to file where it is usedAlexander Duyck1-18/+0
2015-01-18netlink: make nlmsg_end() and genlmsg_end() voidJohannes Berg1-1/+2
2015-01-05net: tcp: add RTAX_CC_ALGO fib handlingDaniel Borkmann1-2/+12
2014-10-14ipv4: fix nexthop attlen check in fib_nh_matchJiri Pirko1-1/+1
2014-09-05ipv4: fix a race in update_or_create_fnhe()Eric Dumazet1-3/+5
2014-05-07ipv4: fib_semantics: increment fib_info_cnt after fib_info allocationSergey Popovich1-1/+1
2014-04-16ipv4, fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iifCong Wang1-0/+1
2013-12-28ipv4: make fib_detect_death staticStephen Hemminger1-2/+3
2013-10-18fib: Use const struct nl_info * in rtmsg_fibJoe Perches1-1/+1
2013-06-28ipv4: use next hop exceptions also for input routesTimo Teräs1-1/+2
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-14/+9
2012-10-22ipv4: 16 slots in initial fib_info hash tableEric Dumazet1-1/+1
2012-10-08ipv4: make sure nh_pcpu_rth_output is always allocatedJulian Anastasov1-0/+2
2012-10-04ipv4: add a fib_type to fib_infoEric Dumazet1-0/+2
2012-09-10netlink: Rename pid to portid to avoid confusionEric W. Biederman1-4/+4