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:https://reviews.freebsd.org
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 field
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 str
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: 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 r
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 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 consumers.
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 rtalloc_mpath_fib()
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 routin
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 t
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. Underlyi
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 sock
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 t
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
head/sys/netinet/tcp_stacks/rack.
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 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: 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, containi
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 the
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: 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:
head/sys/dev/c
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,
rever
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 of
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. It
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:
hea
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.
Reviewed
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 t
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:https://reviews.
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 rt
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 a/sys/netinet
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:
head/sys/netinet
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, make
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: 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: head/sys/net
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
===
ty, because file is newly added)
+++ head/sys/net/route/nhop.c Sun Apr 12 14:30:00 2020(r359823)
@@ -0,0 +1,388 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2020 Alexander V. Chernikov
+ *
+ * Redistribution and use in source and binary forms, with or wit
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
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: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/
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: 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: 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 fun
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 add_rou
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 scenari
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:
h
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: 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:http
/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, are
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: 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
=
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:https://reviews.
-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 3 15:33:43 2020
New Revision: 358585
URL: https://svnweb.freebsd.org/changeset/base/358585
Log:
Fix dynamic redrects by adding forgotten RTF_HOST flag.
Improve tests to verify the generated route flags.
Reported by: jtl
MFC after:2 weeks
Modified:
28.02.2020, 18:32, "Ryan Libby" :
> Author: rlibby
> Date: Fri Feb 28 18:32:36 2020
> New Revision: 358439
> URL: https://svnweb.freebsd.org/changeset/base/358439
>
> Log:
> amd64 atomic.h: minor codegen optimization in flag access
>
> Previously the pattern to extract status flags from inline
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 su
: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 in
13.02.2020, 14:09, "Kristof Provost" :
> Author: kp
> Date: Thu Feb 13 14:09:09 2020
> New Revision: 357857
> URL: https://svnweb.freebsd.org/changeset/base/357857
>
> Log:
> tests: Enable net tests
>
> We have a number of tests in the net subdirectory that were not executed.
> List
> the ne
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 from
Author: melifaro
Date: Wed Jan 29 18:41:35 2020
New Revision: 357263
URL: https://svnweb.freebsd.org/changeset/base/357263
Log:
Plug parent iface refcount leak on .X vlan creation.
PR: kern/242270
Submitted by: Andrew Boyer
MFC after:2 weeks
Modified:
head/sys/net/if_v
Author: melifaro
Date: Sun Jan 26 11:54:21 2020
New Revision: 357144
URL: https://svnweb.freebsd.org/changeset/base/357144
Log:
Fix NOINET6 build after r357038.
Reported by: AN
Modified:
head/sys/netinet/ip_divert.c
Modified: head/sys/netinet/ip_divert.c
==
25.01.2020, 10:51, "Kristof Provost" :
> Author: kp
> Date: Sat Jan 25 10:51:51 2020
> New Revision: 357113
> URL: https://svnweb.freebsd.org/changeset/base/357113
>
> Log:
> tests: Routing tests overwrote net tests
>
> The routing subdirectory installed into the same directory as the test
> t
Author: melifaro
Date: Fri Jan 24 20:35:41 2020
New Revision: 357092
URL: https://svnweb.freebsd.org/changeset/base/357092
Log:
Add support for RFC 6598/Carrier Grade NAT subnets. to libalias and ipfw.
In libalias, a new flag PKT_ALIAS_UNREGISTERED_RFC6598 is added.
This is like PKT_ALIA
Author: melifaro
Date: Thu Jan 23 09:46:45 2020
New Revision: 357039
URL: https://svnweb.freebsd.org/changeset/base/357039
Log:
Bring indentation back to normal after r357038.
No functional changes.
MFC after:3 weeks
Modified:
head/sys/netinet/ip_divert.c
Modified: head/sys/netine
Author: melifaro
Date: Thu Jan 23 09:14:28 2020
New Revision: 357038
URL: https://svnweb.freebsd.org/changeset/base/357038
Log:
Fix epoch-related panic in ipdivert, ensuring in_broadcast() is called
within epoch.
Simplify gigantic div_output() by splitting it into 3 functions,
handlin
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
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 additio
struct sockaddr *gateway, struct sockaddr *author, struct ifnet *ifp,
+ int flags, int expire_sec);
#endif
Added: head/sys/net/route_temporal.c
==
--- /dev/null 00:00:00 1970 (empty, because file is n
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: head/
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:
head/tests/sys/net/routing/rt
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
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:https://reviews.freebsd.
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:
hea
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: 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 chang
+ "message len != parsed 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(l
Author: melifaro
Date: Thu Dec 19 10:22:16 2019
New Revision: 355910
URL: https://svnweb.freebsd.org/changeset/base/355910
Log:
ipfw: Don't rollback state in alloc_table_vidx() if atomicity is not required.
Submitted by: Neel Chauhan
MFC after:2 weeks
Differential Revision:
Author: melifaro
Date: Thu Dec 19 10:20:38 2019
New Revision: 355909
URL: https://svnweb.freebsd.org/changeset/base/355909
Log:
Revert r355908 to commit it with a proper message.
Modified:
head/sys/netpfil/ipfw/ip_fw_table.c
head/sys/netpfil/ipfw/ip_fw_table.h
head/sys/netpfil/ipfw/ip_fw_
19.12.2019, 09:19, "Alexander V. Chernikov" :
> Author: melifaro
> Date: Thu Dec 19 09:19:27 2019
> New Revision: 355908
> URL: https://svnweb.freebsd.org/changeset/base/355908
>
> Log:
> svn-commit.tmp
Should have been
ipfw: Don't rollback state in al
Author: melifaro
Date: Thu Dec 19 09:19:27 2019
New Revision: 355908
URL: https://svnweb.freebsd.org/changeset/base/355908
Log:
svn-commit.tmp
Modified:
head/sys/netpfil/ipfw/ip_fw_table.c
head/sys/netpfil/ipfw/ip_fw_table.h
head/sys/netpfil/ipfw/ip_fw_table_value.c
Modified: head/sys/ne
Author: melifaro
Date: Wed Dec 18 22:10:56 2019
New Revision: 355888
URL: https://svnweb.freebsd.org/changeset/base/355888
Log:
Remove useless code from in6_rmx.c
The code in questions walks IPv6 tree every 60 seconds and looks into
the routes with non-zero expiration time (typically, re
Author: melifaro
Date: Wed May 22 21:20:15 2019
New Revision: 348121
URL: https://svnweb.freebsd.org/changeset/base/348121
Log:
Fix gateway setup for the interface routes.
Currently rinit1() and its IPv6 counterpart
nd6_prefix_onlink_rtrequest() uses dummy null_sdl gateway address
d
20.05.2019, 07:50, "Rodney W. Grimes" :
>> Author: melifaro
>> Date: Sun May 19 21:49:56 2019
>> New Revision: 347982
>> URL: https://svnweb.freebsd.org/changeset/base/347982
>>
>> Log:
>> Fix rt_ifa selection during loopback route insertion process.
>> Currently such routes are added
Author: melifaro
Date: Sun May 19 21:49:56 2019
New Revision: 347982
URL: https://svnweb.freebsd.org/changeset/base/347982
Log:
Fix rt_ifa selection during loopback route insertion process.
Currently such routes are added with a link-level IFA, which is
plain wrong. Only after the insert
11.04.2018, 20:28, "Brooks Davis" :
> Author: brooks
> Date: Wed Apr 11 17:28:24 2018
> New Revision: 332412
> URL: https://svnweb.freebsd.org/changeset/base/332412
>
> Log:
> Remove support for FDDI networks.
Awesome!
Thank you!
>
> Defines in net/if_media.h remain in case code copied from ifc
Author: melifaro
Date: Sat Mar 31 15:06:14 2018
New Revision: 331844
URL: https://svnweb.freebsd.org/changeset/base/331844
Log:
Fix memory leaks in route(8).
Submitted by: Tom Rix (trix_juniper.net)
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org/D9676
M
30.03.2018, 02:10, "Bjoern A. Zeeb" :
> On 17 Mar 2018, at 17:05, Alexander V. Chernikov wrote:
>
>> Author: melifaro
>> Date: Sat Mar 17 17:05:48 2018
>> New Revision: 331098
>> URL: https://svnweb.freebsd.org/changeset/base/331098
>>
>> Lo
Author: melifaro
Date: Tue Mar 20 22:57:06 2018
New Revision: 331275
URL: https://svnweb.freebsd.org/changeset/base/331275
Log:
Use count(9) api for the bpf(4) statistics.
Currently each bfp descriptor uses u64 variables to maintain its counters.
On interfaces with high packet rate this l
Author: melifaro
Date: Sat Mar 17 17:05:48 2018
New Revision: 331098
URL: https://svnweb.freebsd.org/changeset/base/331098
Log:
Fix outgoing TCP/UDP packet drop on arp/ndp entry expiration.
Current arp/nd code relies on the feedback from the datapath indicating
that the entry is still us
06.06.2016, 04:40, "George Neville-Neil" :
> On 4 Jun 2016, at 15:05, Alexander V. Chernikov wrote:
>
>> 02.06.2016, 20:51, "George V. Neville-Neil" :
>>> Author: gnn
>>> Date: Thu Jun 2 17:51:29 2016
>>> New Revision: 301217
Author: melifaro
Date: Sun Jun 5 10:33:53 2016
New Revision: 301440
URL: https://svnweb.freebsd.org/changeset/base/301440
Log:
Fix 4-byte overflow in ipv6_writemask.
This bug could cause some IPv6 table prefix delete requests to fail.
Obtained from:Yandex LLC
Modified:
head
02.06.2016, 20:51, "George V. Neville-Neil" :
> Author: gnn
> Date: Thu Jun 2 17:51:29 2016
> New Revision: 301217
> URL: https://svnweb.freebsd.org/changeset/base/301217
>
> Log:
> This change re-adds L2 caching for TCP and UDP, as originally added in D4306
> but removed due to other changes i
Author: melifaro
Date: Mon Jan 25 10:06:49 2016
New Revision: 294712
URL: https://svnweb.freebsd.org/changeset/base/294712
Log:
Convert TCP mtu checks to the new routing KPI.
Modified:
head/sys/netinet/tcp_subr.c
Modified: head/sys/netinet/tcp_subr.c
=
Author: melifaro
Date: Mon Jan 25 09:31:32 2016
New Revision: 294710
URL: https://svnweb.freebsd.org/changeset/base/294710
Log:
Fix flowtable part missed in r294706.
Modified:
head/sys/net/route.c
Modified: head/sys/net/route.c
Author: melifaro
Date: Mon Jan 25 06:33:15 2016
New Revision: 294706
URL: https://svnweb.freebsd.org/changeset/base/294706
Log:
MFP r287070,r287073: split radix implementation and route table structure.
There are number of radix consumers in kernel land (pf,ipfw,nfs,route)
with differen
Author: melifaro
Date: Mon Jan 25 05:28:19 2016
New Revision: 294704
URL: https://svnweb.freebsd.org/changeset/base/294704
Log:
Remove unused radix_mpath definitions.
Modified:
head/sys/net/radix_mpath.h
Modified: head/sys/net/radix_mpath.h
===
Author: melifaro
Date: Thu Jan 21 18:20:40 2016
New Revision: 294525
URL: https://svnweb.freebsd.org/changeset/base/294525
Log:
Fix panic on table/table entry delete. The panic could have happened
if more than 64 distinct values had been used.
Table value code uses internal objhash API
Author: melifaro
Date: Wed Jan 20 11:25:30 2016
New Revision: 294411
URL: https://svnweb.freebsd.org/changeset/base/294411
Log:
Fix rte refcount leak in ip6_forward().
Reviewed by: ae
MFC after:2 weeks
Sponsored by: Yandex LLC
Modified:
head/sys/netinet6/ip6_forward.c
Modified:
Author: melifaro
Date: Sun Jan 17 06:02:59 2016
New Revision: 294203
URL: https://svnweb.freebsd.org/changeset/base/294203
Log:
MFC r288297 (userland part).
If ever MFC is done for the new lltable code, this change will miminise
ABI breakage.
rtsock requests for deleting interface ad
Author: melifaro
Date: Sun Jan 17 05:38:03 2016
New Revision: 294202
URL: https://svnweb.freebsd.org/changeset/base/294202
Log:
MFC r292831: Add SFF-8024 Extended Specification Compliance.
Submitted by: markb_mellanox.com
Differential Revision:https://reviews.freebsd.org/D
101 - 200 of 676 matches
Mail list logo