https://github.com/torvalds/linux
Revision 087fca595a0a30804fd7896e77ba11aa46e5d708 authored by Radhey Shyam Pandey on 13 June 2018, 06:35:16 UTC, committed by David S. Miller on 15 June 2018, 00:08:03 UTC
To ensure MDIO bus is not double freed in remove() path
assign lp->mii_bus after MDIO bus registration.

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4fd44a9
Raw File
Tip revision: 087fca595a0a30804fd7896e77ba11aa46e5d708 authored by Radhey Shyam Pandey on 13 June 2018, 06:35:16 UTC
net: emaclite: Fix position of lp->mii_bus assignment
Tip revision: 087fca5
COPYING
The Linux Kernel is provided under:

	SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note

Being under the terms of the GNU General Public License version 2 only,
according with:

	LICENSES/preferred/GPL-2.0

With an explicit syscall exception, as stated at:

	LICENSES/exceptions/Linux-syscall-note

In addition, other licenses may also apply. Please see:

	Documentation/process/license-rules.rst

for more details.
back to top