Page MenuHomeFreeBSD

pouria (Pouria Mousavizadeh Tehrani)
Pouria

Projects

User Details

User Since
Aug 26 2022, 6:24 PM (216 w, 3 d)

Recent Activity

Yesterday

pouria accepted D60869: ipfw: hold sleepable "upper half lock" for periodic state expiry.

LGTM

Mon, Oct 19, 6:18 PM

Sun, Oct 18

pouria closed D60166: Status/2026Q3: Pouria reports.
Sun, Oct 18, 9:17 PM
pouria committed R9:27cbba49b7b5: Status/2026Q3: Pouria reports (authored by pouria).
Status/2026Q3: Pouria reports
Sun, Oct 18, 9:17 PM

Sat, Oct 17

pouria resigned from D60804: if: Wait for the network epoch after if_dead() on detach.

This function is quite fragile and sensitive.
The more time we spend fixing issues, the more fragile it seems to become.

Sat, Oct 17, 5:00 PM

Wed, Oct 14

pouria added a comment to D60736: mbuf: remove remnants of caddr_t.

We have developers that are twice younger than obsoletion of this type.

Looks like I'm not qualified to approve this one. 🚶

Wed, Oct 14, 10:04 PM

Tue, Oct 13

pouria committed rG84f790e5b6cc: ip_encap: Recompute flowid for packets received over tunnel (authored by pouria).
ip_encap: Recompute flowid for packets received over tunnel
Tue, Oct 13, 9:02 PM
pouria closed D60552: ip_encap: Recompute flowid for packets received over tunnel.
Tue, Oct 13, 9:01 PM
pouria added a comment to D60552: ip_encap: Recompute flowid for packets received over tunnel.

@gallatin
So, I can update this revision to:

Tue, Oct 13, 7:34 PM
pouria accepted D60520: tests: Add SLAAC interface identifier cases to ndp.sh.
Tue, Oct 13, 7:01 PM
pouria planned changes to D59849: gre(4): Add full support for gre key.

@zlei All the points you made are valid. I will work on it.

Tue, Oct 13, 11:04 AM
pouria accepted D59450: loopback: set MTU to IF_MAXMTU.
Tue, Oct 13, 10:48 AM
pouria added a comment to D60659: linux: Allow connect() on DGRAM sockets with port 0.

I also faced this problem yesterday.

Tue, Oct 13, 10:45 AM
pouria added a comment to D60685: ipfw: cleanup SYSINIT(9)s.

I'm not expert enough to approve, but this LGTM.

Tue, Oct 13, 10:02 AM
pouria added a comment to D60689: net*: use inlined m_pullup().

I also reviewed the code under sys/netinet6.

Tue, Oct 13, 9:57 AM
pouria accepted D60689: net*: use inlined m_pullup().

I've reviewed the code under sys/net/

Tue, Oct 13, 9:27 AM
pouria accepted D60688: mbuf: make m_pullup() an inline over most expected case.
Tue, Oct 13, 9:16 AM

Sun, Oct 11

pouria added a comment to D60552: ip_encap: Recompute flowid for packets received over tunnel.

I removed the m_len check because now the rss_mbuf_software_hash_v[46] function performs it.

Sun, Oct 11, 4:21 PM
pouria updated the diff for D60552: ip_encap: Recompute flowid for packets received over tunnel.

Use rss_mbuf_software_hash_v* instead. Tested in production and it PERFECTLY works. @gallatin how it looks now?

Sun, Oct 11, 4:17 PM
pouria added inline comments to D60552: ip_encap: Recompute flowid for packets received over tunnel.
Sun, Oct 11, 8:05 AM

Sat, Oct 10

pouria added a comment to D60589: netgraph/ng_ksocket: Enter epoch on NG_SEND_DATA_ONLY.

This is correct fix, thanks! The commit message should be like this:

The work queued by ng_send_fn() is intentionally processed outside of the epoch in ngthread().  It is ng_ksocket's responsibility to enter epoch if it decides to send data from such work.

