aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_frontend.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-15inet: bring NLM_DONE out to a separate recv() againJakub Kicinski1-0/+5
2024-03-07netlink: let core handle error cases in dump operationsEric Dumazet1-6/+1
2024-02-26inet: switch inet_dump_fib() to RCU protectionEric Dumazet1-19/+18
2024-02-26inet: allow ip_valid_fib_dump_req() to be called with RTNL or RCUEric Dumazet1-4/+11
2023-03-16ipv4: Fix incorrect table ID in IOCTL pathIdo Schimmel1-0/+3
2022-12-06ipv4: Fix incorrect route flushing when table ID 0 is usedIdo Schimmel1-0/+3
2022-10-27Revert "ip: fix triggering of 'icmp redirect'"Nicolas Dichtel1-2/+2
2022-08-31ip: fix triggering of 'icmp redirect'Nicolas Dichtel1-2/+2
2022-04-30ipv4: remove unnecessary type castingsYu Zhe1-2/+2
2022-03-15net: Add l3mdev index to flow struct and avoid oif reset for port devicesDavid Ahern1-4/+3
2022-02-21ipv4: Invalidate neighbour for broadcast address upon address additionIdo Schimmel1-1/+4
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2022-02-15ipv4: add description about martian sourceZhang Yunkai1-0/+3
2022-02-08ipv4: add fib_net_exit_batch()Eric Dumazet1-3/+16
2022-02-07ipv4: Reject routes specifying ECN bits in rtm_tosGuillaume Nault1-1/+10
2021-12-02ipv4: convert fib_num_tclassid_users to atomic_tEric Dumazet1-1/+1
2021-07-13net: Use nlmsg_unicast() instead of netlink_unicast()Yajun Deng1-1/+1
2021-06-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2021-06-22net/ipv4: swap flow ports when validating sourceMiao Wang1-0/+2
2021-05-18ipv4: Add a sysctl to control multipath hash fieldsIdo Schimmel1-0/+6
2021-05-17ip: Treat IPv4 segment's lowest address as unicastSeth David Schoen1-3/+1
2020-12-28ipv4: Ignore ECN bits for fib lookups in fib_compute_spec_dst()Guillaume Nault1-1/+1
2020-12-04ipv4: fix error return code in rtm_to_fib_config()Zhang Changzhong1-1/+1
2020-11-17ipv4: use IS_ENABLED instead of ifdefFlorian Klink1-1/+1
2020-09-14ipv4: Initialize flowi4_multipath_hash in data pathDavid Ahern1-0/+1
2020-05-26ipv4: nexthop version of fib_info_nh_uses_devDavid Ahern1-9/+10
2020-05-21net: don't return invalid table id error when we fall back to PF_UNSPECSabrina Dubroca1-2/+1
2020-03-23ipv4: fix a RCU-list lock in inet_dump_fib()Qian Cai1-0/+2
2019-11-21ipv4: move fib4_has_custom_rules() helper to public headerPaolo Abeni1-10/+0
2019-10-26ipv4: fix route update on metric change.Paolo Abeni1-1/+1
2019-08-09ipv4: Add lockdep condition to fix for_each_entry()Joel Fernandes (Google)1-1/+2
2019-07-17fib: relax source validation check for loopback packetsCong Wang1-0/+5
2019-06-24ipv4/fib_frontend: Allow RTM_F_CLONED flag to be used for filteringStefano Brivio1-2/+2
2019-06-24fib_frontend, ip6_fib: Select routes or exceptions dump from RTM_F_CLONEDStefano Brivio1-1/+7
2019-06-10ipv4: Allow routes to use nexthop objectsDavid Ahern1-0/+19
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-06-04ipv4: Prepare for fib6_nh from a nexthop objectDavid Ahern1-6/+6
2019-06-04ipv4: Use accessors for fib_info nexthop dataDavid Ahern1-4/+7
2019-06-02net: use new in_dev_ifa iteratorsFlorian Westphal1-7/+17
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-22net: Set strict_start_type for routes and rulesDavid Ahern1-0/+1
2019-05-22ipv4: export fib_flushDavid Ahern1-1/+1
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-4/+4
2019-04-10ipv4: Handle RTA_GATEWAY set to 0David Ahern1-1/+2
2019-04-08ipv4: Allow ipv6 gateway with ipv4 routesDavid Ahern1-3/+57
2019-04-08ipv4: Prepare fib_config for IPv6 gatewayDavid Ahern1-3/+5
2019-04-03ipv4: Add fib_nh_common to fib_resultDavid Ahern1-3/+3
2019-03-29ipv4: Rename fib_nh entriesDavid Ahern1-5/+5
2019-02-26ipv4: Return error for RTA_VIA attributeDavid Ahern1-0/+4
2019-01-15net: ipv4: Fix memory leak in network namespace dismantleIdo Schimmel1-2/+2
2018-10-24net: Don't return invalid table id error when dumping all familiesDavid Ahern1-0/+4
2018-10-16net/ipv4: Bail early if user only wants prefix entriesDavid Ahern1-2/+6
2018-10-16net: Enable kernel side filtering of route dumpsDavid Ahern1-7/+44
2018-10-16net/ipv4: Plumb support for filtering route dumpsDavid Ahern1-1/+12
2018-10-16net: Add struct for fib dump filterDavid Ahern1-2/+4
2018-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-4/+8
2018-10-10net: ipv4: update fnhe_pmtu when first hop's MTU changesSabrina Dubroca1-4/+8
2018-10-08rtnetlink: Update fib dumps for strict data checkingDavid Ahern1-2/+40
2018-09-21net/ipv4: avoid compile error in fib_info_nh_uses_devEric Dumazet1-1/+1
2018-09-20net/ipv4: Move device validation to helperDavid Ahern1-17/+27
2018-07-28ipv4: remove BUG_ON() from fib_compute_spec_dstLorenzo Bianconi1-2/+2
2018-07-08net/ipv4: Set oif in fib_compute_spec_dstDavid Ahern1-0/+1
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-05-29net/ipv4: Add support for specifying metric of connected routesDavid Ahern1-11/+42
2018-05-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2018-05-24net/ipv4: Remove tracepoint in fib_validate_sourceDavid Ahern1-2/+0
2018-05-23ipv4: support sport, dport and ip_proto in RTM_GETROUTERoopa Prabhu1-0/+3
2018-05-23net: ipv4: add missing RTA_TABLE to rtm_ipv4_policyRoopa Prabhu1-0/+1
2018-05-17net/ipv4: Initialize proto and ports in flow structDavid Ahern1-1/+7
2018-01-24ip_rt_ioctl(): take copyin to callerAl Viro1-6/+2
2017-12-20ipv4: Fix use-after-free when flushing FIB tablesIdo Schimmel1-2/+7
2017-11-01ipv4: fix validate_source for VRF setupPaolo Abeni1-3/+15
2017-09-21net: avoid a full fib lookup when rp_filter is disabled.Paolo Abeni1-5/+17
2017-08-09rtnetlink: make rtnl_register accept a flags parameterFlorian Westphal1-3/+3
2017-08-03net: core: Make the FIB notification chain genericIdo Schimmel1-5/+12
2017-07-20ipv4: initialize fib_trie prior to register_netdev_notifier call.Mahesh Bandewar1-4/+5
2017-07-05mpls: fix rtm policy in mpls_getrouteRoopa Prabhu1-1/+0
2017-07-04ipv4: Export rtm_ipv4_policy.David S. Miller1-0/+1
2017-05-30net: lwtunnel: Add extack to encap attr validationDavid Ahern1-2/+4
2017-05-30net: ipv4: Add extack message for invalid prefix or lengthDavid Ahern1-3/+4
2017-05-22net: ipv4: Add extack messages for route add failuresDavid Ahern1-0/+2
2017-05-22net: ipv4: Plumb extack through route add functionsDavid Ahern1-7/+9
2017-05-16net: Improve handling of failures on link and route dumpsDavid Ahern1-4/+11
2017-04-27net: fib: Decrease one unnecessary rt cache flush in fib_disable_ipGao Feng1-1/+2
2017-04-17net: rtnetlink: plumb extended ack to doit functionDavid Ahern1-2/+4
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-1/+2
2017-03-22ipv4: provide stronger user input validation in nl_fib_input()Eric Dumazet1-1/+2
2017-03-01net: route: add missing nla_policy entry for RTA_MARK attributeLiping Zhang1-0/+1
2017-02-26ipv4: add missing initialization for flowi4_uidJulian Anastasov1-3/+3
2017-01-18lwtunnel: fix autoload of lwt modulesDavid Ahern1-0/+8
2017-01-03ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rulesAlexander Duyck1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-03ipv4: fib: Allow for consistent FIB dumpingIdo Schimmel1-0/+2
2016-11-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+15
2016-11-16ipv4: Restore fib_trie_flush_external function and fix call orderingAlexander Duyck1-5/+15
2016-11-04net: core: add UID to flows, rules, and routesLorenzo Colitti1-0/+1
2016-09-28switchdev: remove FIB offload infrastructureJiri Pirko1-13/+0
2016-09-28fib: introduce FIB notification infrastructureJiri Pirko1-8/+8
2016-09-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2016-09-06net: Don't delete routes in different VRFsMark Tomlinson1-1/+2
2016-08-09net: Remove fib_local variableDavid Ahern1-7/+0
2016-05-06net: vrf: Create FIB tables on link createDavid Ahern1-0/+1
2016-04-24ipv4/fib: don't warn when primary address is missing if in_dev is deadPaolo Abeni1-1/+5
2016-03-22ipv4: initialize flowi4_flags before calling fib_lookup()Lance Richardson1-9/+7
2016-03-13ipv4: Don't do expensive useless work during inetdev destroy.David S. Miller1-0/+4
2015-12-13net: Flush local routes when device changes vrf associationDavid Ahern1-0/+9
2015-11-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-6/+7
2015-11-01ipv4: fix to not remove local route on link downJulian Anastasov1-6/+7
2015-10-23ipv4: implement support for NOPREFIXROUTE ifa flag for ipv4 addressPaolo Abeni1-6/+8
2015-10-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2015-09-29net: Initialize flow flags in input pathDavid Ahern1-0/+1
2015-09-29net: Replace vrf_dev_table and friendsDavid Ahern1-4/+3
2015-09-29net: Replace vrf_master_ifindex{, _rcu} with l3mdev equivalentsDavid Ahern1-2/+3
2015-09-01net: Make table id type u32David Ahern1-5/+5
2015-08-29net: FIB tracepointsDavid Ahern1-0/+3
2015-08-13net: Add routes to the table associated with the deviceDavid Ahern1-4/+4
2015-08-13net: Fix up inet_addr_type checksDavid Ahern1-3/+22
2015-08-13net: Add inet_addr lookup by tableDavid Ahern1-7/+15
2015-08-13net: Use VRF device index for lookups on RXDavid Ahern1-1/+7
2015-07-21route: Extend flow representation with tunnel keyThomas Graf1-0/+2
2015-07-21ipv4: support for fib route lwtunnel encap attributesRoopa Prabhu1-0/+8
2015-06-24net: ipv4 sysctl option to ignore routes when nexthop link is downAndy Gospodarek1-3/+3
2015-06-24net: track link-status of ipv4 nexthopsAndy Gospodarek1-8/+15
2015-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+0
2015-04-03ipv4: coding style: comparison for equality with NULLIan Morris1-13/+13
2015-04-02net: move fib_rules_unregister() under rtnl lockWANG Cong1-2/+1
2015-03-31fib_trie: Cleanup ip_fib_net_exit code pathAlexander Duyck1-22/+7
2015-03-31fib_trie: Fix warning on fib4_rules_exitAlexander Duyck1-4/+4
2015-03-12fib_trie: Avoid NULL pointer if local table is not allocatedAlexander Duyck1-1/+4
2015-03-11fib_trie: Fix uninitialized variable warningAlexander Duyck1-3/+3
2015-03-11fib_trie: call fib_table_flush_external under RTNLSabrina Dubroca1-1/+2
2015-03-11ipv4: FIB Local/MAIN table collapseAlexander Duyck1-7/+52
2015-03-06switchdev: don't support custom ip rules, for nowScott Feldman1-0/+13
2015-03-04fib_trie: Make fib_table rcu safeAlexander Duyck1-15/+37
2014-12-31fib_trie: Push rcu_read_lock/unlock to callersAlexander Duyck1-12/+15
2014-12-31fib_trie: Update usage stats to be percpu instead of global variablesAlexander Duyck1-1/+1
2014-08-22ipv4: Restore accept_local behaviour in fib_validate_source()Sébastien Barré1-6/+8
2014-04-16ipv4, fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iifCong Wang1-1/+1
2014-03-24ipv4: remove ip_rt_dump from route.cLi RongQing1-1/+1
2014-01-24fib_frontend: fix possible NULL pointer dereferenceOliver Hartkopp1-0/+2
2013-10-18fib_trie: remove duplicated rcu lockbaker.zhang1-2/+0
2013-06-27netlink: fix splat in skb_clone with large messagesPablo Neira1-1/+1
2013-05-28net: pass info struct via netdevice notifierJiri Pirko1-1/+1
2013-03-28net-next: replace obsolete NLMSG_* with type safe nlmsg_*Hong zhi guo1-3/+3
2013-03-22rtnetlink: Remove passing of attributes into rtnl_doit functionsThomas Graf1-2/+2
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-9/+6
2013-01-11ipv4: fib: fix a comment.Rami Rosen1-1/+1
2012-11-18net: Enable a userns root rtnl calls that are safe for unprivilged usersEric W. Biederman1-6/+0
2012-11-18net: Allow userns root to control ipv4Eric W. Biederman1-1/+1
2012-11-18net: Push capable(CAP_NET_ADMIN) into the rtnl methodsEric W. Biederman1-0/+6
2012-10-08ipv4: fix sending of redirectsJulian Anastasov1-1/+2
2012-09-10netlink: Rename pid to portid to avoid confusionEric W. Biederman1-5/+5
2012-09-08netlink: hide struct module parameter in netlink_kernel_createPablo Neira Ayuso1-1/+1
2012-09-07ipv4/route: arg delay is useless in rt_cache_flush()Nicolas Dichtel1-10/+10
2012-08-23net: reinstate rtnl in call_netdevice_notifiers()Eric Dumazet1-5/+2
2012-08-22net: remove delay at device dismantleEric Dumazet1-4/+4
2012-08-09net: Loopback ifindex is constant nowPavel Emelyanov1-1/+1
2012-07-31ipv4: Properly purge netdev references on uncached routes.David S. Miller1-0/+1
2012-07-23ipv4: Remove redundant assignmentLin Ming1-1/+0
2012-07-20ipv4: Delete routing cache.David S. Miller1-5/+0
2012-07-19ipv4: fix address selection in fib_compute_spec_dstJulian Anastasov1-1/+2
2012-07-13ipv4: Don't store a rule pointer in fib_result.David S. Miller1-8/+0
2012-07-05ipv4: Avoid overhead when no custom FIB rules are installed.David S. Miller1-5/+22
2012-06-29netlink: add netlink_kernel_cfg parameter to netlink_kernel_createPablo Neira Ayuso1-2/+5
2012-06-29ipv4: Elide fib_validate_source() completely when possible.David S. Miller1-8/+24
2012-06-28ipv4: Adjust in_dev handling in fib_validate_source()David S. Miller1-17/+10
2012-06-28ipv4: Fix bugs in fib_compute_spec_dst().David S. Miller1-13/+21
2012-06-28ipv4: Kill rt->rt_spec_dst, no longer used.David S. Miller1-7/+2
2012-06-28ipv4: Create and use fib_compute_spec_dst() helper.David S. Miller1-0/+29
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-5/+5
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-03-11net: Convert printks to pr_<level>Joe Perches1-3/+3
2011-06-09rtnetlink: Compute and store minimum ifinfo dump sizeGreg Rose1-3/+3
2011-04-10Disable rp_filter for IPsec packetsMichael Smith1-1/+5
2011-04-10fib_validate_source(): pass sk_buff instead of markMichael Smith1-6/+4
2011-03-30fib: add rtnl locking in ip_fib_net_exitEric Dumazet1-0/+2
2011-03-24ipv4: Invalidate nexthop cache nh_saddr more correctly.David S. Miller1-4/+7
2011-03-22ipv4: fix route deletion for IPs on many subnetsJulian Anastasov1-13/+88
2011-03-12ipv4: Use flowi4 in FIB layer.David S. Miller1-20/+20
2011-03-12ipv4: Pass ipv4 flow objects into fib_lookup() paths.David S. Miller1-4/+4
2011-03-12net: Put flowi_* prefix on AF independent members of struct flowiDavid S. Miller1-6/+6
2011-03-09ipv4: Optimize flow initialization in fib_validate_source().David S. Miller1-7/+9
2011-03-07ipv4: Cache source address in nexthop entries.David S. Miller1-0/+2
2011-02-18ipv4: Implement __ip_dev_find using new interface address hash.David S. Miller1-40/+0
2011-02-01ipv4: Update some fib_hash centric interface names.David S. Miller1-4/+4
2011-01-31ipv4: Consolidate all default route selection implementations.David S. Miller1-15/+0
2010-12-26Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-2/+8
2010-12-23Revert "ipv4: Allow configuring subnets as local addresses"David S. Miller1-2/+8
2010-12-20ipv4: Flush per-ns routing cache more sanely.David S. Miller1-1/+5
2010-11-17net: use the macros defined for the members of flowiChangli Gao1-20/+8
2010-10-28fib: Fix fib zone and its hash leak on namespace stopPavel Emelyanov1-1/+1
2010-10-19net: avoid a dev refcount in ip_mc_find_dev()Eric Dumazet1-1/+1
2010-10-16fib: avoid false sharing on fib_table_hashEric Dumazet1-6/+5
2010-10-05fib: RCU conversion of fib_lookup()Eric Dumazet1-14/+13
2010-10-05fib: cleanupsEric Dumazet1-55/+66
2010-09-30ipv4: introduce __ip_dev_find()Eric Dumazet1-13/+19
2010-09-28ipv4: Allow configuring subnets as local addressesTom Herbert1-4/+3
2010-09-07ipv4: Fix reverse path filtering with multipath routing.David S. Miller1-2/+13
2010-07-12net/ipv4: EXPORT_SYMBOL cleanupsEric Dumazet1-4/+3
2010-06-03ipv4: add LINUX_MIB_IPRPFILTER snmp counterEric Dumazet1-2/+4