mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: w.bumiller@proxmox.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jhs@mojatatu.com
Subject: Re: [RFC PATCH linux 0/2] net sched actions: access to uninitialized data and error handling
Date: Mon, 17 Apr 2017 10:59:47 -0400 (EDT)	[thread overview]
Message-ID: <20170417.105947.202929252465875756.davem@davemloft.net> (raw)
In-Reply-To: <20170412142140.26649-1-w.bumiller@proxmox.com>

From: Wolfgang Bumiller <w.bumiller@proxmox.com>
Date: Wed, 12 Apr 2017 16:21:38 +0200

> Commit 1045ba77a ("net sched actions: Add support for user cookies")
> added code to net/sched/act_api.c's tcf_action_init_1 using the `tb`
> nlattr array unconditionally, while it was otherwise used as well as
> initialized only when `name == NULL`:
...
> I'm not sure why the TC_ACT_COOKIE code was added to tcf_action_init_1
> where it is now. It makes me think that it's supposed to be available
> universally, but the `name == NULL` check for how nla is used or passed
> to ->init() shows that the there are various different TC_ACT_* enums in
> use at this point, hence the 'RFC' part of the patches, I'm not that
> familiar with the code yet.

Jamal please review this.

      parent reply	other threads:[~2017-04-17 14:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-12 14:21 Wolfgang Bumiller
2017-04-12 14:21 ` [PATCH linux 1/2] net sched actions: fix access to uninitialized data Wolfgang Bumiller
2017-04-12 14:21 ` [PATCH linux 2/2] net sched actions: fix refcount decrement on error Wolfgang Bumiller
2017-04-13  4:27   ` Cong Wang
2017-04-13  8:06     ` Wolfgang Bumiller
2017-04-13 18:03       ` Cong Wang
2017-04-14  9:08         ` Wolfgang Bumiller
2017-04-15 18:20           ` Cong Wang
2017-04-15 18:48             ` Wolfgang Bumiller
2017-04-17 18:10               ` Cong Wang
2017-04-13 13:39   ` Roman Mashak
2017-04-13  1:22 ` [RFC PATCH linux 0/2] net sched actions: access to uninitialized data and error handling Cong Wang
2017-04-17 14:59 ` David Miller [this message]

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=20170417.105947.202929252465875756.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=jhs@mojatatu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=w.bumiller@proxmox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®