Page MenuHomeFreeBSD

bms (Bruce Simpson)
User

Projects

User Details

User Since
Jul 27 2015, 12:55 PM (576 w, 1 d)

Recent Activity

Mon, Aug 3

bms committed rG4c4be9ab4c5e: mtest: Update my copyright on this file. (authored by bms).
mtest: Update my copyright on this file.
Mon, Aug 3, 3:48 PM
bms committed rG459af94e43b0: netinet6: Fix some issues with passing v4-mapped groups to IPv6 sockets. (authored by bms).
netinet6: Fix some issues with passing v4-mapped groups to IPv6 sockets.
Mon, Aug 3, 3:48 PM
bms committed rGc8d4287e30d6: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets. (authored by bms).
mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets.
Mon, Aug 3, 3:48 PM
bms closed D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..
Mon, Aug 3, 3:48 PM
bms closed D58589: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets..
Mon, Aug 3, 3:48 PM
bms updated the diff for D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..

Taking glebius' requested style changes.

Mon, Aug 3, 3:22 PM
bms added a comment to D58597: sys/socket.h: Fix AF_MAX.
In D58597#1344902, @bms wrote:

This is directly in the line of fire of my GSoC student's MPLS work.

This should be pretty easy to rebase around, at least.

Mon, Aug 3, 3:16 PM
bms added a comment to D58597: sys/socket.h: Fix AF_MAX.

This is directly in the line of fire of my GSoC student's MPLS work.

Mon, Aug 3, 12:07 PM
bms added a comment to D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..

OK, so the parent revision got pushed by me accidentally already. Squashing at this point is probably out the question.

Mon, Aug 3, 11:52 AM
bms committed rG9fffb4e09859: netinet6: We will never support the KAME :: feature to listen for all groups. (authored by bms).
netinet6: We will never support the KAME :: feature to listen for all groups.
Mon, Aug 3, 11:29 AM
bms committed rG4e4c7b835aa8: if_wg: Prefix crypto_init() & crypto_deinit() with wg_ for a cleaner namespace. (authored by bms).
if_wg: Prefix crypto_init() & crypto_deinit() with wg_ for a cleaner namespace.
Mon, Aug 3, 11:29 AM
bms committed rG4a59a0cf99bb: netinet6: Add a definition of struct ip6_hdr_pseudo{} for OCF compatibility. (authored by bms).
netinet6: Add a definition of struct ip6_hdr_pseudo{} for OCF compatibility.
Mon, Aug 3, 11:29 AM
bms committed rGf9cdaeeeb9ad: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet. (authored by bms).
netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet.
Mon, Aug 3, 11:29 AM
bms committed rG0e80d9c15deb: netinet6: Document IPv4-mapped extension to IPV6_JOIN_GROUP et al. (authored by bms).
netinet6: Document IPv4-mapped extension to IPV6_JOIN_GROUP et al.
Mon, Aug 3, 11:29 AM
bms committed rG0efe935648f3: netipsec: Update my copyright notice on the TCP-MD5 feature. (authored by bms).
netipsec: Update my copyright notice on the TCP-MD5 feature.
Mon, Aug 3, 11:29 AM
bms committed rGb451bdb7894d: netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity. (authored by bms).
netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity.
Mon, Aug 3, 11:29 AM
bms closed D55382: netinet6: Document IPv4-mapped extension to IPV6_JOIN_GROUP et al..
Mon, Aug 3, 11:29 AM
bms updated subscribers of D58585: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Mon, Aug 3, 11:24 AM · network
bms added inline comments to D58585: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Mon, Aug 3, 11:16 AM · network
bms updated the summary of D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..
Mon, Aug 3, 11:12 AM
bms added inline comments to D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..
Mon, Aug 3, 11:11 AM
bms added a comment to D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..

Can you please just squash this revision into D58585? It is a straight one liner bug fix of it.

Mon, Aug 3, 11:10 AM
bms added inline comments to D58585: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Mon, Aug 3, 11:10 AM · network
bms added a comment to D58585: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..

Nice work, do you have plan to create an I-D for it?

