No description
Find a file
Colin Foster 73a8760222 net: phy: fix null dereference in phy_attach_direct
Commit bc66fa87d4 ("net: phy: Add link between phy dev and mac dev")
introduced a link between net devices and phy devices. It fails to check
whether dev is NULL, leading to a NULL dereference error.

Fixes: bc66fa87d4 ("net: phy: Add link between phy dev and mac dev")
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-01-30 09:24:15 +00:00
arch
block
certs
crypto
Documentation
drivers net: phy: fix null dereference in phy_attach_direct 2023-01-30 09:24:15 +00:00
fs
include net: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoC 2023-01-30 07:21:25 +00:00
init
io_uring
ipc
kernel bpf-for-netdev 2023-01-27 23:32:03 -08:00
lib
LICENSES
mm
net netrom: Fix use-after-free caused by accept on already connected socket 2023-01-30 07:30:47 +00:00
rust
samples
scripts
security
sound
tools selftest: net: Improve IPV6_TCLASS/IPV6_HOPLIMIT tests apparmor compatibility 2023-01-28 13:55:12 +00:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.