Nothing to do with ng_ppp.

Sat, Oct 10, 7:16 PM
pouria committed rG67be955f6bd5: netgraph/ng_ksocket: Enter epoch on NG_SEND_DATA_ONLY (authored by pouria).
netgraph/ng_ksocket: Enter epoch on NG_SEND_DATA_ONLY
Sat, Oct 10, 7:14 PM
pouria closed D60589: netgraph/ng_ksocket: Enter epoch on NG_SEND_DATA_ONLY.
Sat, Oct 10, 7:14 PM
pouria added a comment to D59849: gre(4): Add full support for gre key.

This looks good to me. I'm glad we finally have this heh. :-)

Sat, Oct 10, 5:17 PM
pouria added inline comments to D60552: ip_encap: Recompute flowid for packets received over tunnel.
Sat, Oct 10, 4:43 PM
pouria requested review of D60589: netgraph/ng_ksocket: Enter epoch on NG_SEND_DATA_ONLY.
Sat, Oct 10, 4:28 PM
pouria committed rGf877ace81633: if_gre(4): Cleanup unused RSS macros (authored by pouria).
if_gre(4): Cleanup unused RSS macros
Sat, Oct 10, 3:11 PM
pouria added a reviewer for D59849: gre(4): Add full support for gre key: adrian.
Sat, Oct 10, 3:11 PM
pouria closed D60556: if_gre(4): Cleanup unused RSS macros.
Sat, Oct 10, 3:11 PM
pouria added inline comments to D60552: ip_encap: Recompute flowid for packets received over tunnel.
Sat, Oct 10, 10:00 AM
pouria added a reviewer for D60556: if_gre(4): Cleanup unused RSS macros: markj.
Sat, Oct 10, 9:42 AM
pouria added a reviewer for D60552: ip_encap: Recompute flowid for packets received over tunnel: markj.
Sat, Oct 10, 9:42 AM

Fri, Oct 9

pouria added inline comments to D60552: ip_encap: Recompute flowid for packets received over tunnel.
Fri, Oct 9, 9:40 PM
pouria requested review of D60556: if_gre(4): Cleanup unused RSS macros.
Fri, Oct 9, 9:39 PM
pouria added inline comments to D60552: ip_encap: Recompute flowid for packets received over tunnel.
Fri, Oct 9, 9:29 PM
pouria updated the diff for D60552: ip_encap: Recompute flowid for packets received over tunnel.

Address @gallatin comments. Thank you so much, it looks so much better now.

Fri, Oct 9, 9:28 PM
pouria requested review of D60552: ip_encap: Recompute flowid for packets received over tunnel.
Fri, Oct 9, 8:29 PM
pouria added a comment to D59387: net/if: Fix ifa memory leak during vnet removal.

I'm not sure how to make this symmetric, I need help (@glebius @markj).
Now, I've a panic because of this leak.
Steps to reproduce:

kldload ipsec
jail -c name=repro vnet persist
ifconfig -j repro ipsec0 create inet6 fd00::1/64
jail -r repro
Fri, Oct 9, 2:42 PM

Thu, Oct 8

pouria committed rG3f5bbee131b4: route/fib_algo: Respect immediate_sync in fd_ref_nhop (authored by pouria).
route/fib_algo: Respect immediate_sync in fd_ref_nhop
Thu, Oct 8, 8:12 PM
pouria committed rG12e25072a868: route/fib_algo: Fix FIB_ALGO without ROUTE_MPATH option (authored by pouria).
route/fib_algo: Fix FIB_ALGO without ROUTE_MPATH option
Thu, Oct 8, 3:10 PM

Tue, Oct 6

pouria accepted D60389: linux: Initialize per-VNET state earlier.

I was trying to do the same thing with PROTO_IF + SI_ORDER_FIRST on VNET_SYSUNINIT. But this version looks better to me. of course it depends on if_epair.

Tue, Oct 6, 3:06 PM
pouria added a comment to D60388: epair: Make vnet_epair_uninit() run earlier.