Mon, Aug 3, 10:15 AM · network
bms updated subscribers of D58588: if_wg: Prefix crypto_init() & crypto_deinit() with wg_ for a cleaner namespace..

Makes sense to wait for jhb@ for a few days.

Mon, Aug 3, 8:02 AM
bms updated the summary of D58589: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets..
Mon, Aug 3, 6:41 AM
bms updated the summary of D58589: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets..
Mon, Aug 3, 6:41 AM
bms added a comment to D58589: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets..

@glebius "In lieu of" is typically taken to mean "instead of", "in place of", "with respect to". I was hoping to delegate Kyua-ifying the test to another volunteer so I can defer having to deal with Kyua upfront right now and keep the momentum, but if you insist, I guess we will have to do it that way. Can we at least land the other revisions before I proceed with that? I would in any case have to get familiar with Kyua anyway for landing other code. There's one big ball of otherwise unrelated wax which might be better done in Open vSwitch, but I'm still meditating on it.

Mon, Aug 3, 6:38 AM

Sun, Aug 2

bms updated the diff for D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..

I think this is a wrap.

Sun, Aug 2, 8:49 PM
bms added a comment to D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..

In actual fact, https://reviews.freebsd.org/D58591 was informative, but the swizzle was happening in the *wrong place*.

Sun, Aug 2, 8:37 PM
bms added inline comments to D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..
Sun, Aug 2, 8:20 PM
bms abandoned D58591: mtest: Use ntohl() when assigning IPv4-mapped addresses for IPv6 sockets..
Sun, Aug 2, 8:07 PM
bms added a comment to D58591: mtest: Use ntohl() when assigning IPv4-mapped addresses for IPv6 sockets..

Good catch, this was being munged elsewhere. The ntohl() for the 0x0000FFFF component is definitely needed.

Sun, Aug 2, 8:06 PM
bms added inline comments to D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..
Sun, Aug 2, 7:52 PM
bms added reviewers for D58591: mtest: Use ntohl() when assigning IPv4-mapped addresses for IPv6 sockets.: glebius, imp, adrian, pouria.
Sun, Aug 2, 1:16 PM
bms requested review of D58591: mtest: Use ntohl() when assigning IPv4-mapped addresses for IPv6 sockets..
Sun, Aug 2, 1:15 PM
bms added reviewers for D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets.: imp, glebius, adrian, pouria.
Sun, Aug 2, 1:15 PM
bms requested review of D58590: netinet6: Fix two issues with passing v4-mapped groups to IPv6 sockets..
Sun, Aug 2, 1:14 PM
bms updated the test plan for D58585: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Sun, Aug 2, 1:00 PM · network
bms added a comment to D58585: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..

Root cause analysis revealed 2 kernel-space issues:

Sun, Aug 2, 12:59 PM · network
bms added a comment to D58589: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets..

Root cause analysis revealed 1 user-space issue:

Sun, Aug 2, 12:58 PM
bms updated the summary of D58589: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets..
Sun, Aug 2, 8:08 AM
bms updated the test plan for D58589: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets..
Sun, Aug 2, 8:07 AM
bms added a comment to D58589: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets..
Sun, Aug 2, 8:02 AM
bms requested review of D58589: mtest: Add support for exercising IPv4-mapped groups on IPv6 sockets..
Sun, Aug 2, 8:01 AM

Sat, Aug 1

bms added a comment to D58588: if_wg: Prefix crypto_init() & crypto_deinit() with wg_ for a cleaner namespace..

I'm not sure whether they can be static or not, but the naming is definitely not right.

Sat, Aug 1, 6:59 PM
bms updated subscribers of D58588: if_wg: Prefix crypto_init() & crypto_deinit() with wg_ for a cleaner namespace..
Sat, Aug 1, 6:36 PM
bms requested review of D58588: if_wg: Prefix crypto_init() & crypto_deinit() with wg_ for a cleaner namespace..
Sat, Aug 1, 6:36 PM
bms updated the test plan for D58585: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Sat, Aug 1, 10:21 AM · network
bms added reviewers for D58585: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet.: glebius, pouria, imp, ae, melifaro, adrian.
Sat, Aug 1, 10:19 AM · network
bms requested review of D58585: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..
Sat, Aug 1, 10:17 AM · network
bms abandoned D55031: netinet6: Pass IPv4-mapped ASM multicast joins/leaves to netinet..

