[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110617.152805.824692696209804231.davem@davemloft.net>
Date: Fri, 17 Jun 2011 15:28:05 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: shved@...ras.ru
Cc: kevin.curtis@...site.co.uk, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, ldv-project@...ras.ru
Subject: Re: [PATCH] farsync: add module_put to error path in fst_open()
From: Pavel Shved <shved@...ras.ru>
Date: Fri, 17 Jun 2011 20:25:10 +0400
> The fst_open() function, after a successful try_module_get() may return
> an error code if hdlc_open() returns it. However, it does not put the
> module on this error path.
>
> This patch adds the necessary module_put() call.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Pavel Shved <shved@...ras.ru>
Applied.
--
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