All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Kubecek <mkubecek@suse.cz>
To: Tom St Denis <tstdenis@elliptictech.com>
Cc: "Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@intel.com>,
	David Miller <davem@davemloft.net>,
	steffen klassert <steffen.klassert@secunet.com>,
	herbert@gondor.hengli.com.au, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: IPsec AH use of ahash
Date: Sat, 19 Jan 2013 03:33:55 +0100	[thread overview]
Message-ID: <20130119023355.GB10964@lion> (raw)
In-Reply-To: <1702471741.91455.1358548305936.JavaMail.root@elliptictech.com>

On Fri, Jan 18, 2013 at 05:31:45PM -0500, Tom St Denis wrote:
> My gripe here is suppose I spend professional paid time working on an
> AH patch to [in my opinion] fix it and then I get
> ignored/stonewalled/etc because I didn't cross a t or dot an i ...
...
> ... if the likelihood of seeing it in mainline is basically around 0%.

You received a detailed response from subsystem maintainer who is an
extremely busy man; that doesn't look like ignoring to me. And as for
stonewalling, I don't see anything like that either. You were just told
what is wrong and asked to send a fixed version. Once you do that, the
chances of the patch to be accepted are actually very high.

Yes, kernel rules for submitting and coding style may seem too strict at
the first glance. But there is a good reason for them: linux kernel is
huge and without strict rules it would be one big mess. Part of my work
consists of resolving bugs in various software projects, often these are
projects the sources of I have never seen before. And I wish more (or
rather as many as possible) had rules similar to the kernel because
looking for something in code which is badly structured and lacks
unified coding style, in project without good and descriptive commit
description, can be a terrible experience.

You may call it nitpicking and mock it, you may even feel offended, but
the open source world would be much better place to live in if other
projects had rules similar to linux kernel (and its networking in
particular).

> It would have taken them very little time to merge the patch I sent
> in, fix the (), maybe address some of the coding style "errors" and
> then form a patch for mainline based on that.  Don't you think I have
> better things to do than re-submit working code repeatedly?

So you consider your time too precious to conform to the kernel coding
style and, on the other hand, the time of subsystem maintainers totally
worthless so that you feel it is their job to tidy up your patches?

Someone already pointed you to http://patchwork.ozlabs.org/
Please do take a look there. I just did and found that in last three
months, about 3500 patches were submitted to this list, i.e. about
40 patches per day (including weekends and Christmas). All of these need
to be reviewed by a few maintainers who are also doing their part of
development. How do they manage to handle it, honestly I don't know.
And then you come and tell us they should also fix coding style and
obvious mistakes for everyone who is too lazy to do it themselves.
Don't you think it would be much more effective if we tried to make
their work easier rather than put more work on their shoulders?

> Ok but as "maintainers" they should be "maintaining" code ... if
> coding standards change (and btw the XCBC code was likely submitted
> long after the coding standards were put in place) then the
> maintainers should go through code they're responsible for and update
> it.

Fixing the wrong coding style of existing code would be definitely
useful but unlike reviewing patches, fixing bugs and developing
features, it doesn't require detailed knowledge of the code. Using
highly skilled and experienced developers (which is who subsystem
maintainers are), that would be a real wasting of resources.

> "xcbc.c" for instance was last touched in 2011.  It hasn't been
> maintained at all apparently.  There were a handful of patches against
> it ... none which address these "coding standards."

The fact that there are only few changes doesn't necessarily mean the
code is unmaintained. It can also mean that it works well and it doesn't
need new features or adjusting to new hardware or protocol versions. And
when the code doesn't change too often, the urge to fix its style is
rather low. But presence of old badly styled code doesn't justify
introducing more badly styled code.

                                                          Michal Kubecek


  reply	other threads:[~2013-01-19  2:41 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 16:51 IPsec AH use of ahash Tom St Denis
2013-01-16  6:21 ` Steffen Klassert
2013-01-18 19:35   ` Tom St Denis
2013-01-18 19:50     ` David Miller
2013-01-18 20:53       ` Tom St Denis
2013-01-18 22:16         ` Waskiewicz Jr, Peter P
2013-01-18 22:31           ` Tom St Denis
2013-01-19  2:33             ` Michal Kubecek [this message]
2013-01-19  2:59               ` Tom St Denis
2013-01-19  3:59               ` Eric Dumazet
2013-01-19 10:30                 ` Tom St Denis
2013-01-19 15:46                   ` Eric Dumazet
2013-01-20  5:06                   ` Mike Galbraith
2013-01-20 10:31                     ` Borislav Petkov
2013-01-20 12:56                       ` Tom St Denis
2013-01-20 13:34                         ` Alexander Holler
2013-01-20 13:54                           ` Tom St Denis
2013-01-30 22:16                             ` Jan Engelhardt
2013-01-20 22:07                         ` Steven Rostedt
2013-01-21  0:47                           ` Tom St Denis
2013-01-20 12:55                     ` Tom St Denis
2013-01-20 14:11                       ` Mike Galbraith
2013-01-20 15:07                         ` Tom St Denis
2013-01-20 16:34                           ` David Dillow
2013-01-20 17:40                             ` Tom St Denis
2013-01-20 18:11                               ` David Dillow
2013-01-20 18:47                                 ` Tom St Denis
2013-01-20 22:54                                   ` Steven Rostedt
2013-01-21  0:34                                     ` Borislav Petkov
2013-01-21  0:40                                       ` Tom St Denis
2013-01-21  1:08                                         ` Borislav Petkov
2013-01-21  9:18                                         ` David Dillow
2013-01-21 10:20                                           ` Tom St Denis
2013-01-21 13:38                                             ` Steven Rostedt
2013-01-21 13:45                                               ` Tom St Denis
2013-01-21 14:37                                                 ` Steven Rostedt
2013-01-21 14:51                                                   ` Tom St Denis
2013-01-21 15:28                                                     ` Steven Rostedt
2013-01-21 15:31                                                       ` Tom St Denis
2013-01-21 15:49                                                         ` Chris Friesen
2013-01-21 16:05                                                           ` Tom St Denis
2013-01-20 20:30                               ` Alan Cox
2013-01-21  0:46                                 ` Tom St Denis
2013-01-20 17:03                           ` H. Peter Anvin
2013-01-20 17:33                             ` Tom St Denis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130119023355.GB10964@lion \
    --to=mkubecek@suse.cz \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.hengli.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=peter.p.waskiewicz.jr@intel.com \
    --cc=steffen.klassert@secunet.com \
    --cc=tstdenis@elliptictech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.