aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYonglong Liu <[email protected]>2023-11-10 09:37:11 +0000
committerDavid S. Miller <[email protected]>2023-11-13 09:06:58 +0000
commitdbd2f3b20c6ae425665b6975d766e3653d453e73 (patch)
tree8fe813f67b6c684475c5fcfb7b06c10b6ecf9458 /net/unix/af_unix.c
parentnet: hns3: fix out-of-bounds access may occur when coalesce info is read via ... (diff)
downloadkernel-dbd2f3b20c6ae425665b6975d766e3653d453e73.tar.gz
kernel-dbd2f3b20c6ae425665b6975d766e3653d453e73.zip
net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
When a VF is calling hns3_init_mac_addr(), get_mac_addr() may return fail, then the value of mac_addr_temp is not initialized. Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC") Signed-off-by: Yonglong Liu <[email protected]> Signed-off-by: Jijie Shao <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions