linux/drivers/net/ethernet/sun
Liang He 90de546d9a ethernet: sun: add check for the mdesc_grab()
In vnet_port_probe() and vsw_port_probe(), we should
check the return value of mdesc_grab() as it may
return NULL which can caused NPD bugs.

Fixes: 5d01fa0c6b ("ldmvsw: Add ldmvsw.c driver code")
Fixes: 43fdf27470 ("[SPARC64]: Abstract out mdesc accesses for better MD update handling.")
Signed-off-by: Liang He <windhl@126.com>
Reviewed-by: Piotr Raczynski <piotr.raczynski@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-03-17 07:47:39 +00:00
..
Kconfig net: sun: SUNVNET_COMMON should depend on INET 2021-09-28 13:20:21 +01:00
Makefile
cassini.c cassini: Use memcpy_from_page() instead of k[un]map_atomic() 2022-11-25 10:44:01 +00:00
cassini.h ethernet/sun: fix repeated words in comments 2022-07-01 20:13:19 -07:00
ldmvsw.c ethernet: sun: add check for the mdesc_grab() 2023-03-17 07:47:39 +00:00
niu.c net: Use of_property_read_bool() for boolean properties 2023-03-16 17:41:28 +00:00
niu.h
sunbmac.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
sunbmac.h
sungem.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
sungem.h
sunhme.c net: sunhme: Fix region request 2023-02-23 09:58:51 -08:00
sunhme.h
sunqe.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
sunqe.h
sunvnet.c ethernet: sun: add check for the mdesc_grab() 2023-03-17 07:47:39 +00:00
sunvnet_common.c sunvnet: Use kmap_local_page() instead of kmap_atomic() 2022-11-25 10:44:01 +00:00
sunvnet_common.h