I tried that once, there was a problem with it, but I don't remember anymore...
But that was about 5 months ago, it might be ok now.

Tue, Oct 6, 3:00 PM
pouria accepted D60353: routing: fix rtentry use-after-free in multipath route append.
Tue, Oct 6, 2:51 PM
pouria accepted D60348: tests/netinet6: fix ndp_del_gu_success flakiness.
Tue, Oct 6, 2:07 PM

Fri, Oct 2

pouria committed rG891bda143f6b: route/fib_algo: Fix nexthop index collision across families (authored by pouria).
route/fib_algo: Fix nexthop index collision across families
Fri, Oct 2, 5:23 PM
pouria accepted D60247: netinet: Deprecate OSIOCAIFADDR and OSIOCAIFADDR_IN6.
Fri, Oct 2, 1:43 PM

Thu, Oct 1

pouria added inline comments to D60184: netinet6: Fix the OSIOCAIFADDR_IN6 handler.
Thu, Oct 1, 3:01 PM
pouria added inline comments to D60184: netinet6: Fix the OSIOCAIFADDR_IN6 handler.
Thu, Oct 1, 2:47 PM
pouria resigned from D59850: bridgestp: Defer media queries outside the network epoch.

Unfortunately, I'm not expert on bridge driver.

Thu, Oct 1, 2:35 PM
pouria updated subscribers of D51688: bhyve: add checksum offloading for tap.
Thu, Oct 1, 2:29 PM
pouria accepted D60184: netinet6: Fix the OSIOCAIFADDR_IN6 handler.
Thu, Oct 1, 2:28 PM
pouria updated the diff for D60166: Status/2026Q3: Pouria reports.

Address @gperciva_tarsnap.com comments.

Thu, Oct 1, 12:20 PM
pouria committed rGb69c0082426d: nd6: Fix regeneration of temp addresses in detached state (authored by pouria).
nd6: Fix regeneration of temp addresses in detached state
Thu, Oct 1, 11:05 AM

Wed, Sep 30

pouria accepted D60143: tcp: Preserve borrowed ICMPv6 error mbufs.
Wed, Sep 30, 8:21 AM
pouria added inline comments to D60166: Status/2026Q3: Pouria reports.
Wed, Sep 30, 7:50 AM
pouria requested review of D60166: Status/2026Q3: Pouria reports.
Wed, Sep 30, 7:40 AM
pouria accepted D60158: routing: restore opt_route.h in route.c, fib_algo teardown was compiled out.
Wed, Sep 30, 6:54 AM

Mon, Sep 28

pouria added a comment to D48646: Virtualise if_vxlan.

Could the visibility or read/write access of the VXLAN sysctls be limited to the vnet jail that currently contains the interface?

Mon, Sep 28, 4:04 PM
pouria committed rG61f98a98250d: nd6: Fix regeneration of temp addresses in detached state (authored by pouria).
nd6: Fix regeneration of temp addresses in detached state
Mon, Sep 28, 3:48 PM
pouria closed D60051: nd6: Fix regeneration of temp addresses in detached state.
Mon, Sep 28, 3:47 PM

Sun, Sep 27

pouria added a comment to D60051: nd6: Fix regeneration of temp addresses in detached state.

For a reason unknown to me, perhaps a temporary failure of Bugzilla, I can't comment on the PR directly, so let me note it here.

I cannot reproduce this failure described in bug 298533 when the network equipment is configured correctly and properly withdraws the old prefix. If the problem occurs after physically moving the interface to a different IPv6 network, the interface should be reconfigured as part of that network change. Without such reconfiguration or a proper prefix withdrawal from the router, I don't think this particular scenario can reasonably be considered an operating system failure.

Sun, Sep 27, 7:44 PM
pouria added inline comments to D60051: nd6: Fix regeneration of temp addresses in detached state.
Sun, Sep 27, 4:52 AM
pouria updated the diff for D60051: nd6: Fix regeneration of temp addresses in detached state.

Address @markj comments.

