mirror of https://gitee.com/openkylin/linux.git
a0675a386a
Unlike other parts of the mlx4_ib code, the function build_mlx_header() doesn't check if the iboe netdev of the given port is valid before dereferencing it, which can cause a crash if the ethernet interface has already been taken down. Fix this by checking for a valid netdev pointer before using it to get the port MAC address. Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> Signed-off-by: Roland Dreier <roland@purestorage.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ah.c | ||
cq.c | ||
doorbell.c | ||
mad.c | ||
main.c | ||
mlx4_ib.h | ||
mr.c | ||
qp.c | ||
srq.c | ||
user.h |