Page MenuHomeFreeBSD
Feed Advanced Search

Mar 7 2019

bz added a comment to D19488: Enhance IPv6 autoconf startup scripts.
In D19488#417164, @hrs wrote:

For (2), I think the old version unconditionally runs rtsol (w/o "d") when rtsold_enable="NO", and does not when rtsold_enable="YES" because rtsold (w/ "d") will be invoked later by rc.d/rtsold should handle it. In short, the condition which determines if rtsol is invoked or not depends only on "accept_rtadv" flag. Isn't it enough?

Mar 7 2019, 10:36 AM
bz added a comment to D19487: EXPERIMENTAL: clear IPv6-Only flag on interface if link-state goes down.
In D19487#417158, @hrs wrote:

Looks good to me. We might want to put an INFO log line when ND6_IFF_IPV6_ONLY flag is changed by receiving RA or link-down event so that the sysadmin can know what is going on.

Mar 7 2019, 10:24 AM
bz added a comment to D19487: EXPERIMENTAL: clear IPv6-Only flag on interface if link-state goes down.
In D19487#417165, @hrs wrote:

One more comment: immediate change of the flag just after a link-down event may be problematic when the link is unstable. In such a situation, IPv4 packets can be allowed after a link-up and before another RA arrives even if the all of advertising routers keep sending ipv6only flag. We can assume that the interface should be configured to accept RA when the machine moves from a network to another, so sending a RS after a link-up then clearing ND6_IFF_IPV6_ONLY only when no RA arrives in a few seconds looks a more reasonable behavior. If at least one RA arrives after the RS, the normal handling of ipv6only flag works.

Mar 7 2019, 10:21 AM
bz added a comment to D19490: Improve ARP logging.

Should add: X-MFC: never.

Mar 7 2019, 12:28 AM
bz created D19490: Improve ARP logging.
Mar 7 2019, 12:24 AM

Mar 6 2019

bz created D19488: Enhance IPv6 autoconf startup scripts.
Mar 6 2019, 11:56 PM
bz created D19487: EXPERIMENTAL: clear IPv6-Only flag on interface if link-state goes down.
Mar 6 2019, 11:41 PM
bz committed rS344859: Update for IETF draft-ietf-6man-ipv6only-flag..
Update for IETF draft-ietf-6man-ipv6only-flag.
Mar 6 2019, 11:32 PM

Mar 5 2019

bz accepted D19248: tun: VIMAGE fix for if_tun cloner.

Thanks for updating the description; The repro scenario really should be a test case. Accept for the general idea, not for having checked the code in detail.

Mar 5 2019, 9:34 AM

Mar 4 2019

bz added a comment to D19248: tun: VIMAGE fix for if_tun cloner.

I hate manually virtualised cloners but people changed if_clone.c logic under the virtualised cloner infrastructure and I gave up on this years ago. Sorry I am not really helpful here currently. Also I think it needs more words describing the problem and part of the solution as I cannot imagine this only being a problem of tun(4) left but probably another few others?

Mar 4 2019, 7:04 PM

Mar 3 2019

bz closed D19418: Fix compilation WITHOUT_{INET,INET6}_SUPPORT or both..
Mar 3 2019, 10:00 AM
bz committed rS344740: Fix compilation of world with WITHOUT_{INET,INET6}_SUPPORT or both set..
Fix compilation of world with WITHOUT_{INET,INET6}_SUPPORT or both set.
Mar 3 2019, 10:00 AM

Mar 1 2019

bz added a comment to D19418: Fix compilation WITHOUT_{INET,INET6}_SUPPORT or both..
Mar 1 2019, 11:44 PM
bz accepted D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

The user space part seems fine to me now; I assume we'll see another review for the kernel parts?

Mar 1 2019, 2:35 PM
bz committed rS344700: Add ushort and ulong to linux/types.h..
Add ushort and ulong to linux/types.h.
Mar 1 2019, 2:33 PM
bz closed D19405: Add ushort and ulong to linux/types.h.
Mar 1 2019, 2:33 PM
bz created D19418: Fix compilation WITHOUT_{INET,INET6}_SUPPORT or both..
Mar 1 2019, 2:30 PM

