Page MenuHomeFreeBSD
Feed Advanced Search

Yesterday

zlei added a reverting change for rG05fc416403ec: During if_vmove() we call if_detach_internal() which in turn calls the event: D45599: ifnet: Remove dead code.
Fri, Jun 14, 5:47 PM
zlei requested review of D45599: ifnet: Remove dead code.
Fri, Jun 14, 5:47 PM
zlei added a comment to D45572: adjkerntz(8): Prefer "Real-Time Clock (RTC)" terminology.

Shall we at least mention the previous well-known terminology CMOS clock ?

I have The Real-Time Clock may also be called the CMOS Clock. -- do you think this is insufficient?

Oh, my fault. I did not read carefully. I'm OK with that.

Fri, Jun 14, 3:20 PM
zlei requested review of D45595: ifnet: Restore curvnet earlier.
Fri, Jun 14, 2:52 PM
zlei added a comment to D45585: ifconfig: turn interface address without mask into an error.
In D45585#1040016, @kp wrote:

Open question: when do we commit this? Now, in advance of 15.0? As soon as stable/15 branches, so that it will first arrive in 16.0?

I'd argue we should do it now (i.e. so that it'll be part of 15.0).
The warning has been present since 13.1, so that's two full major releases of warning (on top of the fact that not specifying a mask has been a bad idea since about 1993). That seems plenty long enough.
And if we're going to do it for 15 we should include this change sooner rather than later, so that there's more time for people to notice any fallout before the release.

Fri, Jun 14, 1:30 PM
zlei added a comment to D45572: adjkerntz(8): Prefer "Real-Time Clock (RTC)" terminology.

Shall we at least mention the previous well-known terminology CMOS clock ?

Fri, Jun 14, 1:26 PM

Tue, Jun 11

zlei committed rGc720ff8f95fc: sys/sysctl.h: Fix wrong assertion with multiple access flags (authored by zlei).
sys/sysctl.h: Fix wrong assertion with multiple access flags
Tue, Jun 11, 4:50 AM
zlei committed rG9cd77bd9c68b: sys/sysctl.h: Fix wrong assertion with multiple access flags (authored by zlei).
sys/sysctl.h: Fix wrong assertion with multiple access flags
Tue, Jun 11, 4:50 AM

Sun, Jun 9

zlei committed rG2671bde99295: pfsync: Correctly check if bpf peers are present (authored by zlei).
pfsync: Correctly check if bpf peers are present
Sun, Jun 9, 1:08 AM
zlei committed rGebc2bab04823: pflog: Correctly check if bpf peers are present (authored by zlei).
pflog: Correctly check if bpf peers are present
Sun, Jun 9, 1:07 AM
zlei closed D45533: pfsync: Correctly check if bpf peers are present.
Sun, Jun 9, 1:07 AM
zlei closed D45532: pflog: Correctly check if bpf peers are present.
Sun, Jun 9, 1:07 AM

Sat, Jun 8

zlei committed rG5c20fc180d1d: hidbus(4): Fix wrong assertion of bus (authored by zlei).
hidbus(4): Fix wrong assertion of bus
Sat, Jun 8, 3:29 AM
zlei committed rG23f4131ad685: sys/sysctl.h: Fix wrong assertion with multiple access flags (authored by zlei).
sys/sysctl.h: Fix wrong assertion with multiple access flags
Sat, Jun 8, 3:23 AM
zlei closed D45531: sys/sysctl.h: Fix wrong assertion with multiple access flags.
Sat, Jun 8, 3:23 AM

Fri, Jun 7

