[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101104.122650.115919734.davem@davemloft.net>
Date: Thu, 04 Nov 2010 12:26:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tgraf@...radead.org
Cc: nelhage@...lice.com, netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] inet_diag: Make sure we actually run the same
bytecode we audited.
From: Thomas Graf <tgraf@...radead.org>
Date: Thu, 4 Nov 2010 09:28:02 -0400
> On Wed, Nov 03, 2010 at 10:35:41PM -0400, Nelson Elhage wrote:
>> We were using nlmsg_find_attr() to look up the bytecode by attribute when
>> auditing, but then just using the first attribute when actually running
>> bytecode. So, if we received a message with two attribute elements, where only
>> the second had type INET_DIAG_REQ_BYTECODE, we would validate and run different
>> bytecode strings.
>>
>> Fix this by consistently using nlmsg_find_attr everywhere.
>>
>> Signed-off-by: Nelson Elhage <nelhage@...lice.com>
>
> Both patches look good.
>
> Signed-off-by: Thomas Graf <tgraf@...radead.org>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists