Re: [PATCH] xen/netback: fix error path of xenvif_connect_data()

From: David Miller
Date: Sat Oct 19 2019 - 14:51:25 EST


From: Juergen Gross <jgross@xxxxxxxx>
Date: Fri, 18 Oct 2019 09:45:49 +0200

> xenvif_connect_data() calls module_put() in case of error. This is
> wrong as there is no related module_get().
>
> Remove the superfluous module_put().
>
> Fixes: 279f438e36c0a7 ("xen-netback: Don't destroy the netdev until the vif is shut down")
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
> Reviewed-by: Paul Durrant <paul@xxxxxxx>

Applied and queued up for -stable.