aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/nexthop.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-22nexthop: fix uninitialized variable in nla_put_nh_group_stats()Dan Carpenter1-1/+3
2024-03-11nexthop: Fix splat with CONFIG_DEBUG_PREEMPT=yIdo Schimmel1-1/+2
2024-03-11nexthop: Fix out-of-bounds access during attribute validationIdo Schimmel1-12/+17
2024-03-11nexthop: Only parse NHA_OP_FLAGS for dump messages that require itIdo Schimmel1-5/+5
2024-03-11nexthop: Only parse NHA_OP_FLAGS for get messages that require itIdo Schimmel1-8/+8
2024-03-11net: nexthop: Have all NH notifiers carry NH IDPetr Machata1-1/+1
2024-03-11net: nexthop: Initialize NH group ID in resilient NH group notifiersPetr Machata1-0/+1
2024-03-08nexthop: Simplify dump error handlingIdo Schimmel1-9/+0
2024-03-08net: nexthop: Expose nexthop group HW stats to user spaceIdo Schimmel1-8/+122
2024-03-08net: nexthop: Add ability to enable / disable hardware statisticsIdo Schimmel1-1/+14
2024-03-08net: nexthop: Add hardware statistics notificationsIdo Schimmel1-0/+2
2024-03-08net: nexthop: Expose nexthop group stats to user spaceIdo Schimmel1-8/+87
2024-03-08net: nexthop: Add nexthop group entry statsIdo Schimmel1-4/+31
2024-03-08net: nexthop: Add NHA_OP_FLAGSPetr Machata1-4/+20
2024-03-08net: nexthop: Adjust netlink policy parsing for a new attributePetr Machata1-30/+28
2024-02-07ipv4: add __unregister_nexthop_notifier()Eric Dumazet1-6/+13
2024-02-07nexthop: convert nexthop_net_exit_batch to exit_batch_rtnl methodEric Dumazet1-7/+12
2023-08-15nexthop: Do not increment dump sentinel at the end of the dumpIdo Schimmel1-1/+0
2023-08-15nexthop: Simplify nexthop bucket dumpIdo Schimmel1-5/+0
2023-08-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-21/+7
2023-08-09nexthop: Fix infinite nexthop bucket dump when using maximum nexthop IDIdo Schimmel1-5/+1
2023-08-09nexthop: Make nexthop bucket dump more efficientIdo Schimmel1-11/+5
2023-08-09nexthop: Fix infinite nexthop dump when using maximum nexthop IDIdo Schimmel1-5/+1
2023-07-20nexthop: Do not return invalid nexthop object during multipath selectionBenjamin Poirier1-6/+8
2023-07-20nexthop: Factor out neighbor validity checkBenjamin Poirier1-13/+16
2023-07-20nexthop: Factor out hash threshold fdb nexthop selectionBenjamin Poirier1-2/+20
2023-03-21neighbour: switch to standard rcu, instead of rcu_bhEric Dumazet1-4/+4
2023-03-15neighbour: annotate lockless accesses to n->nud_stateEric Dumazet1-2/+2
2022-10-27nh: fix scope used to find saddr when adding non gw nhNicolas Dichtel1-1/+1
2022-07-13nexthop: Fix data-races around nexthop_compat_mode.Kuniyuki Iwashima1-2/+3
2022-02-08nexthop: change nexthop_net_exit() to nexthop_net_exit_batch()Eric Dumazet1-4/+8
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-11-30net: nexthop: reduce rcu synchronizations when replacing resilient groupsNikolay Aleksandrov1-5/+3
2021-11-23net: nexthop: fix null pointer dereference when IPv6 is not enabledNikolay Aleksandrov1-3/+7
2021-11-22net: nexthop: release IPv6 per-cpu dsts when replacing a nexthop groupNikolay Aleksandrov1-2/+23
2021-09-23nexthop: Fix memory leaks in nexthop notification chain listenersIdo Schimmel1-5/+14
2021-09-20nexthop: Fix division by zero while replacing a resilient groupIdo Schimmel1-0/+2
2021-09-02Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6Ryoga Saito1-0/+2
2021-04-19nexthop: Restart nexthop dump based on last dumped nexthop identifierIdo Schimmel1-8/+6
2021-03-28nexthop: Rename artifacts related to legacy multipath nexthop groupsPetr Machata1-28/+28
2021-03-11nexthop: Enable resilient next-hop groupsPetr Machata1-4/+0
2021-03-11nexthop: Notify userspace about bucket migrationsPetr Machata1-6/+39
2021-03-11nexthop: Add netlink handlers for bucket getPetr Machata1-1/+109
2021-03-11nexthop: Add netlink handlers for bucket dumpPetr Machata1-0/+283
2021-03-11nexthop: Add netlink handlers for resilient nexthop groupsPetr Machata1-5/+145
2021-03-11nexthop: Allow reporting activity of nexthop bucketsIdo Schimmel1-0/+35
2021-03-11nexthop: Allow setting "offload" and "trap" indication of nexthop bucketsIdo Schimmel1-0/+34
2021-03-11nexthop: Implement notifiers for resilient nexthop groupsPetr Machata1-12/+308
2021-03-11nexthop: Add implementation of resilient next-hop groupsPetr Machata1-13/+504
2021-03-11nexthop: Add netlink defines and enumerators for resilient NH groupsIdo Schimmel1-0/+2
2021-03-11nexthop: Add a dedicated flag for multipath next-hop groupsPetr Machata1-1/+4
2021-03-11nexthop: __nh_notifier_single_info_init(): Make nh_info an argumentPetr Machata1-5/+7
2021-03-11nexthop: Pass nh_config to replace_nexthop()Petr Machata1-4/+5
2021-03-04nexthop: Do not flush blackhole nexthops when loopback goes downIdo Schimmel1-3/+7
2021-01-28nexthop: Extract a helper for validation of get/del RTNL requestsPetr Machata1-18/+25
2021-01-28nexthop: Add a callback parameter to rtm_dump_walk_nexthops()Petr Machata1-10/+22
2021-01-28nexthop: Extract a helper for walking the next-hop treePetr Machata1-19/+33
2021-01-28nexthop: Strongly-type context of rtm_dump_nexthop()Petr Machata1-2/+16
2021-01-28nexthop: Extract a common helper for parsing dump attributesPetr Machata1-12/+19
2021-01-28nexthop: Extract dump filtering parameters into a single structurePetr Machata1-20/+24
2021-01-28nexthop: Dispatch notifier init()/fini() by group typePetr Machata1-6/+19
2021-01-28nexthop: Use enum to encode notification typeIdo Schimmel1-6/+8
2021-01-28nexthop: Assert the invariant that a NH group is of only one typePetr Machata1-2/+5
2021-01-28nexthop: Introduce to struct nh_grp_entry a per-type unionPetr Machata1-2/+2
2021-01-28nexthop: Dispatch nexthop_select_path() by group typePetr Machata1-6/+16
2021-01-28nexthop: Rename nexthop_free_mpathDavid Ahern1-2/+2
2021-01-20nexthop: Specialize rtm_nh_policyPetr Machata1-14/+9
2021-01-20nexthop: Use a dedicated policy for nh_valid_dump_req()Petr Machata1-33/+27
2021-01-20nexthop: Use a dedicated policy for nh_valid_get_del_req()Petr Machata1-17/+9
2021-01-07nexthop: Bounce NHA_GATEWAY in FDB nexthop groupsPetr Machata1-1/+1
2021-01-07nexthop: Unlink nexthop group entry in error pathIdo Schimmel1-1/+3
2021-01-07nexthop: Fix off-by-one error in error pathIdo Schimmel1-1/+1
2020-11-06nexthop: Replay nexthops when registering a notifierIdo Schimmel1-2/+52
2020-11-06nexthop: Pass extack to register_nexthop_notifier()Ido Schimmel1-1/+2
2020-11-06nexthop: Emit a notification when a nexthop group is reducedIdo Schimmel1-1/+6
2020-11-06nexthop: Emit a notification when a nexthop group is modifiedIdo Schimmel1-2/+30
2020-11-06nexthop: Emit a notification when a single nexthop is replacedIdo Schimmel1-0/+10
2020-11-06nexthop: Emit a notification when a nexthop group is replacedIdo Schimmel1-1/+5
2020-11-06nexthop: Emit a notification when a nexthop is addedIdo Schimmel1-1/+5
2020-11-06nexthop: Allow setting "offload" and "trap" indications on nexthopsIdo Schimmel1-0/+21
2020-11-06nexthop: vxlan: Convert to new notification infoIdo Schimmel1-1/+1
2020-11-06nexthop: Prepare new notification infoIdo Schimmel1-0/+109
2020-11-06nexthop: Pass extack to nexthop notifierIdo Schimmel1-2/+3
2020-10-19nexthop: Fix performance regression in nexthop deletionIdo Schimmel1-1/+1
2020-09-15nexthop: Only emit a notification when nexthop is actually deletedIdo Schimmel1-2/+2
2020-09-15nexthop: Convert to blocking notification chainIdo Schimmel1-6/+7
2020-08-26ipv4: nexthop: Correctly update nexthop group when replacing a nexthopIdo Schimmel1-0/+32
2020-08-26ipv4: nexthop: Correctly update nexthop group when removing a nexthopIdo Schimmel1-1/+7
2020-08-26ipv4: nexthop: Remove unnecessary rtnl_dereference()Ido Schimmel1-1/+1
2020-08-26ipv4: nexthop: Use nla_put_be32() for NHA_GATEWAYIdo Schimmel1-1/+1
2020-08-26ipv4: nexthop: Reduce allocation size of 'struct nh_group'Ido Schimmel1-4/+1
2020-08-22net: nexthop: don't allow empty NHA_GROUPNikolay Aleksandrov1-1/+4
2020-06-10nexthop: Fix fdb labeling for groupsDavid Ahern1-33/+49
2020-06-01ipv4: nexthop: Fix deadcode issue by performing a proper NULL checkPatrick Eigensatz1-2/+2
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-39/+63
2020-05-27nexthop: Fix type of event_type in call_nexthop_notifiersNathan Chancellor1-1/+1
2020-05-26nexthops: don't modify published nexthop groupsNikolay Aleksandrov1-33/+58
2020-05-26nexthops: Move code from remove_nexthop_from_groups to remove_nh_grp_entryDavid Ahern1-14/+13
2020-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+2
2020-05-22nexthop: add support for notifiersRoopa Prabhu1-0/+27
2020-05-22nexthop: support for fdb ecmp nexthopsRoopa Prabhu1-25/+107
2020-05-20net: nlmsg_cancel() if put fails for nhmsgStephen Worley1-0/+1
2020-05-17nexthop: Fix attribute checking for groupsDavid Ahern1-1/+1
2020-04-28net: ipv4: add sysctl for nexthop api compatibility modeRoopa Prabhu1-2/+3
2020-04-28net: ipv6: new arg skip_notify to ip6_rt_delRoopa Prabhu1-1/+1
2020-03-12inet: Use fallthrough;Joe Perches1-1/+1
2020-01-27net: include struct nhmsg size in nh nlmsg sizeStephen Worley1-1/+3
2019-11-21net: remove the unnecessary strict_start_type in some policiesXin Long1-1/+0
2019-08-22nexthops: remove redundant assignment to variable errColin Ian King1-1/+1
2019-06-10nexthops: add support for replaceDavid Ahern1-5/+214
2019-06-10nexthops: Add ipv6 helper to walk all fib6_nh in a nexthop structDavid Ahern1-0/+31
2019-06-04ipv6: Plumb support for nexthop object in a fib6_infoDavid Ahern1-0/+44
2019-06-04ipv4: Plumb support for nexthop object in a fib_infoDavid Ahern1-0/+64
2019-06-04ipv4: Prepare for fib6_nh from a nexthop objectDavid Ahern1-1/+2
2019-05-31nexthop: remove redundant assignment to errColin Ian King1-1/+1
2019-05-28nexthop: Add support for nexthop groupsDavid Ahern1-23/+481
2019-05-28nexthop: Add support for lwt encapsDavid Ahern1-1/+36
2019-05-28nexthop: Add support for IPv6 gatewaysDavid Ahern1-0/+56
2019-05-28nexthop: Add support for IPv4 nexthopsDavid Ahern1-0/+208
2019-05-28net: Initial nexthop codeDavid Ahern1-0/+722