Sun, Sep 27, 4:52 AM

Sat, Sep 26

pouria published D60051: nd6: Fix regeneration of temp addresses in detached state for review.
Sat, Sep 26, 8:53 PM

Fri, Sep 25

pouria committed rG287d60af1812: compat/linux: Fix IFLA_IFNAME translation for multi-message netlink (authored by pouria).
compat/linux: Fix IFLA_IFNAME translation for multi-message netlink
Fri, Sep 25, 5:07 PM
pouria closed D59595: compat/linux: fix IFLA_IFNAME translation for multi-message netlink.
Fri, Sep 25, 5:06 PM

Wed, Sep 23

pouria added a comment to D59595: compat/linux: fix IFLA_IFNAME translation for multi-message netlink.

friendly ping @glebius

Wed, Sep 23, 7:07 PM

Tue, Sep 22

pouria committed rG3d030136ad19: route/fib_algo: Respect immediate_sync in fd_ref_nhop (authored by pouria).
route/fib_algo: Respect immediate_sync in fd_ref_nhop
Tue, Sep 22, 8:03 PM
pouria committed rG50eae683fab8: route/fib_algo: Remove redundant zeroing of fd_af (authored by pouria).
route/fib_algo: Remove redundant zeroing of fd_af
Tue, Sep 22, 7:21 PM
pouria committed rG8b66c7ba04f2: MAINTAINERS: Add myself to routing subsystem (authored by pouria).
MAINTAINERS: Add myself to routing subsystem
Tue, Sep 22, 5:22 PM

Sun, Sep 20

pouria accepted D59693: Fix ARIN -> RIPE referrals in whois(1).

LGTM

Sun, Sep 20, 5:03 PM

Sep 20 2026

pouria added a comment to D58294: netlink: Add RTA_PREFSRC support.

What happened to the docs?

Sep 20 2026, 4:00 PM
pouria added inline comments to D59693: Fix ARIN -> RIPE referrals in whois(1).
Sep 20 2026, 12:58 PM
pouria added inline comments to D59693: Fix ARIN -> RIPE referrals in whois(1).
Sep 20 2026, 6:19 AM
pouria edited reviewers for D59849: gre(4): Add full support for gre key, added: ae; removed: adrian.
Sep 20 2026, 6:03 AM
pouria added a comment to D48646: Virtualise if_vxlan.

@zlei: Are you still working on this?
It would be nice to have vnet support for this driver.
I could help if you don't have time.

Sep 20 2026, 6:01 AM

Sep 19 2026

pouria added a comment to D59849: gre(4): Add full support for gre key.

Since I didn't touch the hash table logic. the proposed change is quite simple.
most of the logic is around net.link.gre.key_fallback for backward compatibility.
I'd be glad to remove the fallback logic, but beside our own compatibility break, Linux can be configured with separate inbound/outbound key.
So I decided to keep the fallback for now.

Sep 19 2026, 8:42 PM
pouria published D59849: gre(4): Add full support for gre key for review.

I really want to keep gre simple and use my own geneve driver. but censorship in my country is not geneve friendly...
Tests are similar to each other, but they're important because we separate ipv4 and ipv6 logic.

Sep 19 2026, 8:29 PM
pouria added a comment to D59693: Fix ARIN -> RIPE referrals in whois(1).

We should migrate to rfc9083 sooner or later...
Also please rebase it to main. I can't test it.

Sep 19 2026, 7:53 PM
pouria updated subscribers of D32920: IPv6: rc boot time improvements.

This looks good to me. Definitely better than blindly sleeping on dad_count.
But I'm not an expert in shell scripting.
Let me ask and I'll add more reviewers for scripting part.

Sep 19 2026, 1:36 PM

Sep 18 2026

pouria committed rG633438224304: route/fib_algo: Fix nexthop index collision across families (authored by pouria).
route/fib_algo: Fix nexthop index collision across families
Sep 18 2026, 10:47 AM
pouria closed D59552: route/fib_algo: Fix nexthop index collision across families.
Sep 18 2026, 10:47 AM
pouria added a comment to D32920: IPv6: rc boot time improvements.

