[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0702122002030.30113@d.namei>
Date: Mon, 12 Feb 2007 20:02:27 -0500 (EST)
From: James Morris <jmorris@...ei.org>
To: David Miller <davem@...emloft.net>
cc: latten@...tin.ibm.com, ce@...ult.com, herbert@...dor.apana.org.au,
linux-kernel@...r.kernel.org, linux-net@...r.kernel.org
Subject: Re: [BUG] 2.6.20 Oopses in xfrm_audit_log
On Mon, 12 Feb 2007, David Miller wrote:
> Thus, below is the patch I will use to fix this bug:
>
> 1) Calling xfrm_audit_log() with a NULL object is a BUG()
> 2) Setting "result" based upon NULL'ness of the object makes no
> sense, either set it to "1" in these cases or use an appropriate
> error check.
>
> How does this look to others?
Looks good to me.
--
James Morris
<jmorris@...ei.org>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists