Skip to content

Commit c2ef057

Browse files
logostdavem330
authored andcommitted
net: aquantia: reapply vlan filters on up
In case of device reconfiguration the driver may reset the device invisible for other modules, vlan module in particular. So vlans will not be removed&created and vlan filters will not be configured in the device. The patch reapplies the vlan filters at device start. Fixes: 7975d2a ("net: aquantia: add support of rx-vlan-filter offload") Signed-off-by: Dmitry Bogdanov <[email protected]> Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 392349f commit c2ef057

File tree

1 file changed

+4
-0
lines changed
  • drivers/net/ethernet/aquantia/atlantic

1 file changed

+4
-0
lines changed

drivers/net/ethernet/aquantia/atlantic/aq_main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ static int aq_ndev_open(struct net_device *ndev)
6161
if (err < 0)
6262
goto err_exit;
6363

64+
err = aq_filters_vlans_update(aq_nic);
65+
if (err < 0)
66+
goto err_exit;
67+
6468
err = aq_nic_start(aq_nic);
6569
if (err < 0)
6670
goto err_exit;

0 commit comments

Comments
 (0)