net: thunderx: avoid null pointer dereference
In function bgx_lmac_handler only use a member of lmac after checking it is not null. Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: NDavid Daney <david.daney@cavium.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录