diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-04-04 16:08:56 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-04-04 16:08:56 +0300 |
commit | f67292499b20f599f2bd744d2dcf0f6779581787 (patch) | |
tree | 7fc73f7fbfb82186eedfc9dd9bbab66cd5e47b91 | |
parent | 688b0793ff1245d0148c762e5736014a44a49b32 (diff) | |
download | accel-ppp-f67292499b20f599f2bd744d2dcf0f6779581787.tar.gz accel-ppp-f67292499b20f599f2bd744d2dcf0f6779581787.zip |
vlan_mon: recalculate busy mask on vlan mask update
-rw-r--r-- | drivers/vlan_mon/vlan_mon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/vlan_mon/vlan_mon.c b/drivers/vlan_mon/vlan_mon.c index d486df70..b968b6b3 100644 --- a/drivers/vlan_mon/vlan_mon.c +++ b/drivers/vlan_mon/vlan_mon.c @@ -359,6 +359,9 @@ static int vlan_mon_nl_cmd_add_vlan_mon(struct sk_buff *skb, struct genl_info *i rtnl_unlock(); } #endif + + for (i = 0; i < 4096/sizeof(long)/8; i++) + d->busy[i] = d->vid[0][i] | d->vid[1][i]; } up(&vlan_mon_lock); |