Page MenuHomeFreeBSD
Feed Advanced Search

Jan 24 2025

thj added inline comments to D48603: net80211: change ieee80211_ratectl_rate() to not return a rix.
Jan 24 2025, 4:22 PM · wireless
thj added inline comments to D48601: net80211: remove direct use of ni->ni_txrate, add indirection methods.
Jan 24 2025, 1:09 PM · wireless

Jan 23 2025

thj added inline comments to D48602: sys: convert ni->ni_txrate references use to the new net80211 API.
Jan 23 2025, 4:28 PM · wireless
thj requested changes to D48601: net80211: remove direct use of ni->ni_txrate, add indirection methods.
Jan 23 2025, 4:23 PM · wireless

Dec 19 2024

thj requested review of D48144: Status/2024Q3: Status report for iwx WiFi driver port.
Dec 19 2024, 8:48 AM

Dec 6 2024

thj committed rGf132be9bac5f: netgraph: Enable support for EIM NAT (authored by damjan.jov_gmail.com).
netgraph: Enable support for EIM NAT
Dec 6 2024, 9:33 AM
thj committed rGcb21fa3d0d26: ppp: Enable support for EIM NAT (authored by damjan.jov_gmail.com).
ppp: Enable support for EIM NAT
Dec 6 2024, 9:24 AM
thj committed rGef18594985c0: natd: Enable support for EIM NAT (authored by damjan.jov_gmail.com).
natd: Enable support for EIM NAT
Dec 6 2024, 9:23 AM
thj closed D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).
Dec 6 2024, 9:22 AM · network
thj committed rGb6c90b909905: ipfw : Enable support for EIM NAT (authored by damjan.jov_gmail.com).
ipfw : Enable support for EIM NAT
Dec 6 2024, 9:20 AM

Dec 5 2024

thj committed rG61bf830cbb26: libalias: Add support for EIM NAT (authored by damjan.jov_gmail.com).
libalias: Add support for EIM NAT
Dec 5 2024, 4:27 PM
thj added a comment to D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

just and fyi, I've broken this down to 5 commits and only pushed the first so far

Dec 5 2024, 4:27 PM · network

Nov 14 2024

thj accepted D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

From my testing this seems good. From there I will break this down a bit so the commits are smaller and start adding stuff next week

Nov 14 2024, 4:14 PM · network

Nov 8 2024

thj added a comment to D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

This update:

  • Makes EIM opt-in, off by default, although I still think this decision needs broader discussion, or even a vote.
Nov 8 2024, 4:10 PM · network

Nov 5 2024

thj added a comment to D47410: Fix the pf.conf(5) man page "endpoint-independent" section.

Is there a reason this moves in the ordering of nat rules? We tend to aim for roughly alphabetical ordering if there isn't a reason for something different?

Nov 5 2024, 11:02 AM · network
thj added a reviewer for D47410: Fix the pf.conf(5) man page "endpoint-independent" section: manpages.
Nov 5 2024, 11:00 AM · network

Oct 18 2024

thj edited reviewers for D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT), added: igoro, manpages; removed: glebius.

Generally looks good, there are some small nits, but I'm happy for this to land once you've made the changes to the man page and the comment at the top.

Oct 18 2024, 3:50 PM · network
thj added a comment to D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

Sorry one more thing, can you upload future diffs with full context. It makes reviewing on phabricator much easier.

Oct 18 2024, 1:33 PM · network
thj added a comment to D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT).

Two small things, I will start testing now

Oct 18 2024, 1:01 PM · network

Oct 3 2024

thj closed D46869: Add status report for EIM NAT project.
Oct 3 2024, 8:49 AM
thj committed R9:192923674e8d: Status/2024Q3: Status report for EIM NAT project (authored by thj).
Status/2024Q3: Status report for EIM NAT project
Oct 3 2024, 8:49 AM

Oct 2 2024

thj added a comment to D46870: (draft) conf: GENERIC: Add a disclaimer on customized kernel configurations.

Tweak some wording to imply reality

Oct 2 2024, 9:37 AM
thj added a comment to D46869: Add status report for EIM NAT project.

Sorry it is a bit late

Oct 2 2024, 9:15 AM
thj requested review of D46869: Add status report for EIM NAT project.
Oct 2 2024, 9:15 AM

Sep 30 2024

thj added a comment to D16851: Add support for header chain validation on IPv6 Fragments (RFC7112).

I think we just need to check first fragments in frag6_input() and check whole header chain everytime:

if (fragoff == 0)
{
    if (!ip6_valid_hdrchain(&m, off, nxt, frgpartlen))
    {
         icmp6_error(m, ICMP6_PARAM_PROB, ICMP6_PARAMPROB_MISSING_HDR, 0);
         return (IPPROTO_DONE);
     }
}

This will conform with RFC 8200, page 21, last paragraph.

Sep 30 2024, 12:49 PM

Sep 27 2024

thj accepted D46760: dhclient: Ignore vendor-identifying DHCP options defined in RFC 3925.
Sep 27 2024, 2:24 PM

Sep 26 2024

thj committed rG99adbd1b3f3b: gpioc: Fix handling of priv data during open (authored by thj).
gpioc: Fix handling of priv data during open
Sep 26 2024, 9:17 AM
thj closed D46568: gpioc: Fix handling of priv data during open.
Sep 26 2024, 9:17 AM

Sep 25 2024

thj requested review of D46782: imx_clk_composite: Fix up clock selection.
Sep 25 2024, 2:46 PM
thj added a comment to D17675: Suspend to idle support.

Thanks Ed, I think that is a useful clarification.

Sep 25 2024, 2:27 PM
thj added a comment to D17675: Suspend to idle support.

For anyone looking into this the ACPI reference table might help:

Sep 25 2024, 9:00 AM

Sep 24 2024

thj added a comment to D46568: gpioc: Fix handling of priv data during open.

Thanks for the comments both, I'm sorry I rolled my confusion about the use of cdevpriv and clean up with this change.

Sep 24 2024, 12:37 PM
thj updated the diff for D46568: gpioc: Fix handling of priv data during open.
  • handle devfs_set_cdevpriv correctly
  • actively initialize more of priv
Sep 24 2024, 12:35 PM
thj accepted D46762: diff3: Fix merge mode..

Looks like an improvement to me, the big comment helps.

Sep 24 2024, 8:44 AM

Sep 23 2024

thj added a member for riscv: thj.
Sep 23 2024, 2:32 PM
thj added a member for wireless: thj.
Sep 23 2024, 2:32 PM
thj added a member for USB: thj.
Sep 23 2024, 2:32 PM
thj added a member for network: thj.
Sep 23 2024, 2:31 PM
thj added reviewers for D46689: LibAlias: implement RFC 4787 REQ 1 and 3 (full cone NAT): donner, glebius.

So far this generally looks ok to me and the tests seem to work.

Sep 23 2024, 12:25 PM · network

Sep 19 2024

thj accepted D46623: tcp: remove unused socket option names.
Sep 19 2024, 3:13 PM

Sep 17 2024

thj added a comment to D46662: imx clk: Skip reconfiguring the clock if we don't have a new best_parent.

Thanks for checking this over!

Sep 17 2024, 8:12 AM

Sep 16 2024

thj committed rG855c3dacfc6a: imx clk: Skip reconfiguring the clock if we don't have a new best_parent (authored by thj).
imx clk: Skip reconfiguring the clock if we don't have a new best_parent
Sep 16 2024, 2:46 PM
thj closed D46662: imx clk: Skip reconfiguring the clock if we don't have a new best_parent.
Sep 16 2024, 2:46 PM

Sep 13 2024

thj requested review of D46662: imx clk: Skip reconfiguring the clock if we don't have a new best_parent.
Sep 13 2024, 1:19 PM
thj closed D46642: imx8mp: Add clock tree.
Sep 13 2024, 8:21 AM
thj committed rG40d0f179a8a9: imx8mp: Add clock tree (authored by thj).
imx8mp: Add clock tree
Sep 13 2024, 8:21 AM
thj committed rGbe9fefafc280: imx_ccm: Rearrange clock control module driver (authored by thj).
imx_ccm: Rearrange clock control module driver
Sep 13 2024, 8:20 AM
thj closed D46641: imx_ccm: Rearrange clock control module driver.
Sep 13 2024, 8:20 AM

Sep 11 2024

thj updated the test plan for D46641: imx_ccm: Rearrange clock control module driver.
Sep 11 2024, 1:31 PM
thj requested review of D46642: imx8mp: Add clock tree.
Sep 11 2024, 1:31 PM
thj requested review of D46641: imx_ccm: Rearrange clock control module driver.
Sep 11 2024, 1:26 PM

Sep 6 2024

thj added a reviewer for D46568: gpioc: Fix handling of priv data during open: jhb.
Sep 6 2024, 3:01 PM
thj added a reviewer for D46568: gpioc: Fix handling of priv data during open: markj.
Sep 6 2024, 2:24 PM
thj requested review of D46568: gpioc: Fix handling of priv data during open.
Sep 6 2024, 2:23 PM
thj committed rGe1b1984abb8b: pfctl: Add endpoint-independent test to the list of tests (authored by thj).
pfctl: Add endpoint-independent test to the list of tests
Sep 6 2024, 1:10 PM
thj closed D46563: pfctl: Add endpoint-independent test to the list of tests.
Sep 6 2024, 1:10 PM
thj requested review of D46563: pfctl: Add endpoint-independent test to the list of tests.
Sep 6 2024, 1:07 PM
thj closed D11137: pf: Add support for endpoint independent NAT bindings for UDP.
Sep 6 2024, 12:50 PM
thj committed rG390dc369efaa: pf: Add support for endpoint independent NAT bindings for UDP (authored by thj).
pf: Add support for endpoint independent NAT bindings for UDP
Sep 6 2024, 12:50 PM

Sep 5 2024

thj updated the diff for D11137: pf: Add support for endpoint independent NAT bindings for UDP.
  • Fix white space issues
  • Fix line lengths
  • test: use documentation addresses
  • test: use tcpdump for verifying traffic
Sep 5 2024, 3:43 PM
thj committed rGd8fffc3704a0: imx_gpio: Add gpio compat string for imx8 SOCs (authored by thj).
imx_gpio: Add gpio compat string for imx8 SOCs
Sep 5 2024, 1:55 PM
thj closed D46532: imx_gpio: Add compat string for imx8mp.
Sep 5 2024, 1:55 PM
thj updated the diff for D46532: imx_gpio: Add compat string for imx8mp.

Use imx35-gpio rather than the soc specific compat string

Sep 5 2024, 12:47 PM
thj added a comment to D46532: imx_gpio: Add compat string for imx8mp.

Any idea why it have a different compatible string ?
Is this because only of features that we don't use ?

Sep 5 2024, 8:01 AM

Sep 4 2024

thj added reviewers for D46532: imx_gpio: Add compat string for imx8mp: manu, emaste.
Sep 4 2024, 3:38 PM
thj requested review of D46532: imx_gpio: Add compat string for imx8mp.
Sep 4 2024, 3:38 PM
thj updated the diff for D11137: pf: Add support for endpoint independent NAT bindings for UDP.

Address most of Kp's comments
This adds a pfctl test case

Sep 4 2024, 2:44 PM
thj added inline comments to D11137: pf: Add support for endpoint independent NAT bindings for UDP.
Sep 4 2024, 2:42 PM

Aug 29 2024

thj updated the diff for D11137: pf: Add support for endpoint independent NAT bindings for UDP.

Add a sysctl to control size of the udp mapping allocations

Aug 29 2024, 2:51 PM

Aug 22 2024

thj updated the diff for D11137: pf: Add support for endpoint independent NAT bindings for UDP.

fix bad rebase

Aug 22 2024, 8:53 AM

Aug 19 2024

thj retitled D11137: pf: Add support for endpoint independent NAT bindings for UDP from PF: implement RFC 4787 REQ 1 and 3 (full cone NAT) to pf: Add support for endpoint independent NAT bindings for UDP.
Aug 19 2024, 11:53 AM
thj updated the diff for D11137: pf: Add support for endpoint independent NAT bindings for UDP.
  • Rebase change
  • add pf rule syntax for endpoint-independent
Aug 19 2024, 11:50 AM

Aug 15 2024

thj commandeered D11137: pf: Add support for endpoint independent NAT bindings for UDP.
Aug 15 2024, 1:33 PM

Aug 7 2024

thj added a comment to D45889: stand: Print a warning of the loader is too old.

I really like this change. The latest vm snapshots are triggering the upgrade message, but there are no google results for how to upgrade. Can you point me to the correct way to upgrade and I'll draft a change for the handbook with the upgrade message included.

Aug 7 2024, 8:48 AM

May 1 2024

thj accepted D45041: sysctl: Make sysctl_ctx_free() a bit safer.
May 1 2024, 12:03 PM

Apr 25 2024

thj abandoned D44736: netmap: Add field for carrying packet meta data.