zlei updated the summary of D45533: pfsync: Correctly check if bpf peers are present.
Fri, Jun 7, 6:07 PM
zlei updated the summary of D45533: pfsync: Correctly check if bpf peers are present.
Fri, Jun 7, 6:06 PM
zlei requested review of D45533: pfsync: Correctly check if bpf peers are present.
Fri, Jun 7, 6:04 PM
zlei added inline comments to D45532: pflog: Correctly check if bpf peers are present.
Fri, Jun 7, 5:19 PM
zlei requested review of D45532: pflog: Correctly check if bpf peers are present.
Fri, Jun 7, 5:15 PM
zlei requested review of D45531: sys/sysctl.h: Fix wrong assertion with multiple access flags.
Fri, Jun 7, 4:46 PM
zlei committed rG0dfd11abc4bd: bpf: Make bpf_peers_present a boolean inline function (authored by zlei).
bpf: Make bpf_peers_present a boolean inline function
Fri, Jun 7, 3:08 PM
zlei committed rG89204d9dcbe2: bpf: Prefer the boolean form when calling bpf_peers_present() (authored by zlei).
bpf: Prefer the boolean form when calling bpf_peers_present()
Fri, Jun 7, 3:08 PM
zlei closed D45509: bpf: Make bpf_peers_present a boolean inline function.
Fri, Jun 7, 3:08 PM

Thu, Jun 6

zlei committed rG215a18d502cb: if_enc(4): Prefer the boolean form when calling bpf_peers_present() (authored by zlei).
if_enc(4): Prefer the boolean form when calling bpf_peers_present()
Thu, Jun 6, 4:22 AM
zlei requested review of D45509: bpf: Make bpf_peers_present a boolean inline function.
Thu, Jun 6, 3:37 AM

Wed, Jun 5

zlei committed rG4eb82e65a73f: hidbus(4): Fix wrong assertion of bus (authored by zlei).
hidbus(4): Fix wrong assertion of bus
Wed, Jun 5, 12:05 PM
zlei closed D45496: hidbus(4): Fix wrong assertion of bus.
Wed, Jun 5, 12:05 PM
zlei accepted D45493: pci(4): unbreak the build.

It is definitely the right fix.

Wed, Jun 5, 9:38 AM
zlei requested review of D45496: hidbus(4): Fix wrong assertion of bus.
Wed, Jun 5, 9:22 AM
zlei committed rGff4b8d51ac72: mlx4, mlx5: Eliminate redundent NULL check for packet filter (authored by zlei).
mlx4, mlx5: Eliminate redundent NULL check for packet filter
Wed, Jun 5, 4:46 AM
zlei committed rGd98ced6588b5: mlx4, mlx5: Eliminate redundent NULL check for packet filter (authored by zlei).
mlx4, mlx5: Eliminate redundent NULL check for packet filter
Wed, Jun 5, 4:29 AM

Fri, May 31

zlei added a comment to D45402: iovctl: allow vlan restrictions to be passed to the driver.

Allow iovctl to create VFs that are restricted to specific VLAN IDs.

So will the restricted VFs work much like vlan(4) devices over PF ? Or vlan(4) over VF is still needed to pass in tagged packets to the net stack?

Fri, May 31, 1:23 AM

Tue, May 28

zlei closed D45196: mlx4, mlx5: Eliminate redundent check for NULL packet filter.
Tue, May 28, 4:48 AM
zlei committed rG2439ae948352: mlx4, mlx5: Eliminate redundent NULL check for packet filter (authored by zlei).
mlx4, mlx5: Eliminate redundent NULL check for packet filter
Tue, May 28, 4:48 AM
zlei committed rGa29cc9eca779: linux(4): Add const qualifier to the value parameter of function handle_string() (authored by zlei).
linux(4): Add const qualifier to the value parameter of function handle_string()
Tue, May 28, 4:43 AM
zlei committed rGf183abd1286a: compat_freebsd4: Add const qualifier to the local variable s inside function… (authored by zlei).
compat_freebsd4: Add const qualifier to the local variable s inside function…
Tue, May 28, 4:43 AM
zlei committed rG1b3f88bc8095: linux(4): Add const qualifier to the value parameter of function handle_string() (authored by zlei).
linux(4): Add const qualifier to the value parameter of function handle_string()
Tue, May 28, 4:23 AM
zlei committed rG5fd1902b0c76: compat_freebsd4: Add const qualifier to the local variable s inside function… (authored by zlei).
compat_freebsd4: Add const qualifier to the local variable s inside function…
Tue, May 28, 4:23 AM

Fri, May 24

zlei committed rGc9188db6f956: ifconfig: Redo fix vlan/vlanproto reconfiguration (authored by zlei).
ifconfig: Redo fix vlan/vlanproto reconfiguration
Fri, May 24, 4:05 PM

Thu, May 23

zlei committed rGd76ef58d566c: freebsd-update: Correctly check if pkg(8) is present (authored by zlei).
freebsd-update: Correctly check if pkg(8) is present
Thu, May 23, 4:11 AM
zlei closed D45292: freebsd-update: Correctly check if pkg(8) is present.
Thu, May 23, 4:11 AM

Wed, May 22

zlei committed rG34db75d21876: if_vxlan(4): Add checking for loops and nesting of tunnels (authored by zlei).
if_vxlan(4): Add checking for loops and nesting of tunnels
Wed, May 22, 11:02 PM
zlei committed rG9d653a52f899: if_vxlan(4): Add checking for loops and nesting of tunnels (authored by zlei).
if_vxlan(4): Add checking for loops and nesting of tunnels
Wed, May 22, 2:03 PM
zlei committed rG3ebd2b1c7308: if_vxlan(4): Add checking for loops and nesting of tunnels (authored by zlei).
if_vxlan(4): Add checking for loops and nesting of tunnels
Wed, May 22, 2:00 PM
zlei requested review of D45292: freebsd-update: Correctly check if pkg(8) is present.
Wed, May 22, 1:59 AM

Tue, May 21

zlei added inline comments to D45285: if_vlan: handle VID conflicts.
Tue, May 21, 4:50 PM
zlei committed rG76df3c57a0ab: ifconfig: Redo fix vlan/vlanproto reconfiguration (authored by zlei).
ifconfig: Redo fix vlan/vlanproto reconfiguration
Tue, May 21, 4:37 PM
zlei closed D45283: ifconfig: redo fix vlan/vlanproto reconfiguration.
Tue, May 21, 4:37 PM
zlei added a comment to D45283: ifconfig: redo fix vlan/vlanproto reconfiguration.
In D45283#1033101, @kp wrote:
diff --git a/tests/sys/net/if_vlan.sh b/tests/sys/net/if_vlan.sh
index 675ed0090e8c..4d5d70410898 100755
--- a/tests/sys/net/if_vlan.sh
+++ b/tests/sys/net/if_vlan.sh
@@ -37,7 +37,7 @@ basic_body()
        # And change back
        # Test changing the vlan ID
        atf_check -s exit:0 \
-           jexec singsing ifconfig ${vlan1} vlandev ${epair_vlan}b vlan 42
+           jexec singsing ifconfig ${vlan1} vlan 42 vlandev ${epair_vlan}b
        atf_check -s exit:0 -o ignore jexec singsing ping -c 1 10.0.0.1
 }

is probably enough for a test case.

Tue, May 21, 3:54 PM
zlei accepted D45285: if_vlan: handle VID conflicts.

Looks good to me.

Tue, May 21, 2:20 PM
zlei updated the summary of D45283: ifconfig: redo fix vlan/vlanproto reconfiguration.
Tue, May 21, 11:26 AM
zlei added a comment to D45283: ifconfig: redo fix vlan/vlanproto reconfiguration.

I guess I need a better Title for this CR , I dislike the redo ...

Tue, May 21, 10:22 AM
zlei requested review of D45283: ifconfig: redo fix vlan/vlanproto reconfiguration.
Tue, May 21, 10:19 AM
zlei added a comment to D45196: mlx4, mlx5: Eliminate redundent check for NULL packet filter.

Given that all(?) other ethernet drivers unconditionally ETHER_BPF_MTAP() (so, ether_bpf_mtap_if())

Tue, May 21, 1:13 AM

Mon, May 20

zlei committed rG93fbfef0b503: if_vxlan(4): Add checking for loops and nesting of tunnels (authored by zlei).
if_vxlan(4): Add checking for loops and nesting of tunnels
Mon, May 20, 12:15 PM
zlei closed D45197: if_vxlan(4): Add checking for nesting of tunnels.
Mon, May 20, 12:15 PM
zlei committed rG68c890b4433d: linux(4): Add const qualifier to the value parameter of function handle_string() (authored by zlei).
linux(4): Add const qualifier to the value parameter of function handle_string()
Mon, May 20, 4:05 AM
zlei committed rG92f2a4c820fe: compat_freebsd4: Add const qualifier to the local variable s inside function… (authored by zlei).
compat_freebsd4: Add const qualifier to the local variable s inside function…
Mon, May 20, 4:05 AM

