Author: melifaro
Date: Wed Feb 12 21:16:30 2020
New Revision: 357843
URL: https://svnweb.freebsd.org/changeset/base/357843
Log:
* Fix flaking lle tests by filtering out non-relevant rtsock messages.
* Consistently use RTM_DECLARE_ROOT_TEST() macro.
* Temporarily remove iftype validation
Author: melifaro
Date: Sat Feb 15 15:39:53 2020
New Revision: 357967
URL: https://svnweb.freebsd.org/changeset/base/357967
Log:
Make ping6(1) return code consistent with the man page.
When every sendto() call originated by ping6(1) fails, current code always
returns 2 ("transmission was
:00:00 1970 (empty, because file is newly added)
+++ head/tests/sys/common/divert.py Fri Feb 14 09:36:35 2020
(r357905)
@@ -0,0 +1,83 @@
+#!/usr/bin/env python
+# -
+# SPDX-License-Identifier: BSD-2-Clause
+#
+# Copyright (c) 2020 Alexander V. Chernikov
+#
+# Redistribution and use
Author: melifaro
Date: Thu Jan 9 17:21:00 2020
New Revision: 356559
URL: https://svnweb.freebsd.org/changeset/base/356559
Log:
Add fibnum, family and vnet pointer to each rib head.
Having metadata such as fibnum or vnet in the struct rib_head
is handy as it eases building functionality
t32_t,
struct rt_addrinfo *);
void rib_free_info(struct rt_addrinfo *info);
+intrib_add_redirect(u_int fibnum, struct sockaddr *dst,
+ struct sockaddr *gateway, struct sockaddr *author, struct ifnet *ifp,
+ int flags, int expire_sec);
#endif
Added: head/sys/net/route_temporal.c
========
22.01.2020, 20:36, "Alexander Motin" :
> Author: mav
> Date: Wed Jan 22 20:36:45 2020
> New Revision: 356993
> URL: https://svnweb.freebsd.org/changeset/base/356993
>
> Log:
> Update route MTUs for bridge, lagg and vlan interfaces.
>
> Those interfaces may implicitly change their MTU on
22.01.2020, 21:02, "Alexander Motin" :
> On 22.01.2020 15:59, Alexander V. Chernikov wrote:
>> 22.01.2020, 20:36, "Alexander Motin" :
>>> Author: mav
>>> Date: Wed Jan 22 20:36:45 2020
>>> New Revision: 356993
>>> U
Author: melifaro
Date: Tue Jan 21 12:00:34 2020
New Revision: 356939
URL: https://svnweb.freebsd.org/changeset/base/356939
Log:
Document requirements for the 'struct route' variations.
MFC after:2 weeks
Modified:
head/sys/net/route_var.h
head/sys/netinet6/in6_fib.c
Modified:
Author: melifaro
Date: Fri Jan 10 08:54:46 2020
New Revision: 356596
URL: https://svnweb.freebsd.org/changeset/base/356596
Log:
Include human-readable list of rtm flags along with bitmask in error messages
for rtsock tests.
MFC after:2 weeks
Modified:
Author: melifaro
Date: Tue Dec 31 17:26:53 2019
New Revision: 356236
URL: https://svnweb.freebsd.org/changeset/base/356236
Log:
Split gigantic rtsock route_output() into smaller functions.
Amount of changes to the original code has been intentionally minimised
to ease diffing.
The
Author: melifaro
Date: Tue Dec 31 17:57:12 2019
New Revision: 356237
URL: https://svnweb.freebsd.org/changeset/base/356237
Log:
Fix NOINET6 build broken by r356236.
MFC after:2 weeks
Modified:
head/sys/net/rtsock.c
Modified: head/sys/net/rtsock.c
Author: melifaro
Date: Thu Jan 2 09:08:45 2020
New Revision: 356268
URL: https://svnweb.freebsd.org/changeset/base/356268
Log:
Plug loopback idaddr refcount leak.
Reviewed by: markj
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org/D22980
Modified:
Author: melifaro
Date: Tue Jan 7 21:16:30 2020
New Revision: 356473
URL: https://svnweb.freebsd.org/changeset/base/356473
Log:
Fix rtsock route message generation for interface addresses.
Reviewed by: olivier
MFC after:1 month
Differential Revision:
len: expected %d parsed %d",
+ rtm->rtm_msglen, (int)parsed_len);
+}
+
+/*
+ * Raises error if base syntax checks fails.
+ */
+void
+rtsock_validate_message(char *buffer, ssize_t len)
+{
+ struct rt_msghdr *rtm;
+
+ ATF_REQUIRE_MSG(len > 0, "read() return
Author: melifaro
Date: Wed Mar 11 08:08:53 2020
New Revision: 358871
URL: https://svnweb.freebsd.org/changeset/base/358871
Log:
Revert r358858 as it breaks some ipfw(8) setups.
Reported by: O. Hartmann
Modified:
head/sbin/ipfw/ipfw2.c
Modified: head/sbin/ipfw/ipfw2.c
11.03.2020, 07:14, "O. Hartmann" :
> On Tue, 10 Mar 2020 20:30:21 +0000 (UTC)
> "Alexander V. Chernikov" wrote:
>
>> Author: melifaro
>> Date: Tue Mar 10 20:30:21 2020
>> New Revision: 358858
>> URL: https://svnweb.freebsd.org/changeset/bas
Author: melifaro
Date: Fri Apr 10 16:27:27 2020
New Revision: 359775
URL: https://svnweb.freebsd.org/changeset/base/359775
Log:
Split rtrequest1_fib() into smaller manageable chunks.
No functional changes.
* Move route addition / route deletion code from rtrequest1_fib()
to
Author: melifaro
Date: Sat Apr 11 09:38:45 2020
New Revision: 359804
URL: https://svnweb.freebsd.org/changeset/base/359804
Log:
Fix build by adding forgotten header to radix_mpath.c after r359797.
Modified:
head/sys/net/radix_mpath.c
Modified: head/sys/net/radix_mpath.c
Author: melifaro
Date: Tue Apr 14 23:06:25 2020
New Revision: 359942
URL: https://svnweb.freebsd.org/changeset/base/359942
Log:
Convert IP/IPv6 forwarding, ICMP processing and IP PCB laddr selection to
the new routing KPI.
Reviewed by: ae
Differential Revision:
Author: melifaro
Date: Tue Apr 14 22:48:33 2020
New Revision: 359940
URL: https://svnweb.freebsd.org/changeset/base/359940
Log:
Reorganise nd6 notification code to avoid direct rtentry field access.
One of the goals of the new routing KPI defined in r359823 is to entirely hide
`struct
Author: melifaro
Date: Fri Apr 17 18:22:37 2020
New Revision: 360049
URL: https://svnweb.freebsd.org/changeset/base/360049
Log:
Unbreak build by reverting if_bridge part of r360047.
Pointy hat to: melifaro
Modified:
head/sys/net/if_bridge.c
Modified: head/sys/net/if_bridge.c
Author: melifaro
Date: Fri Apr 17 17:05:58 2020
New Revision: 360047
URL: https://svnweb.freebsd.org/changeset/base/360047
Log:
Finish r191148: replace rtentry with route in if_bridge if_output() callback.
Generic if_output() callback signature was modified to use struct route
instead
Author: melifaro
Date: Thu Apr 16 17:53:23 2020
New Revision: 360017
URL: https://svnweb.freebsd.org/changeset/base/360017
Log:
Fix userland build broken by r360014.
Modified:
head/sys/net/route.h
Modified: head/sys/net/route.h
Author: melifaro
Date: Thu Apr 16 17:20:18 2020
New Revision: 360014
URL: https://svnweb.freebsd.org/changeset/base/360014
Log:
Add nhop parameter to rti_filter callback.
One of the goals of the new routing KPI defined in r359823 is to
entirely hide`struct rtentry` from the consumers.
11.04.2020, 21:02, "Conrad Meyer" :
> Hi Alexander,
Hi Conrad,
>
> On Sat, Apr 11, 2020 at 12:37 AM Alexander V. Chernikov
> wrote:
>> Author: melifaro
>> Date: Sat Apr 11 07:37:08 2020
>> New Revision: 359797
>> URL: https://svnweb.freebsd.org/
11.04.2020, 22:28, "Conrad Meyer" :
> On Sat, Apr 11, 2020 at 1:45 PM Alexander V. Chernikov
> wrote:
>> This number only affects selection of the outbound path in presence of
>> multiple paths available for the same prefix. It means to mitigate hash
>> polar
11.04.2020, 21:58, "Ian Lepore" :
> On Sat, 2020-04-11 at 13:02 -0700, Conrad Meyer wrote:
>> Hi Alexander,
>>
>> On Sat, Apr 11, 2020 at 12:37 AM Alexander V. Chernikov
>> wrote:
>> >
>> > Author: melifaro
>> > Date: Sat
Author: melifaro
Date: Tue Apr 14 07:38:34 2020
New Revision: 359914
URL: https://svnweb.freebsd.org/changeset/base/359914
Log:
Postpone multipath seed init till SI_SUB_LAST, as it is needed only after
some useland program installs multiple paths to the same destination.
While here,
w API */
+void rib_walk(int af, u_int fibnum, rt_walktree_f_t *wa_f, void *arg);
#endif
#endif
Added: head/sys/net/route/nhop.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/net/route/nhop.c Sun Apr 12 14:30:00 2020
Author: melifaro
Date: Sun Apr 12 15:16:34 2020
New Revision: 359824
URL: https://svnweb.freebsd.org/changeset/base/359824
Log:
Fix string format error missed in r359823.
Modified:
head/usr.bin/netstat/nhops.c
Modified: head/usr.bin/netstat/nhops.c
Author: melifaro
Date: Sat Apr 11 07:37:08 2020
New Revision: 359797
URL: https://svnweb.freebsd.org/changeset/base/359797
Log:
Remove per-AF radix_mpath initializtion functions.
Split their functionality by moving random seed allocation
to SYSINIT and calling (new) generic multipath
Author: melifaro
Date: Sat Apr 11 07:56:11 2020
New Revision: 359800
URL: https://svnweb.freebsd.org/changeset/base/359800
Log:
Remove RADIX_MPATH headers, they were unused since r293159.
MFC after:2 weeks
Modified:
head/sys/netinet6/nd6_nbr.c
Modified: head/sys/netinet6/nd6_nbr.c
Author: melifaro
Date: Tue Apr 14 13:12:22 2020
New Revision: 359917
URL: https://svnweb.freebsd.org/changeset/base/359917
Log:
Plug netmask NULL check during route addition causing kernel panic.
This bug was introduced by the r359823.
Reported by: hselasky
Modified:
Author: melifaro
Date: Sun Apr 19 07:27:12 2020
New Revision: 360090
URL: https://svnweb.freebsd.org/changeset/base/360090
Log:
Fix lookup key generation in fib6_check_urpf().
The version introduced in r359823 assumed D23051
had been in tree already. As this is not the case yet,
Author: melifaro
Date: Mon Apr 13 08:26:11 2020
New Revision: 359844
URL: https://svnweb.freebsd.org/changeset/base/359844
Log:
Remove tcp_rtlookup6() function signature.
The function itself was removed in r122922 16 years ago.
Modified:
head/sys/netinet6/tcp6_var.h
Modified:
Author: melifaro
Date: Mon Apr 13 09:01:46 2020
New Revision: 359854
URL: https://svnweb.freebsd.org/changeset/base/359854
Log:
Remove unused 'struct rtentry' definition.
Modified:
head/sys/dev/mn/if_mn.c
Modified: head/sys/dev/mn/if_mn.c
Author: melifaro
Date: Wed Apr 15 13:00:48 2020
New Revision: 359964
URL: https://svnweb.freebsd.org/changeset/base/359964
Log:
Convert pf rtable checks to the new routing KPI.
Switch uRPF to use specific fib(9)-provided uRPF.
Switch MSS calculation to the latest fib(9) kpi.
Author: melifaro
Date: Wed Apr 15 13:06:55 2020
New Revision: 359966
URL: https://svnweb.freebsd.org/changeset/base/359966
Log:
Convert OFED rtable interactions to the new routing KPI.
Reviewed by: hselasky
Differential Revision:https://reviews.freebsd.org/D24387
Modified:
Author: melifaro
Date: Wed Apr 15 12:56:05 2020
New Revision: 359963
URL: https://svnweb.freebsd.org/changeset/base/359963
Log:
Convert ip6_forward() to the new routing KPI.
Update ip6_forward() internals to use deembedded IPv6 addresses
to simplify calls to the new KPI and prepare for
Author: melifaro
Date: Thu Apr 2 20:06:37 2020
New Revision: 359580
URL: https://svnweb.freebsd.org/changeset/base/359580
Log:
Use interface fib for proxyarp checks.
Before the change, proxyarp checks for src and dst addresses
were performed using default fib, breaking multi-fib
Author: melifaro
Date: Thu Apr 2 20:02:33 2020
New Revision: 359579
URL: https://svnweb.freebsd.org/changeset/base/359579
Log:
Add routing tests verifying basic RTM_CHANGE functionality.
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org/D24239
Modified:
Alexander V. Chernikov
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#notice, this list of conditions and the following
Author: melifaro
Date: Sat Apr 25 10:31:56 2020
New Revision: 360295
URL: https://svnweb.freebsd.org/changeset/base/360295
Log:
Fix LINT build broken by r360292.
Modified:
head/sys/netinet/tcp_stacks/bbr.c
Modified: head/sys/netinet/tcp_stacks/bbr.c
Author: melifaro
Date: Sat Apr 25 11:35:38 2020
New Revision: 360296
URL: https://svnweb.freebsd.org/changeset/base/360296
Log:
Fix LINT build #2 after r360292.
Pointyhat to: melifaro
Modified:
head/sys/kern/uipc_ktls.c
head/sys/netinet/sctp_output.c
Author: melifaro
Date: Tue Apr 28 18:42:30 2020
New Revision: 360447
URL: https://svnweb.freebsd.org/changeset/base/360447
Log:
Move struct rtentry definition to nhop_var.h.
One of the goals of the new routing KPI defined in r359823
is to entirely hide`struct rtentry` from the
et/route/route_var.h (from r360447, head/sys/net/route_var.h)
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/net/route/route_var.h Tue Apr 28 19:14:09 2020
(r360449, copy of r360447, head/sys/net/route_var.h)
@@ -0,0 +1,230 @@
+/*
Author: melifaro
Date: Tue Apr 28 20:00:17 2020
New Revision: 360450
URL: https://svnweb.freebsd.org/changeset/base/360450
Log:
Move route-specific ddb commands to route/route_ddb.c
Currently functionality resides in rtsock.c, which is a controlling
interface, partially external to the
Author: melifaro
Date: Sun Apr 26 13:02:42 2020
New Revision: 360337
URL: https://svnweb.freebsd.org/changeset/base/360337
Log:
Fix order of arguments in fib[46]_lookup calls in SCTP.
r360292 introduced the wrong order, resulting in returned
nhops not being referenced, despite the fact
Author: melifaro
Date: Sun Apr 26 18:07:35 2020
New Revision: 360348
URL: https://svnweb.freebsd.org/changeset/base/360348
Log:
Fix IPv6 link-local operations with RADIX_MPATH.
It was broken by r360292 as fib6_lookup() assumes de-embedded addresses
while rtalloc_mpath_fib() requires
Author: melifaro
Date: Sun Apr 26 18:42:38 2020
New Revision: 360349
URL: https://svnweb.freebsd.org/changeset/base/360349
Log:
Convert debugnet to the new routing KPI.
Introduce new fib[46]_lookup_debugnet() functions serving as a
special interface for the crash-time operations.
Author: melifaro
Date: Wed Apr 22 07:53:43 2020
New Revision: 360191
URL: https://svnweb.freebsd.org/changeset/base/360191
Log:
Convert TOE routing lookups to the new routing KPI.
Reviewed by: np
Differential Revision:https://reviews.freebsd.org/D24388
Modified:
Author: melifaro
Date: Thu Apr 23 06:55:33 2020
New Revision: 360217
URL: https://svnweb.freebsd.org/changeset/base/360217
Log:
Unbreak LINT-NOINET[6] builds broken in r360191.
Reported by: np
Modified:
head/sys/netinet/tcp_offload.c
Modified: head/sys/netinet/tcp_offload.c
Author: melifaro
Date: Thu Apr 23 08:04:20 2020
New Revision: 360218
URL: https://svnweb.freebsd.org/changeset/base/360218
Log:
Convert rtentry field accesses into nhop field accesses.
One of the goals of the new routing KPI defined in r359823 is to entirely
hide`struct rtentry` from
Author: melifaro
Date: Wed Apr 29 19:28:56 2020
New Revision: 360475
URL: https://svnweb.freebsd.org/changeset/base/360475
Log:
Add nhop to the ifa_rtrequest() callback.
With the upcoming multipath changes described in D24141,
rt->rt_nhop can potentially point to a nexthop group instead
Author: melifaro
Date: Wed Apr 29 21:54:09 2020
New Revision: 360478
URL: https://svnweb.freebsd.org/changeset/base/360478
Log:
Convert more rtentry field accesses into nhop fields accesses.
Continue routing subsystem conversion to nhop objects defined in r359823.
Use fields from nhop
Author: melifaro
Date: Mon May 4 14:31:45 2020
New Revision: 360629
URL: https://svnweb.freebsd.org/changeset/base/360629
Log:
Remove now-unused rt_ifp,rt_ifa,rt_gateway,rt_mtu rte fields.
After converting routing subsystem customers to use nexthop objects
defined in r359823, some
Author: melifaro
Date: Mon May 4 15:00:19 2020
New Revision: 360630
URL: https://svnweb.freebsd.org/changeset/base/360630
Log:
Simplify address parsing in DDB show route command.
Use db_get_line() to overcome parser limitation.
Differential Revision:
Author: melifaro
Date: Mon May 4 15:07:57 2020
New Revision: 360631
URL: https://svnweb.freebsd.org/changeset/base/360631
Log:
Switch DDB show route to direct rnh_matchaddr() call instead of rtalloc1().
Eliminate the last rtalloc1() call to finish transition to the new routing
KPI
Author: melifaro
Date: Sat Apr 25 09:06:11 2020
New Revision: 360292
URL: https://svnweb.freebsd.org/changeset/base/360292
Log:
Convert route caching to nexthop caching.
This change is build on top of nexthop objects introduced in r359823.
Nexthops are separate datastructures,
Author: melifaro
Date: Sat Apr 25 09:25:06 2020
New Revision: 360294
URL: https://svnweb.freebsd.org/changeset/base/360294
Log:
Fix userland build broken by r360292.
Modified:
head/sys/net/route.h
Modified: head/sys/net/route.h
Author: melifaro
Date: Tue Apr 28 08:06:56 2020
New Revision: 360431
URL: https://svnweb.freebsd.org/changeset/base/360431
Log:
Convert rtalloc_mpath_fib() users to the new KPI.
New fib[46]_lookup() functions support multipath transparently.
Given that, switch the last
Author: melifaro
Date: Tue Apr 28 07:23:41 2020
New Revision: 360429
URL: https://svnweb.freebsd.org/changeset/base/360429
Log:
Remove rtable dumping code from bootp.
This debugging code printing routing table data was introduced in rS25723,
22+ years ago. The last functional commit to
Author: melifaro
Date: Tue Apr 28 07:25:34 2020
New Revision: 360430
URL: https://svnweb.freebsd.org/changeset/base/360430
Log:
Eliminate now-unused parts of old routing KPI.
r360292 switched most of the remaining routing customers to a new KPI,
leaving a bunch of wrappers for old
14.04.2020, 13:25, "Hans Petter Selasky" :
> Hi,
Hi Hans,
Thank you!
Indeed, the check slipped through the cracks while merging the code.
Should be fixed by r359917.
I'll add the testcases to cover that later today.
>
> It looks like you need to add some NULL checks:
>
>> diff --git
Author: melifaro
Date: Mon May 11 20:41:03 2020
New Revision: 360921
URL: https://svnweb.freebsd.org/changeset/base/360921
Log:
Fix NOINET[6] build by using af-independent route lookup function.
Reported by: rpokala
Modified:
head/sys/netinet/sctp_os_bsd.h
Modified:
Author: melifaro
Date: Sun May 17 15:32:36 2020
New Revision: 361137
URL: https://svnweb.freebsd.org/changeset/base/361137
Log:
Remove redundant checks for nhop validity.
Currently NH_IS_VALID() simly aliases to RT_LINK_IS_UP(), so we're
checking the same thing twice.
In the near
Author: melifaro
Date: Thu May 7 08:11:36 2020
New Revision: 360773
URL: https://svnweb.freebsd.org/changeset/base/360773
Log:
Add rib_lookup() sockaddr lookup wrapper and make ifa_ifwithroute use it.
Create rib_lookup() wrapper around per-af dataplane lookup functions.
This will help
added)
+++ head/tests/sys/netinet/lpm.sh Wed May 6 07:48:37 2020
(r360685)
@@ -0,0 +1,179 @@
+#!/usr/bin/env atf-sh
+#-
+# SPDX-License-Identifier: BSD-2-Clause
+#
+# Copyright (c) 2020 Alexander V. Chernikov
+#
+# Redistribution and use in source and binary forms, with or without
Author: melifaro
Date: Sun May 10 09:34:48 2020
New Revision: 360866
URL: https://svnweb.freebsd.org/changeset/base/360866
Log:
Remove rtalloc1(_fib) KPI.
Last user of rtalloc1() KPI has been eliminated in rS360631.
As kernel is now fully switched to use new routing KPI defined in
Author: melifaro
Date: Mon May 11 06:09:18 2020
New Revision: 360889
URL: https://svnweb.freebsd.org/changeset/base/360889
Log:
Remove unused rnh_close callback from rtable & cleanup depends.
rnh_close callbackes was used by the in[6]_clsroute() handlers,
doing cleanup in the route
/net_receiver.py Mon Mar 23 12:21:32 2020
(r359235)
@@ -0,0 +1,116 @@
+#!/usr/bin/env python
+# -
+# SPDX-License-Identifier: BSD-2-Clause
+#
+# Copyright (c) 2020 Alexander V. Chernikov
+#
+# Redistribution and use in source and binary forms, with or without
+# modification
Author: melifaro
Date: Mon Mar 23 15:27:10 2020
New Revision: 359244
URL: https://svnweb.freebsd.org/changeset/base/359244
Log:
Make ICMP redirect processing depend on routing daemon.
Submitted by: lutz at donnerhacke.de
Reviewed by: melifaro,rgrimes
Differential Revision:
-Clause
+#
+# Copyright (c) 2020 Alexander V. Chernikov
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#notice, this list
Author: melifaro
Date: Tue Mar 10 20:30:21 2020
New Revision: 358858
URL: https://svnweb.freebsd.org/changeset/base/358858
Log:
Don't assume !IPv6 is IPv4 in ipfw(8) add_src() and add_dst().
Submitted by: Neel Chauhan
MFC after:2 weeks
Differential Revision:
Author: melifaro
Date: Fri May 8 21:06:10 2020
New Revision: 360824
URL: https://svnweb.freebsd.org/changeset/base/360824
Log:
Embed dst sockaddr into rtentry and remove rte packet counter
Currently each rtentry has dst allocated separately from another zone,
bloating cache accesses.
Author: melifaro
Date: Sat May 23 10:21:02 2020
New Revision: 361409
URL: https://svnweb.freebsd.org/changeset/base/361409
Log:
Use epoch(9) for rtentries to simplify control plane operations.
Currently the only reason of refcounting rtentries is the need to report
the rtable operation
Author: melifaro
Date: Sat May 23 12:15:47 2020
New Revision: 361415
URL: https://svnweb.freebsd.org/changeset/base/361415
Log:
Remove refcounting from rtentry.
After making rtentry reclamation backed by epoch(9) in r361409, there is
no reason in keeping reference counting code.
Author: melifaro
Date: Sat May 23 19:06:57 2020
New Revision: 361421
URL: https://svnweb.freebsd.org/changeset/base/361421
Log:
Move _route() functions to route_ctl.c in preparation of
multipath control plane changed described in D24141.
Currently route.c contains core routing
Author: melifaro
Date: Thu Sep 3 22:24:52 2020
New Revision: 365315
URL: https://svnweb.freebsd.org/changeset/base/365315
Log:
Fix regression for IPv6 loopback routes.
After nexthop introduction, loopback routes for the interface addresses
were created without embedding actual
t (c) 2020 Alexander V. Chernikov
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#notice, this list of conditions and the
09.09.2020, 07:13, "Andriy Gapon" :
> On 09/09/2020 00:50, Alexander V. Chernikov wrote:
>> 08.09.2020, 21:03, "Andriy Gapon" :
>>> On 22/08/2020 00:34, Alexander V. Chernikov wrote:
>>>> Author: melifaro
>>>> Date: Fri Aug
Author: melifaro
Date: Wed Sep 9 21:45:18 2020
New Revision: 365517
URL: https://svnweb.freebsd.org/changeset/base/365517
Log:
Retain marking net.fibs sysctl as a tunable.
Suggested by: avg
Modified:
head/sys/net/route/route_tables.c
Modified: head/sys/net/route/route_tables.c
Author: melifaro
Date: Wed Sep 9 22:07:54 2020
New Revision: 365521
URL: https://svnweb.freebsd.org/changeset/base/365521
Log:
Update nexthop handling for route addition/deletion in preparation for mpath.
Currently kernel requests deletion for the certain routes with specified
gateway,
Author: melifaro
Date: Thu Sep 10 07:05:31 2020
New Revision: 365554
URL: https://svnweb.freebsd.org/changeset/base/365554
Log:
Fix RADIX_MPATH build broken by r365521.
Reported by: jenkins, Hartmann, O.
Modified:
head/sys/net/route/route_ctl.c
Modified:
Author: melifaro
Date: Mon Sep 7 10:13:54 2020
New Revision: 365404
URL: https://svnweb.freebsd.org/changeset/base/365404
Log:
Consistently use the same gateway when adding/deleting interface routes.
Use the same link-level gateway when adding or deleting interface routes.
This helps
08.09.2020, 22:39, "Alexander V. Chernikov" :
> Author: melifaro
> Date: Tue Sep 8 21:39:34 2020
> New Revision: 365475
> URL: https://svnweb.freebsd.org/changeset/base/365475
>
> Log:
> Fix panic with net.fibs tunable set in loader.conf.
>
> Fix by remov
Author: melifaro
Date: Tue Sep 8 21:39:34 2020
New Revision: 365475
URL: https://svnweb.freebsd.org/changeset/base/365475
Log:
Fix panic with net.fibs tunable set in loader.conf.
Fix by removing forgotten CTLFLAG_RWTUN flag from the sysctl,
loader variable will be read later in
08.09.2020, 21:03, "Andriy Gapon" :
> On 22/08/2020 00:34, Alexander V. Chernikov wrote:
>> Author: melifaro
>> Date: Fri Aug 21 21:34:52 2020
>> New Revision: 364465
>> URL: https://svnweb.freebsd.org/changeset/base/364465
>>
>>
Author: melifaro
Date: Sun Oct 4 13:24:58 2020
New Revision: 366424
URL: https://svnweb.freebsd.org/changeset/base/366424
Log:
Fix route flags update during RTM_CHANGE.
Nexthop lookup was not consireding rt_flags when doing
structure comparison, which lead to an original nexthop
Author: melifaro
Date: Fri Oct 16 21:51:17 2020
New Revision: 366773
URL: https://svnweb.freebsd.org/changeset/base/366773
Log:
Try to enable multipath routing in flowid tests.
Modified:
head/tests/sys/netinet/output.sh
head/tests/sys/netinet6/output6.sh
Modified:
Author: melifaro
Date: Sun Oct 18 12:03:36 2020
New Revision: 366807
URL: https://svnweb.freebsd.org/changeset/base/366807
Log:
Simplify NET_EPOCH_EXIT in inp_join_group().
Suggested by: kib
Modified:
head/sys/netinet/in_mcast.c
Modified: head/sys/netinet/in_mcast.c
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: melifaro
Date: Sat Oct 17 20:33:09 2020
New Revision: 366795
URL: https://svnweb.freebsd.org/changeset/base/366795
Log:
Fix sleepq_add panic happening with too wide net epoch in mcast control.
PR: 250413
Reported by: Christopher Hall
Reviewed by: ae
Differential
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: melifaro
Date: Sun Oct 18 20:54:15 2020
New Revision: 366816
URL: https://svnweb.freebsd.org/changeset/base/366816
Log:
MFC r363173: [ipfw] quieten maybe-uninitialized errors in ipfw.
PR: 250434
Reported by: brndr
Modified:
stable/12/sbin/ipfw/dummynet.c
Author: melifaro
Date: Sun Oct 18 17:15:47 2020
New Revision: 366813
URL: https://svnweb.freebsd.org/changeset/base/366813
Log:
Implement flowid calculation for outbound connections to balance
connections over multiple paths.
Multipath routing relies on mbuf flowid data for both transit
Author: melifaro
Date: Fri Aug 28 22:50:20 2020
New Revision: 364941
URL: https://svnweb.freebsd.org/changeset/base/364941
Log:
Move net/route/shared.h definitions to net/route/route_var.h.
No functional changes.
net/route/shared.h was created in the inital phases of nexthop
Author: melifaro
Date: Fri Aug 28 23:01:56 2020
New Revision: 364942
URL: https://svnweb.freebsd.org/changeset/base/364942
Log:
Move fib_rte_to_nh_flags() from net/route_var.h to net/route/nhop_ctl.c.
No functional changes.
Initially this function was created to perform runtime flag
Author: melifaro
Date: Fri Aug 28 21:59:10 2020
New Revision: 364940
URL: https://svnweb.freebsd.org/changeset/base/364940
Log:
Further split nhop creation and rtable operations.
As nexthops are immutable, some operations such as route attribute changes
require nexthop fetching,
501 - 600 of 667 matches
Mail list logo