[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <9a3a84ff-1fd1-c063-0c50-a297d29a692b@redhat.com>
Date: Sat, 14 Apr 2018 10:56:55 -0700
From: Laura Abbott <labbott@...hat.com>
To: Dan Carpenter <dan.carpenter@...cle.com>,
"David S. Miller" <davem@...emloft.net>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
netdev@...r.kernel.org
Subject: Regression with 5dcd8400884c ("macsec: missing dev_put() on error in
macsec_newlink()")
Hi,
Fedora got a bug report of a regression when trying to remove the
the macsec module (https://bugzilla.redhat.com/show_bug.cgi?id=1566410).
I did a bisect and found
commit 5dcd8400884cc4a043a6d4617e042489e5d566a9
Author: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed Mar 21 11:09:01 2018 +0300
macsec: missing dev_put() on error in macsec_newlink()
We moved the dev_hold(real_dev); call earlier in the function but forgot
to update the error paths.
Fixes: 0759e552bce7 ("macsec: fix negative refcnt on parent link")
Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Signed-off-by: David S. Miller <davem@...emloft.net>
The script I used for testing based on the reporter is attached. It
looks like modprobe is stuck in the D state. Any idea?
Thanks,
Laura
Download attachment "mac-sec-setup.sh" of type "application/x-shellscript" (2123 bytes)
Powered by blists - more mailing lists