Feb 28 2019

bz created D19405: Add ushort and ulong to linux/types.h.
Feb 28 2019, 1:44 PM

Feb 27 2019

bz added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.

I agree with John that we should do everything we can to ...

Feb 27 2019, 7:06 AM

Feb 24 2019

bz committed rS344504: Make arp code return (more) errors..
Make arp code return (more) errors.
Feb 24 2019, 10:50 PM
bz closed D18904: Make arp return errors.
Feb 24 2019, 10:50 PM
bz added a comment to D19316: IPV4 Experimental address space usage and cleanup of code not using IN_foo.

I'm not actually sure of the official status of Class E, although I suspect it is still experimental/not for production use.

Feb 24 2019, 5:54 PM
bz added inline comments to D18904: Make arp return errors.
Feb 24 2019, 1:59 PM
bz updated the diff for D18904: Make arp return errors.

Rename arprequest_int() to arprequest_internal().

Feb 24 2019, 12:28 PM
bz requested changes to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.
Feb 24 2019, 11:40 AM

Feb 23 2019

bz added a comment to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

@rgrimes inside a jail "localhost", a bind to, e.g., ::1, might end up on an IPv6 address of the jail, normally the first one, and not on ::1 hence it won't be "localhost". It's not changing what localhost is (e.g., in /etc/hosts), it's the kernel which changes the address under the hood during the syscalls (connect being another one).

Feb 23 2019, 1:28 PM
bz added a comment to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

I like this one a lot more already. Left a few minor comments which might help.

Feb 23 2019, 1:25 PM
bz accepted D19289: Allow to build ifconfig(8) without wireless support.

Looks good to me

Feb 23 2019, 12:12 PM

Feb 20 2019

bz added a comment to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

I think doing DNS things for these is not a good thing. Especially given inside an IP jail a "localhost" will give you different results.

Feb 20 2019, 6:52 PM
bz added a comment to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

Ok, so one thing at a time:

Feb 20 2019, 6:42 PM
bz added inline comments to D19254: Avoid dereferencing a NULL pointer when TCP_REASS_LOGGING is enabled.
Feb 20 2019, 6:30 PM

Feb 18 2019

bz added a comment to D19218: fix nfsuserd to find a mapped "localhost" ip address and to use INET6 when INET isn't available.

I've not seen what you two said and done since I read through after you put it up; I'll have some comments but I'll be mostly afk this; I'll try to get to this Tuesday afternoon/evening. It's flagged important and open in a browser already.

Feb 18 2019, 6:37 PM

Jan 26 2019

bz committed rS343477: Fix logic errors in iwm_pcie_load_firmware_chunk introduced in r314065..
Fix logic errors in iwm_pcie_load_firmware_chunk introduced in r314065.
Jan 26 2019, 5:52 PM
bz added a comment to D18904: Make arp return errors.

I know the initial emails were eaten by phabricator. I am still hoping someone would tell me why this is a really bad idea... or not. @karels @gnn ?

Jan 26 2019, 2:57 PM

Jan 25 2019

bz accepted D18960: Patch to MFC TCP reassembly rewrite to stable/11.

Given the discussions in D18968 I think you'd be safe as I'd assume we don't otherwise have TCP_REASS_LOGGING in 11, do we?
I guess rrs may or may not give you a more technical feedback.

Jan 25 2019, 9:18 PM
bz added a comment to D18960: Patch to MFC TCP reassembly rewrite to stable/11.

Ok, your prepared change looks good from a merge-to-stable11 perspective.

Jan 25 2019, 6:47 PM
bz requested changes to D18951: New pfil(9).

Can we also get rid of the special case pfil_ipfw with this (before/after this change)?
Also, while I like it can we break out certain changes which do not have to be part of the initial framework change, e.g., the Mellanox driver change seems to be self-contained (as others possibly are). Helps to review and understand individual parts.

Jan 25 2019, 7:16 AM

Jan 24 2019

bz accepted D18948: [bhnd] remove unused sc variable.

Looks good.

