dsa: do not dereference non-existing routing table
In the case where there is only one switch, no routing table will have been allocated, so do not dereference it in this case. Signed-off-by: NTobias Waldekranz <tobias@waldekranz.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录