Fri, May 17

zlei updated subscribers of D45227: kernel: Make some compiling time constant const.

@khng I think with this change even shadowing those global variables can be easily caught.

Fri, May 17, 10:07 AM
zlei added inline comments to D45227: kernel: Make some compiling time constant const.
Fri, May 17, 10:06 AM
zlei requested review of D45227: kernel: Make some compiling time constant const.
Fri, May 17, 10:00 AM
zlei added a comment to D45197: if_vxlan(4): Add checking for nesting of tunnels.

Just a quick note that the PR listed on this is incorrect. This fix addresses PR 278394.

Fri, May 17, 5:01 AM
zlei committed rG1652c9e29f5b: boottrace: Use NULL for SYSINIT's last arg, which is a pointer type (authored by zlei).
boottrace: Use NULL for SYSINIT's last arg, which is a pointer type
Fri, May 17, 4:08 AM

May 16 2024

zlei added a comment to D45214: kernel: Add defination of .init_array and .fini_array for all other platforms.

This is split from D40467 with fixing the order of .fini_array section.

May 16 2024, 7:59 AM
zlei added a comment to D40467: ld(1): Correctly define .init_array and .fini_array for all platforms..

I tried to Update Diff but failed. Split the definition for other platforms to D45214 .

May 16 2024, 7:57 AM
zlei requested review of D45214: kernel: Add defination of .init_array and .fini_array for all other platforms.
May 16 2024, 7:54 AM
zlei updated the diff for D45194: kernel: Fix defining of .init_array and .fini_array sections.

Should ready to go.

May 16 2024, 6:56 AM
zlei added inline comments to D45194: kernel: Fix defining of .init_array and .fini_array sections.
May 16 2024, 5:09 AM
zlei added inline comments to D45194: kernel: Fix defining of .init_array and .fini_array sections.
May 16 2024, 3:39 AM

May 15 2024

zlei added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.

@aokblast
I'm not familiar with debuggers, so this might be a silly question.

May 15 2024, 1:24 PM
zlei added a comment to D45196: mlx4, mlx5: Eliminate redundent check for NULL packet filter.
In D45196#1030920, @kp wrote:

The referenced commit (2b9600b4497b) seems to be relevant for the detach flow, but it doesn't guarantee there will an if_bpf pointer when a struct ifnet is created.
However, ether_ifattach() does an unconditional bpfattach(), so I think this is still correct (given that mlx* are Ethernet devices).

May 15 2024, 6:59 AM
zlei updated subscribers of D45196: mlx4, mlx5: Eliminate redundent check for NULL packet filter.
In D45196#1031138, @kib wrote:

These two seems to be the only uses of if_getbpf() in the tree, unless I mis-grepped. Is this the cause for the change?

May 15 2024, 6:52 AM
zlei updated subscribers of D42391: ethernet: Remove FCS bit.

I'm sure I've seen FCSes in 802.11 bpf traces? Maybe that's happening at the 802.11 radiotap level?

May 15 2024, 3:24 AM
zlei added a comment to D45194: kernel: Fix defining of .init_array and .fini_array sections.
In D45194#1031125, @imp wrote:

Then a quick line in yhe commit messafe saying its a fix

May 15 2024, 2:54 AM
zlei retitled D45194: kernel: Fix defining of .init_array and .fini_array sections from kernel: Correctly define .init_array and .fini_array sections to kernel: Fix defining of .init_array and .fini_array sections.
May 15 2024, 2:47 AM
zlei added a comment to D42391: ethernet: Remove FCS bit.

While Linux does support tap traffic without good CRC (FCS) via tcpdump / bpf. I think that is most useful for developing drivers / hardwares or diagnosing noisy wireless environment, but I think that (enable capturing bad CRC via bpf) should be turned on per interface and still those packets with bad CRC should not enter net stack. So I'm convinced this is the right approach.

