Re: [RFQ] Rules for accepting patches into the linux-releases tree

From: Andres Salomon (dilinger_at_voxel.net)
Date: 03/07/05

  • Next message: Richard Fuchs: "Re: slab corruption in skb allocs"
    To: Adam Kropelin <akropel1@rochester.rr.com>
    Date:	Mon, 07 Mar 2005 03:32:14 -0500
    
    
    

    On Sun, 2005-03-06 at 15:10 -0500, Adam Kropelin wrote:
    > Andres Salomon <dilinger@voxel.net> wrote:
    > > On Sat, 05 Mar 2005 11:43:05 +0100, Andries Brouwer wrote:
    > > > On Fri, Mar 04, 2005 at 02:21:46PM -0800, Greg KH wrote:
    > > >> - It must fix a real bug that bothers people (not a, "This could be a
    > > >> problem..." type thing.)
    > >
    > > An obvious fix is an obvious fix. It shouldn't matter whether people have
    > > triggered a bug or not; why discriminate?
    >
    > Because the sucker tree is purposely driven by real bug reports, not by
    > developers who happen across a theoretical problem while traversing the
    > code. If users aren't hitting it today, the fix can wait for 2.6.n+1.
    >

    Here's an example; if there's a theoretical integer under/overflow in
    some part of the kernel, but no one is hitting it because (by chance,
    not by design) there's no way for a user to stuff an incorrect value in
    there.

    Does it get fixed in 2.6.x.y? According to the above rule, it does not.
    However, it may be the case where a third party patch end up modifying
    things such that the value in the sign integer is now not properly
    sanity checked (ignore any security issues for the moment; assume only
    root can stuff an incorrect value in there). If it's a core function, a
    third party module may end up calling it without checking the integer
    value it's passing. So, it's not a problem in 2.6.x; it becomes a
    problem at some later point, thanks to an external patch or module.

    Why not just fix it? It still falls under the category of an obvious
    fix; just because a user isn't triggering it now, doesn't mean they
    won't be triggering it later. An argument could be made that this would
    mean a lot of extra work for the Suckers, but it's only up to the point
    at which the next 2.6.x kernel is released.

    > > >> - It must fix a problem that causes a build error (but not for things
    > > >> marked CONFIG_BROKEN), an oops, a hang, or a real security issue.
    > > >> - No "theoretical race condition" issues, unless an explanation of how
    > > >> the race can be exploited.
    > >
    > > I disagree w/ this; if it's an obvious fix, there should be no need for
    > > this. Either it's a race that is clearly incorrect (after tracing through
    > > the relevant code), or it's not.
    >
    > The sucker tree is not a dumping ground for every fix under the sun
    > (even obvious ones). It's for solving problems hit by real users, right
    > now.
    >

    I'm not saying fix every problem, but I would think that those that fix
    a (potential) race, oops, hang, or security issue would be worth fixing.
    But then, maybe I'm reading too much into this (as it's been stated
    these are guidelines, not rules..)

    > > >> - It can not contain any "trivial" fixes in it (spelling changes,
    > > >> whitespace cleanups, etc.)
    > >
    > > This and the "it must fix a problem" are basically saying the same
    > > thing.
    >
    > No. There's an important distinction and the key word is "contain". This
    > rule specifically forbids patches that do fix a real problem but _also_
    > contain unrelated trivial changes. See "setup_per_zone_lowmem_reserve()
    > oops fix" for an example of a patch that could theoretically be rejected
    > due to this rule.

    Ah, yes.

    -- 
    Andres Salomon <dilinger@voxel.net>
    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Richard Fuchs: "Re: slab corruption in skb allocs"

    Relevant Pages

    • Re: Solaris kernel broken, maxgroups=16??
      ... > sun service refuses to fix. ... It is the bug 4088757 which Sun ... > Sun by stupidness excludes Solaris as a viable server operating system. ... the bug is not closed and it *is* being looked at. ...
      (comp.unix.solaris)
    • Re: Panic with swap-backed md devices
      ... On Sun, May 18, 2003, Giorgos Keramidas wrote: ... >> The following patch should fix the panic, ...
      (freebsd-current)
    • Re: Solaris 10 and non Sun DHCP Server
      ... I don't think I'd have much success lobbying Sun for an answer, ... Solaris 10 as a free download from them - fix it yourself would be the ... > someone elses fault SUN complies with rfc, blah blah. ...
      (comp.unix.solaris)
    • Re: Suns mess up with ssh - any solution for me?
      ... I was not aware there was a fix. ... Me neither, until last week, when somebody pointed out to me the patch was still ... there is another bug ID that describe the ssh problem. ... > If anyone from Sun is reading this, ...
      (comp.unix.solaris)
    • Re: Suns mess up with ssh - any solution for me?
      ... I was not aware there was a fix. ... Me neither, until last week, when somebody pointed out to me the patch was still ... there is another bug ID that describe the ssh problem. ... > If anyone from Sun is reading this, ...
      (comp.sys.sun.admin)