dsa: do not dereference non-existing routing table
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 5 Feb 2015 13:52:06 +0000 (14:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 8 Feb 2015 06:07:36 +0000 (22:07 -0800)
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: Tobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found