Re: [PATCH] cxgb3: avoid needless buffer copy for firmware

From: David Miller
Date: Sun Jun 21 2015 - 12:39:23 EST

From: Kees Cook <keescook@xxxxxxxxxxxx>
Date: Tue, 16 Jun 2015 15:36:17 -0700

> There's no reason to perform a buffer copy for the firmware name. This
> also avoids a (currently impossible with current callers) NULL dereference
> if there was no matching firmware.
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Applied to net-next, thanks.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at