Mend and make do.

Sat, Aug 1, 10:17 AM
bms updated the diff for D55382: netinet6: Document IPv4-mapped extension to IPV6_JOIN_GROUP et al..

Address all review comments, caveat the addition in the HISTORY section.

Sat, Aug 1, 8:55 AM

Fri, Jul 31

bms added a comment to D58556: netinet6: Add a definition of struct ip6_hdr_pseudo{} for OCF compatibility..

The #ifdef INVARIANTS conditional for _Static_assert() is mostly a no-op, because GENERIC enables them via "include "std.debug"".

Fri, Jul 31, 10:25 PM · network
bms added a comment to D58557: netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity..

This change has been exercised with bird3. And the tcpdump dissector I forgot I wrote almost ~22.25 years to the day...

Fri, Jul 31, 9:54 PM · network

Thu, Jul 30

bms requested review of D58557: netipsec: Refactor TCP-MD5 shim to use ip6_hdr_pseudo{} for brevity..
Thu, Jul 30, 4:09 PM · network
bms added a comment to D58556: netinet6: Add a definition of struct ip6_hdr_pseudo{} for OCF compatibility..

Compile tested for amd64 GENERIC.
The next Differential will contain the netipsec/xform_tcp.c refactoring to use ip6_hdr_pseudo{}.

Thu, Jul 30, 3:56 PM · network
bms requested review of D58556: netinet6: Add a definition of struct ip6_hdr_pseudo{} for OCF compatibility..
Thu, Jul 30, 3:56 PM · network

Tue, Jul 28

bms committed R11:c65f5421d9a0: net/dot1ag-utils: new port (authored by bms).
net/dot1ag-utils: new port
Tue, Jul 28, 6:38 PM
bms committed rGf884e820d87f: netinet6: Tear down IPv6 source address selection policies with rest of IPv6. (authored by bms).
netinet6: Tear down IPv6 source address selection policies with rest of IPv6.
Tue, Jul 28, 6:36 PM
bms closed D55599: netinet6: Tear down IPv6 source address selection policies with rest of IPv6..
Tue, Jul 28, 6:35 PM
bms updated the diff for D55599: netinet6: Tear down IPv6 source address selection policies with rest of IPv6..

Inlined as glebius requested, but this counter-intuitively adds more
churn as declarations then need to be moved further up in the
translation unit.

Tue, Jul 28, 8:45 AM
bms added a comment to D55599: netinet6: Tear down IPv6 source address selection policies with rest of IPv6..
Tue, Jul 28, 7:22 AM

Mon, Jul 27

bms updated the diff for D55599: netinet6: Tear down IPv6 source address selection policies with rest of IPv6..

Incorporating Gleb's requested changes.

Mon, Jul 27, 10:38 PM
bms committed rGd93d23529128: netinet: Replace IFP_TO_IA() with in_ifprimaryaddr() completely. (authored by bms).
netinet: Replace IFP_TO_IA() with in_ifprimaryaddr() completely.
Mon, Jul 27, 9:56 PM
bms closed D55345: netinet: Use in_ifprimaryaddr() in place of IFP_TO_IA()..
Mon, Jul 27, 9:56 PM
bms committed rGe52655a93909: netinet: Promote IFP_TO_IA() from macro to function in_ifprimaryaddr(). (authored by bms).
netinet: Promote IFP_TO_IA() from macro to function in_ifprimaryaddr().
Mon, Jul 27, 9:55 PM
bms closed D55344: netinet: Promote IFP_TO_IA() from macro to function in_ifprimaryaddr()..
Mon, Jul 27, 9:55 PM
bms abandoned D55663: netinet6: Add ip6_hdr_pseudo{} to ip6.h; diff reduce and apply..
Mon, Jul 27, 12:44 PM

Sat, Jul 18

