Subject: Re: [patch] rtnetlink: potential ERR_PTR dereference

From: Patrick McHardy <[email-masked]>
Date: Thu, 22 Apr 2010 12:35:06 +0200

Dan Carpenter wrote:
> In the original code, if rtnl_create_link() returned an ERR_PTR then that
> would get passed to rtnl_configure_link() which dereferences it.
> 
> Signed-off-by: Dan Carpenter <[email-masked]>
> ---
> Found by a static checker, and compile tested only.  :/

Looks fine to me.

Acked-by: Patrick McHardy <[email-masked]>