I will take a look

Sep 18 2026, 8:55 AM

Sep 17 2026

pouria updated the diff for D59552: route/fib_algo: Fix nexthop index collision across families.

Address @markj comment. You're right, sorry about that

Sep 17 2026, 5:14 PM
pouria added inline comments to D59552: route/fib_algo: Fix nexthop index collision across families.
Sep 17 2026, 4:33 PM
pouria updated the diff for D59552: route/fib_algo: Fix nexthop index collision across families.

Address @markj comments.

Sep 17 2026, 4:32 PM

Sep 16 2026

pouria added a comment to D59552: route/fib_algo: Fix nexthop index collision across families.

I think I should explain what happens here, I'll start from relationships between routing modules:

Sep 16 2026, 8:10 PM
pouria added inline comments to D59387: net/if: Fix ifa memory leak during vnet removal.
Sep 16 2026, 8:19 AM

Sep 15 2026

pouria added inline comments to D59595: compat/linux: fix IFLA_IFNAME translation for multi-message netlink.
Sep 15 2026, 9:17 AM
pouria updated the diff for D59595: compat/linux: fix IFLA_IFNAME translation for multi-message netlink.

Use only idx for ifname lookup. @glebius done.

Sep 15 2026, 9:17 AM

Sep 12 2026

pouria committed rGb485d70d4eb2: dhclient(8): Fix dhcpack comment (authored by pouria).
dhclient(8): Fix dhcpack comment
Sep 12 2026, 4:40 PM
pouria committed rG37fd3fcaaf0e: dhclient(8): Add support for IPv6-Only option (RFC 8925) (authored by pouria).
dhclient(8): Add support for IPv6-Only option (RFC 8925)
Sep 12 2026, 4:28 PM
pouria closed D56637: dhclient(8): Add support for IPv6-Only option (RFC 8925).
Sep 12 2026, 4:28 PM
pouria updated the diff for D56637: dhclient(8): Add support for IPv6-Only option (RFC 8925).

Style

Sep 12 2026, 4:13 PM
pouria updated the diff for D56637: dhclient(8): Add support for IPv6-Only option (RFC 8925).

Style

Sep 12 2026, 3:40 PM
pouria updated the diff for D56637: dhclient(8): Add support for IPv6-Only option (RFC 8925).
  • Unregister ignored options from default PRL. @kfv done.
Sep 12 2026, 3:33 PM

Sep 11 2026

pouria published D59595: compat/linux: fix IFLA_IFNAME translation for multi-message netlink for review.
Sep 11 2026, 6:16 PM
pouria updated the diff for D56637: dhclient(8): Add support for IPv6-Only option (RFC 8925).
  • Disassociate the ip address on release.
Sep 11 2026, 11:44 AM
pouria updated the diff for D56637: dhclient(8): Add support for IPv6-Only option (RFC 8925).
  • Implement the optional DHCPRELEASE part of the RFC: "It also MAY send a DHCPRELEASE message."
  • Respect "ignore ipv6only" in dhclient.conf
  • Free snl allocation
  • cancel other timers with respect to INIT-REBOOT state
Sep 11 2026, 11:21 AM
pouria added a comment to D59567: icmp: Limit routing table updates to the FIB of the redirect.

Not sure but it might help with PR292319

Sep 11 2026, 8:34 AM
pouria added a comment to D53742: ip_ecn: don't touch the DSCP bits and flow_id.

maybe something like this; I suppose if this is after all the includes, it's scoped only within this source file.

#undef IPV6_ECN
#define IPV6_ECN(ipv6_flow) ((ntohl(ip6_flow) >> IPV6_FLOWLABEL_LEN) & 0x03)

conversely, the setting of the ECN can be done again with a macro override in the subsequent function.
Gleb may also have some input on this kinds of shenanigans; with the macro I feel more people would more readly understand what is going on here.

Sep 11 2026, 8:21 AM