bms committed R9:7fa7abbc48a5: Document recent and historical hardware donations. (authored by bms).
Document recent and historical hardware donations.
Sat, Jul 18, 5:42 PM

Jun 15 2026

bms removed a reviewer for D56115: stand/efi: retrieving and printing the boot count: bms.
Jun 15 2026, 1:46 PM
bms edited reviewers for D57559: if_bridge: add MDB foundation, added: ivy; removed: bms.
Jun 15 2026, 12:53 PM

Jun 12 2026

bms added a comment to D57545: socket: Tag all socket option comments consistently.

a number of these are things I introduced, no objection

Jun 12 2026, 5:00 PM

Jun 9 2026

bms added a comment to D57508: sockstat: consolidate unix(4) protocols in the array of protocols.

+1 for utility.

Jun 9 2026, 6:54 AM

Jun 4 2026

bms added a comment to D57423: unix: implement basic SO_PASSRIGHTS functionality.

The rationale is pretty clear. Whilst it would be preferable to be default-deny (for much the same reasons as security models built on top of this are also default-deny) it cannot be so for compatibility reasons (yet; perhaps in future).

Jun 4 2026, 9:00 AM

May 29 2026

bms added a comment to D56750: netlink: store osreldate of the process in the netlink pcb.

The reason was BIRD, I saw @melifaro's commits on it and learned he wanted FreeBSD's netlink to remain as close to Linux's version as possible.
Please keep this review open if possible. the use case will come up soon, though I don't know exactly when or for what.

May 29 2026, 9:39 PM
bms added a comment to D57342: ip6: Drop dead code in ip6_input_hbh().
May 29 2026, 8:48 PM
bms added a comment to D57309: tcp: add eventlog(9) provider for TCP.

Ah. This more or less removes an item from my TODO list. Thank you. The intent was always to profile first, add Minshall later.

May 29 2026, 8:28 PM
bms added a comment to D19960: Remove support for RFC2675.

This makes things nice and clean for SRv6 in future, if and when that happens. Thank you.

May 29 2026, 7:56 PM
Herald added a reviewer for D19960: Remove support for RFC2675: pouria.
May 29 2026, 7:50 PM

May 28 2026

bms added a comment to D57309: tcp: add eventlog(9) provider for TCP.

I have plans to add Delayed ACK profiling eventually, does this collide with anything, or is someone going to beat me to it?

May 28 2026, 11:02 PM

May 22 2026

bms added a comment to D57154: net: Fix handling of unmapped user pages in if_getgroup().

This is giving me 2003 flashbacks.

May 22 2026, 3:52 PM

May 20 2026

bms added a comment to D57104: tcp: improve TCP fast open with source routing.

Surely the point is moot though and SSRR/LSSR accepted only for feature-completeness in IPv4? E.g. SR-MPLS and SRv6 do not use it.

May 20 2026, 10:48 AM

May 19 2026

bms added a comment to D57101: tcp: Remove a no-op eventhandler.

Yeah let's get stinko!

May 19 2026, 10:02 PM

May 11 2026

bms added a comment to D56947: igmp: Avoid leaving dangling pointers in the state-change queue.

In the commit text, in the phrase it'll drop packets from the queue but fail to remove them, I'd suggest to change drop to free or m_freem.

May 11 2026, 8:40 PM
bms added a comment to D56947: igmp: Avoid leaving dangling pointers in the state-change queue.

I concur that commit-id 855239e56 of xnu/bsd/netinet/igmp.c from https://github.com/apple-oss-distributions/xnu appears to have a similar fix, but they explicitly split the conditional further. The "fog of war" of xnu imports in "git log" prevents further instrumentation beyond the obvious "git blame" "where the bodies are buried" action. (Hey, I had a git sparse-checkout lying around in my primary FreeBSD VM dev instance. Go ME! But that was also part of the ongoing xnu dissection, "Take what is useful, destroy the rest." Developer Hegemony is currently looking like a bit of a pipe dream, unless people start taking what Dijkstra said in 1975 about "complexity generators" seriously.)
Gotta go, I'm out of actual food, so I need to go to the shop, respond to my other GSoC student meaningfully, and tune in to "Auntie" (Prof.) Emily Bender at 2000BST on Twitch.
UPDATE: OK, that was not as cool as I thought it would be, and I've eaten too many crisps and cheap sushi. She was mostly poking fun at people's huge AGENTS.md files on GitHub.

May 11 2026, 6:12 PM
bms added a comment to D56947: igmp: Avoid leaving dangling pointers in the state-change queue.

Yeah. Don't have much to offer here, I'm afraid, ironic being the instigator, but just so much is going on at the moment, and I'm literally RAMMED every DAY. The mental map of this code is long gone from the forebrain, but probably lingers somewhere, but I'm not about to pop Piracetam or Choline Inositol to find out this week. (Those are nootropics; the latter are nutraceuticals.)

May 11 2026, 6:06 PM

Apr 24 2026

bms added a comment to D54718: tcpdump: Fix buffer overrun in ATM OAM printing .

Testing any of it outside of simulation might be difficult. I left my Madge 10BASE-T/ATM25 dual-mode switch behind in Berkeley in 2005...

Apr 24 2026, 2:58 PM

Apr 12 2026

bms added a comment to D55963: netinet6?: move struct ip6?_moptions definition to in6?_var.h.

Userland impact believed non-existent, these are kernel-space structures and are not generally exposed outside of in_mcast.c/in6_mcast.c.

Apr 12 2026, 3:48 PM

Apr 8 2026

bms added a comment to D56307: tcp: Allow recycling of TIME_WAIT connections on differnet ISN.

LGTM with caveats. any plans for a Kyua test to catch the strafe fire in the ISN space this looks like it should close against?

Apr 8 2026, 1:29 PM
bms added a comment to D53472: Add loader support for xhci debug.

Just fired up one of my Haswell-based Dell Optiplex 3020 test boxes... and there's no DEBUG for their onboard Intel C200 xHCI.

Apr 8 2026, 7:52 AM
bms abandoned D9157: xHCI Debug Capability support for USB 3.0.

Just fired up one of my Haswell-based Dell Optiplex 3020 test boxes... and there's no DEBUG for their onboard Intel C200 xHCI. So, I cannot even test any of it any more.

Apr 8 2026, 7:51 AM

Apr 1 2026

bms updated subscribers of D56205: netstat: Add -F support for -g.
Apr 1 2026, 2:47 AM
bms added a comment to D56205: netstat: Add -F support for -g.

@markj has been working to make MROUTING multi-FIB.

Apr 1 2026, 2:46 AM

Mar 31 2026

bms added a comment to D55631: axge: fix spurious link down from MII, frozen TX.
In D55631#1284650, @bms wrote:

I was able to obtain an axge(4) compatible USB3 adapter for ~6GBP from Amazon.

Is the chipset ax88279? If so, could you send me the link to the product so
I can buy one? Thanks.

Mar 31 2026, 1:56 PM · USB, network

Mar 30 2026

bms added a comment to D56168: compat/linux: map TCP_USER_TIMEOUT sockopt into TCP_MAXUNACKTIME.

OT: I have an item to look at TCP_QUICKACK like Nagle suggested as per my DevSummit workplan

Mar 30 2026, 9:41 PM
bms added a comment to D56115: stand/efi: retrieving and printing the boot count.

So we've seen functions grow new errors over time, or some implementations return other errors for reasons that were consistent with the standard, but maybe not one of the ones listed.

Yeah that makes a lot of sense, best to be future proof.

Mar 30 2026, 1:33 PM
bms added a comment to D55449: nd6: Add support for route information (RFC 4191).

+1 for doing this, but I have not reviewed code (yet).

Mar 30 2026, 1:14 PM
bms updated subscribers of D55631: axge: fix spurious link down from MII, frozen TX.

I was able to obtain an axge(4) compatible USB3 adapter for ~6GBP from Amazon.

Mar 30 2026, 1:13 PM · USB, network

Mar 29 2026

bms added a comment to D53472: Add loader support for xhci debug.

TL;DR Not functional under KVM passthrough of either ThinkPad P14s xHCI node.

Mar 29 2026, 7:05 PM