netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: lars.ellenberg@linbit.com
Cc: linux-kernel@vger.kernel.org, trivial@kernel.org,
	holger@eitzenberger.org, kaber@trash.net,
	netfilter-devel@vger.kernel.org, stable@kernel.org
Subject: Re: [patch] fix nla_policy_len to actually _iterate_ over the policy
Date: Mon, 28 Feb 2011 12:38:35 -0800 (PST)	[thread overview]
Message-ID: <20110228.123835.245399145.davem@davemloft.net> (raw)
In-Reply-To: <20110228203559.GD8906@barkeeper1-xen.linbit>

From: Lars Ellenberg <lars.ellenberg@linbit.com>
Date: Mon, 28 Feb 2011 21:35:59 +0100

> Currently nla_policy_len always returns n * NLA_HDRLEN:
> It loops, but does not advance it's iterator.
> NLA_UNSPEC == 0 does not contain a .len in any policy.
> 
> Trivially fixed by adding p++.
> 
> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>

Applied, thanks.

  reply	other threads:[~2011-02-28 20:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 20:35 [patch] fix nla_policy_len to actually _iterate_ over the policy Lars Ellenberg
2011-02-28 20:38 ` David Miller [this message]
2011-02-28 21:26 ` [stable] " Greg KH

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=20110228.123835.245399145.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=holger@eitzenberger.org \
    --cc=kaber@trash.net \
    --cc=lars.ellenberg@linbit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=trivial@kernel.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;
as well as URLs for NNTP newsgroup(s).