I have a temp fix for this directly in ice and will work with erj@ to have the driver support the vlan ifconfig flags correctly

Apr 25 2024, 8:29 AM

Apr 11 2024

thj added a comment to D44736: netmap: Add field for carrying packet meta data.

Thanks both for the comments, I didn't think this would be the correct approach, but it seemed easier to create a review for how I would like this to work.

Apr 11 2024, 3:57 PM
thj added inline comments to D44736: netmap: Add field for carrying packet meta data.
Apr 11 2024, 8:23 AM

Apr 10 2024

thj requested review of D44736: netmap: Add field for carrying packet meta data.
Apr 10 2024, 2:37 PM

Apr 2 2024

thj abandoned D36860: diff: Import new diff algorithms from libdiff.
Apr 2 2024, 8:00 AM

Mar 27 2024

thj accepted D44302: diff: Integrate libdiff from OpenBSD GoT..
Mar 27 2024, 9:41 AM
thj added a comment to D44302: diff: Integrate libdiff from OpenBSD GoT..

Please fix the man page typo, but otherwise looks good to me

Mar 27 2024, 9:40 AM
thj accepted D44301: libdiff: Improve function prototype detection..
Mar 27 2024, 9:27 AM

Mar 26 2024

thj closed D44371: netmap: Address errors on memory free in netmap_generic.
Mar 26 2024, 9:57 AM
thj committed rG73fdbfb91121: netmap: Address errors on memory free in netmap_generic (authored by thj).
netmap: Address errors on memory free in netmap_generic
Mar 26 2024, 9:57 AM

Mar 25 2024

thj updated the diff for D44371: netmap: Address errors on memory free in netmap_generic.
  • access ext_arg1 via the accessor
Mar 25 2024, 2:37 PM

Mar 21 2024

thj added a comment to D44371: netmap: Address errors on memory free in netmap_generic.

updated

Mar 21 2024, 10:48 AM
thj updated the diff for D44371: netmap: Address errors on memory free in netmap_generic.
  • swap order of arguments for destructor
  • replace an m_freem with m_free
Mar 21 2024, 10:46 AM

Mar 20 2024

thj updated the diff for D44041: lldb lua: Add some helper functions to deal with netinet.
  • Correct copyright statement
  • Move then for if statements onto the same line
Mar 20 2024, 1:59 PM
thj added a comment to D44371: netmap: Address errors on memory free in netmap_generic.

Any additional tests with pkt-gen in TX or RX mode over iflib interfaces and virtio-net ones?
E.g. two VMs/machines connected back to back with one transmitting and the other receiving, to stress test it?
Setting the sys.dev.netmap.admode sysctl to 2 will force emulated netmap even if the interface has native support.

Mar 20 2024, 1:10 PM
thj updated the diff for D44371: netmap: Address errors on memory free in netmap_generic.
  • Add a macro for getting netmap adapter from ext_arg1
Mar 20 2024, 10:45 AM

Mar 19 2024

thj updated the diff for D44371: netmap: Address errors on memory free in netmap_generic.
  • - use SET_MBUF_DESTRUCTOR to set ext_arg1
Mar 19 2024, 1:49 PM

Mar 18 2024

thj updated the diff for D44371: netmap: Address errors on memory free in netmap_generic.
  • - Don't remove the pool lock until we have removed all mbufs
Mar 18 2024, 1:27 PM
thj added inline comments to D44371: netmap: Address errors on memory free in netmap_generic.
Mar 18 2024, 11:46 AM
thj updated the diff for D44371: netmap: Address errors on memory free in netmap_generic.
  • - if the reference has gone after taking the lock don't free the mbuf
Mar 18 2024, 11:44 AM

Mar 15 2024

thj requested review of D44371: netmap: Address errors on memory free in netmap_generic.
Mar 15 2024, 12:00 PM

Feb 26 2024

thj updated the diff for D44041: lldb lua: Add some helper functions to deal with netinet.

Address review comments

Feb 26 2024, 9:52 AM
thj added inline comments to D44041: lldb lua: Add some helper functions to deal with netinet.
Feb 26 2024, 9:49 AM

Feb 23 2024

thj committed rG3db693f7da8a: pf: Correct SPDX identifier (authored by thj).
pf: Correct SPDX identifier
Feb 23 2024, 3:59 PM
thj requested review of D44041: lldb lua: Add some helper functions to deal with netinet.
Feb 23 2024, 2:18 PM