Jan 24 2019, 9:16 PM

Jan 23 2019

bz accepted D18906: Fix an LLE lookup race..

I am accepting it as it seems all correct. Given you said you want an EN for this as well, you might consider to split it up into two parts so that only the real functional fix would later be part of the EN.

Jan 23 2019, 9:18 PM
bz accepted D18887: Fix refcounting leaks in IPv6 MLD code leading to loss of IPv6 connectivity.

You may want to consider forwarding this to re@ after commit and suggest once merged to stable/12 there should be a EN about this; probably together with markj's D18906.

Jan 23 2019, 9:10 PM
bz added a reviewer for D18906: Fix an LLE lookup race.: bz.
Jan 23 2019, 6:09 PM

Jan 22 2019

bz added a reviewer for D18887: Fix refcounting leaks in IPv6 MLD code leading to loss of IPv6 connectivity: bz.
Jan 22 2019, 5:07 PM
bz added a comment to D18887: Fix refcounting leaks in IPv6 MLD code leading to loss of IPv6 connectivity.

Most of the "cosmetic" changes can be ignored if you want. The only real one is the one I marked with XXX; if the current code is correct I think it would deserve a comment on why that is. I couldn't figure it out quickly.

Jan 22 2019, 5:07 PM

Jan 20 2019

bz created D18904: Make arp return errors.
Jan 20 2019, 10:49 AM

Jan 18 2019

bz added a comment to D18887: Fix refcounting leaks in IPv6 MLD code leading to loss of IPv6 connectivity.

(a) there's one or two lines of whitespace changes in there; can we get them sorted separately?
(b) how much of this has become "reverting" changes and how much is actual change now? I wonder if, for the sake of clarity and history as well as for easier review, could be split into two parts? Is that feasible?

Jan 18 2019, 12:56 PM

Jan 15 2019

bz committed rS343065: With the sync from Dragonfly BSD in r318216 a bug slipped in (also still present.
With the sync from Dragonfly BSD in r318216 a bug slipped in (also still present
Jan 15 2019, 10:32 PM

Jan 11 2019

bz added a comment to D17521: Correct accounting when dropping fragment queues.

Hit enter too early; you might want to be slightly more verbose in the commit message as to why this change is done.

Jan 11 2019, 10:50 PM
bz accepted D17521: Correct accounting when dropping fragment queues.

Not sure where the documentation will go but netstat -s -p ip6 says "fragments" not "packets" so this change sees correct.

Jan 11 2019, 10:50 PM

Jan 7 2019

bz added a comment to D5165: [patch] dev/bwn suppressing "bwn0: unsupported rate 0" console messages.

Ok looks like bwi doesn't need.

Jan 7 2019, 4:56 PM
bz accepted D18769: Fix broken IPv6 scope ID checks in outgoing direction.

I like this version better than the one before. Thanks! For as much as I can say it looks OK. I haven't tested it.

Jan 7 2019, 3:52 PM
bz added a comment to D5165: [patch] dev/bwn suppressing "bwn0: unsupported rate 0" console messages.

Depending on the outcome here, it look like bwi will need similar treatment?

Jan 7 2019, 3:20 PM
bz added a comment to D18769: Fix broken IPv6 scope ID checks in outgoing direction.

Can you please fold some of the problem description of "why?" this change is needed in the proposed commit message; having some more information available when scrolling through source code management system logs is extremely helpful.

Jan 7 2019, 1:53 PM

Dec 23 2018

bz added inline comments to D18630: gai_strerror() - Update string error messages according to RFC 3493.
Dec 23 2018, 11:12 AM

Dec 15 2018

bz accepted D18505: Remove the timed daemon..

Ok, let's try this..

Dec 15 2018, 9:01 PM
bz requested changes to D18505: Remove the timed daemon..

Sorry, a tiny tinsy bit more.

Dec 15 2018, 12:14 PM

Dec 14 2018

bz added a comment to D18505: Remove the timed daemon..

Also please re-gen src.conf(5)

Dec 14 2018, 8:32 PM
bz added a comment to D18505: Remove the timed daemon..

I suggest a grep -ir timed over the src tree (ignore the .svn directory) is a good way of seeing or finding more.

Dec 14 2018, 8:31 PM
bz requested changes to D18505: Remove the timed daemon..

I think you are still not removing /etc/rc.d/timed using ObsoleteFiles and also libexec/rc/rc.d/timed (I assume is where it's coming from given the Makefile change) is still in SVN.

Dec 14 2018, 8:31 PM
bz accepted D18443: Fix bugs in plugable CC algorithm and siftr sysctls..
Dec 14 2018, 8:22 PM

Dec 13 2018

bz added a reviewer for D18443: Fix bugs in plugable CC algorithm and siftr sysctls.: bz.

I volunteered to look at this to get the transport unblocked. Can do tomorrow together in case I'd have a question.

Dec 13 2018, 5:26 PM

Dec 11 2018

bz committed rS341832: Remove a dead file. CVS was removed in r251794..
Remove a dead file. CVS was removed in r251794.
Dec 11 2018, 9:16 PM
bz requested changes to D18505: Remove the timed daemon..

Check libexec/rc/rc.d/Makefile:.if ${MK_TIMED} != "no"
Check tools/build/mk/OptionalObsoleteFiles.inc:.if ${MK_TIMED} == no
rm tools/build/options/WITHOUT_TIMED (and re-gen src.conf)

Dec 11 2018, 9:05 PM

Dec 6 2018

bz added a comment to D18420: add a method to defer destruction of if_softc to if_destroy.
In D18420#392922, @ae wrote:

I think such method can be useful. Do you plan to merge it?

Dec 6 2018, 4:37 PM

Dec 3 2018

bz requested changes to D18420: add a method to defer destruction of if_softc to if_destroy.

Sorry but my understanding is that this could possibly free the softc even before lagg_clone_destroy() has finished, couldn't it?

Dec 3 2018, 4:14 PM

Nov 29 2018

bz accepted D18366: Limit option_len for the TCP_CCALGOOPT option.
Nov 29 2018, 5:22 PM

Nov 27 2018

bz accepted D18338: Fix possible panic during ifnet detach in rtsock .
Nov 27 2018, 12:06 AM

Nov 26 2018

bz accepted D18340: Do not install GNU ld if lld is /usr/bin/ld.
Nov 26 2018, 3:30 PM
bz added inline comments to D18338: Fix possible panic during ifnet detach in rtsock .
Nov 26 2018, 2:14 PM

Nov 24 2018

bz added a comment to D12467: Add sdio(4) peripheral device.

@imp could you please comment on your architectural views (or wish-list) while there is still time? Otherwise I might have to sort it out after the facts; I am expecting to be at a point when I need to make a driver talk to some SDIO in about a week and that means I'll work on any middle-glue-code I'll see fit.

Nov 24 2018, 3:52 PM

Nov 17 2018

bz committed rS340494: Improve the comment for arpresolve_full() in if_ether.c..
Improve the comment for arpresolve_full() in if_ether.c.
Nov 17 2018, 4:13 PM
bz committed rS340493: Retire arpresolve_addr(), which is not used anywhere, from if_ether.c..
Retire arpresolve_addr(), which is not used anywhere, from if_ether.c.
Nov 17 2018, 4:08 PM

Nov 15 2018

bz accepted D2255: Fix DAD callout locking..

I'll trust you to get the assertion right; sounds good to me.

Nov 15 2018, 10:48 PM
bz accepted D1715: Sysctl description for dad_count..
Nov 15 2018, 9:55 PM
bz added inline comments to D2255: Fix DAD callout locking..
Nov 15 2018, 9:52 PM
bz added a comment to D12467: Add sdio(4) peripheral device.
In D12467#277167, @imp wrote:
Nov 15 2018, 4:01 PM

Nov 12 2018

bz committed rS340369: MFC r340251:.
MFC r340251:
Nov 12 2018, 4:44 PM
bz committed rS340367: MFC r340251:.
MFC r340251:
Nov 12 2018, 4:37 PM
bz accepted D17777: Allow set ether/vlan PCP operation from the VNET jails..
Nov 12 2018, 3:17 PM

Nov 9 2018

bz resigned from D17922: More IPv4 fragment checks.

Sorry, getting IPv4 fragments into my head is absolutely not a good idea.

Nov 9 2018, 5:41 PM
bz resigned from D17914: Check for an overly large fragment..

Sorry; getting IPv4 fragments into my head is not a good idea.

Nov 9 2018, 5:39 PM

Nov 8 2018

bz added inline comments to D17898: in6_ifattach_linklocal: handle immediate removal of the new LLA.
Nov 8 2018, 7:06 PM
bz accepted D17909: Avoid buffer underwrite in icmp_error.
Nov 8 2018, 5:19 PM
bz added a comment to D17909: Avoid buffer underwrite in icmp_error.

Can you please site the Apple CVE and possibly the original writeup instead of a (random) reddit thing?

Nov 8 2018, 4:52 PM
bz committed rS340251: Update rum(4) and run(4) man pages to reflect that newer versions.
Update rum(4) and run(4) man pages to reflect that newer versions
Nov 8 2018, 2:46 PM
bz requested changes to D17898: in6_ifattach_linklocal: handle immediate removal of the new LLA.

To me this change seems wrong. The only caller for this function is exactly for the situation when the link-local address is missing.
If we are in the progress of "configuring" the interface and someone is already de-configuring it to me that sounds like a concurrency problem elsewhere.
This entire function seems to be based on the idea that there's a lock held around it and it's the only actor (which might very well still be coming from &Giant days of FreeBSD 4).

Nov 8 2018, 12:55 PM

Nov 4 2018

bz committed rS340109: MFC r340009:.
MFC r340009:
Nov 4 2018, 6:25 AM

Nov 3 2018

bz committed rS340098: Update the "flag" for draft-ietf-6man-ipv6only-flag..
Update the "flag" for draft-ietf-6man-ipv6only-flag.
Nov 3 2018, 6:04 PM

Nov 2 2018

bz committed rS340058: MFC r337904:.
MFC r337904:
Nov 2 2018, 3:03 PM
bz committed rS340056: MFC r330795:.
MFC r330795:
Nov 2 2018, 3:00 PM
bz committed rS340054: MFC r339931,r339933.
MFC r339931,r339933
Nov 2 2018, 2:15 PM
bz committed rS340053: MFC r339431:.
MFC r339431:
Nov 2 2018, 2:13 PM
bz committed rS340052: MFC r339407:.
MFC r339407:
Nov 2 2018, 2:10 PM
bz committed rS340051: MFC r339930:.
MFC r339930:
Nov 2 2018, 2:07 PM
bz abandoned D17512: Fix dpcpu and vnet panics with complex types at the end of the section.

See PR 230857 for details.

Nov 2 2018, 1:56 PM

Nov 1 2018

bz committed rS340009: carpstats are the last virtualised variable in the file and end up at the.
carpstats are the last virtualised variable in the file and end up at the
Nov 1 2018, 5:26 PM
bz added a comment to D17787: While debugging some epoch related races at Netflix, we discoveredfew non fundamental, but annoying issues with epoch.First, the inlining makes it difficult to profile and trace epoch.At the same time, inlining doesn't effectively happens. In....

So is it the last 5 commits on your github branch or is there anything in there from before that? Having this broken up in logical junks for review will make it a lot easier.

Nov 1 2018, 4:35 PM
bz added a reviewer for D17787: While debugging some epoch related races at Netflix, we discoveredfew non fundamental, but annoying issues with epoch.First, the inlining makes it difficult to profile and trace epoch.At the same time, inlining doesn't effectively happens. In...: bz.
Nov 1 2018, 4:05 PM

Oct 31 2018

bz committed rS339953: MFC r339931,r339933:.
MFC r339931,r339933:
Oct 31 2018, 2:03 PM
bz committed rS339951: MFC r339930:.
MFC r339930:
Oct 31 2018, 12:50 PM
bz committed rS339950: MFC r339682:.
MFC r339682:
Oct 31 2018, 12:49 PM