May 15 2024, 2:28 AM
zlei added a comment to D42391: ethernet: Remove FCS bit.

This is a breaking change. 3rd party drivers should take care of it.

It's fairly straightforward for 3rd party drivers to chase this tough, I don't think it's a big concern.

May 15 2024, 2:21 AM
zlei added inline comments to D45197: if_vxlan(4): Add checking for nesting of tunnels.
May 15 2024, 2:15 AM
zlei added a comment to D45194: kernel: Fix defining of .init_array and .fini_array sections.
In D45194#1030970, @imp wrote:

Other arch? At the very least a lube in the commit about why not relevant there

May 15 2024, 1:42 AM

May 14 2024

zlei added a comment to D45197: if_vxlan(4): Add checking for nesting of tunnels.

@kp has just made similar fix 59a6666ec91d for if_ovpn.

May 14 2024, 10:14 AM
zlei updated subscribers of D45197: if_vxlan(4): Add checking for nesting of tunnels.
May 14 2024, 10:13 AM
zlei requested review of D45197: if_vxlan(4): Add checking for nesting of tunnels.
May 14 2024, 10:12 AM
zlei requested review of D45196: mlx4, mlx5: Eliminate redundent check for NULL packet filter.
May 14 2024, 5:03 AM
zlei requested review of D45195: if_vxlan(4): Exclude ETHER_CRC_LEN while calculating VXLAN_MAX_MTU.
May 14 2024, 4:47 AM
Herald added a reviewer for D40467: ld(1): Correctly define .init_array and .fini_array for all platforms.: andrew.

Split the FIX for sorting input sections to D45194 .

May 14 2024, 4:27 AM
zlei requested review of D45194: kernel: Fix defining of .init_array and .fini_array sections.
May 14 2024, 4:24 AM
zlei committed rGd9f1f0a90183: boottrace: Use NULL for SYSINIT's last arg, which is a pointer type (authored by zlei).
boottrace: Use NULL for SYSINIT's last arg, which is a pointer type
May 14 2024, 4:06 AM

May 10 2024

zlei added a comment to D39317: inet6: protect address manipulation with a lock.

Xref a PR: 271344 which was reported after the fix.

May 10 2024, 4:36 PM
zlei committed rGff99bfe3ef73: inet6: protect address manipulation with a lock (authored by mjg).
inet6: protect address manipulation with a lock
May 10 2024, 4:31 PM
zlei committed rGe57876309dbe: sys/net/if_bridge: support non-INET kernels (authored by lexi_le-fay.org).
sys/net/if_bridge: support non-INET kernels
May 10 2024, 2:14 PM
zlei committed rG07e4121aa14b: if_bridge: clean up INET/INET6 handling (authored by lexi_le-fay.org).
if_bridge: clean up INET/INET6 handling
May 10 2024, 2:14 PM
zlei committed rGd45f1f519342: sys/net/if_bridge: support non-INET kernels (authored by lexi_le-fay.org).
sys/net/if_bridge: support non-INET kernels
May 10 2024, 2:09 PM

May 9 2024

zlei added inline comments to D45056: support for DIRECT access via ggated and ggatec.
May 9 2024, 10:07 AM · Src Committers

May 7 2024

zlei added a comment to D36171: nfsclient: use new routing KPI when adding a new route.

The change is simple and looks good, IMO manual test is required at least.

May 7 2024, 9:55 AM

May 6 2024

zlei added inline comments to D44768: cloudware: purge pkg cache after installation.
May 6 2024, 2:28 AM

Apr 27 2024

zlei added inline comments to D44979: in6.h: expose s6_addr* definitions to user level.
Apr 27 2024, 1:51 AM

Apr 25 2024

zlei committed rG73585176ffd8: if_bridge: Minor style fixes (authored by zlei).
if_bridge: Minor style fixes
Apr 25 2024, 6:20 PM

Apr 18 2024

zlei accepted D44797: freebsd-update(8): Use kern.module_path.

Looks good to me.

Apr 18 2024, 2:36 PM
zlei updated subscribers of D44760: fbt: Fix compiler warnings in CDDL fbt sources..
Apr 18 2024, 12:08 PM