net: ehea: avoid null pointer dereference
ehea_get_port may return NULL. Do not dereference NULL value. Fixes: 8c4877a4 ("ehea: Use the standard logging functions") Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: NThadeu Lima de Souza Cascardo <cascardo@debian.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录