svn commit: r243627 - head/sys/kern

Alfred Perlstein bright at mu.org
Wed Nov 28 17:39:16 UTC 2012


On 11/28/12 12:01 AM, Andre Oppermann wrote:
> On 28.11.2012 00:59, Robert N. M. Watson wrote:
>>
>> On 27 Nov 2012, at 23:29, Andre Oppermann wrote:
>>
>>>>>>>> Andre.. this breaks incoming connections.  TCP is immediately 
>>>>>>>> reset and never even gets to the
>>>>>>>> listener process.  You need to back out of fix this urgently 
>>>>>>>> please.
>>>>>>>
>>>>>>> I just found out and fixed it.  Sorry for the breakage.
>>>>>>
>>>>>> I'd like to see a much more thorough use of "Reviewed by:" in 
>>>>>> socket and TCP-related commits -- this
>>>>>> is very sensitive code, and a second pair of eyes is always 
>>>>>> valuable.  Post-commit review is not a
>>>>>> substitute.  Looking back over similar changes in the socket code 
>>>>>> over the last two years, I see
>>>>>> that almost all have reviewers, so I think it would be reasonable 
>>>>>> to consider it mandatory for these
>>>>>> subsystems at this point.  The good news is that we have lots of 
>>>>>> people with expertise in it.
>>>>>
>>>>> Good to see you becoming more active again. :-)  And yes,
>>>>> you have a point there.
>>>>
>>>> Yes -- this is only about three weeks old, however; for the prior 
>>>> six-twelve months, I've been fairly non-existent in FreeBSD-land 
>>>> due to outside obligations :-).
>>>
>>> Just saw that I did indeed send you a review request three weeks 
>>> ago. ;-)
>>> At the end of a rather long email though.
>>
>> Yes, indeed -- no patch was attached, and it followed quite a long 
>> e-mail on your plans to rewrite the TCP stack. I'm afraid that went 
>> onto the "read this later as time permits" pile as I was at a 
>> conference, rather than the fast-path "oh, quickly review this patch" 
>> pile. However, simply committing the patch rather than trying a bit 
>> harder to find a reviewer isn't the right answer either. To maximise 
>> the likelihood of a review, construct an e-mail with a subject line 
>> like "Review request: (patch description)", attach the patch, and 
>> include a proposed commit message.
>
> Yes, and I didn't really expect you to answer (at least quickly) during
> your FreeBSD hiatus.  So it was seeking review by chance.
>
> Alas I found and fixed the bug myself within 2.5hrs.  While not optimal,
> a sign of poor prior testing and too much trust into the submitter of
> the patch it wasn't an earth shattering event.  Doesn't distract from
> the fact that it was mea culpa in any case though.
>
> For prior review of kern_socket* and netinet/tcp_* related changes it has
> been on and off by various committers over the past year.  If we do have
> a policy of prior review required then it should be made official and
> codified in MAINTAINERS and universally applied to all.
>
Personally I don't think we need any more anchors attached to people's 
feet when developing FreeBSD.

Mistakes will happen, they will happen in head.  Slowing down the 
process to eliminate mistakes only works to slow down change and give a 
false sense of "fixing stability" when in fact the only thing "stable" 
is the slowness of submitting code.

-Alfred


More information about the svn-src-head mailing list