rocker: cleanup vlan table on error adding vlan
authorScott Feldman <sfeldma@gmail.com>
Mon, 1 Jun 2015 18:39:03 +0000 (11:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2015 00:00:08 +0000 (17:00 -0700)
commitcec04a60bcd72ce43618ca62da5e0f508e694703
treed2da4e7f22cb6fcb4ada5e661de707b334c5b418
parent27b808cbc2ad72608fb2fd9abd81930d32464546
rocker: cleanup vlan table on error adding vlan

Basic house keeping: If there is an error adding the router MAC for this
vlan, removing the just installed VLAN table entry to leave device in same
state as before failure.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c