Re: [BUG] 2.6.20 Oopses in xfrm_audit_log

From: James Morris
Date: Mon Feb 12 2007 - 20:02:47 EST


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@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/