The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: David Laight <David.Laight@ACULAB.COM>
To: 'Matthew Wilcox' <willy@infradead.org>
Cc: "davem@davemloft.net" <davem@davemloft.net>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"yoshfuji@linux-ipv6.org" <yoshfuji@linux-ipv6.org>,
	"dsahern@kernel.org" <dsahern@kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	Eric Dumazet <edumazet@google.com>
Subject: RE: [PATCH] udp: Switch the order of arguments to copy_linear_skb
Date: Tue, 11 May 2021 13:44:45 +0000	[thread overview]
Message-ID: <73f91574e34f4b92910e2afd012e16f4@AcuMS.aculab.com> (raw)
In-Reply-To: <YJqI3Vixcqr+jyZX@casper.infradead.org>

From: Matthew Wilcox
> Sent: 11 May 2021 14:39
> 
> On Tue, May 11, 2021 at 01:11:42PM +0000, David Laight wrote:
> > From: Matthew Wilcox
> > > Sent: 11 May 2021 12:34
> > >
> > > All other skb functions use (off, len); this is the only one which
> > > uses (len, off).  Make it consistent.
> >
> > I wouldn't change the order of the arguments without some other
> > change that ensures old code fails to compile.
> > (Like tweaking the function name.)
> 
> Yes, some random essentially internal function that has had no new
> users since it was created in 2017 should get a new name *eyeroll*.
> 
> Please find more useful things to critique.  Or, you know, write some
> damned code yourself instead of just having opinions.

You could easily completely screw up any code that isn't committed
to the kernel source tree.
It isn't the sort of bug I'd want to diagnose.

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)


  reply	other threads:[~2021-05-11 13:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-11 11:34 [PATCH] udp: Switch the order of arguments to copy_linear_skb Matthew Wilcox (Oracle)
2021-05-11 13:11 ` David Laight
2021-05-11 13:38   ` Matthew Wilcox
2021-05-11 13:44     ` David Laight [this message]
2021-05-11 13:54       ` Matthew Wilcox

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=73f91574e34f4b92910e2afd012e16f4@AcuMS.aculab.com \
    --to=david.laight@aculab.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=willy@infradead.org \
    --cc=yoshfuji@linux-ipv6.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox