diff options
author | Vasundhara Volam <[email protected]> | 2014-03-11 18:53:08 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-03-12 16:19:48 -0400 |
commit | 48291c22b75adbbd15227070088c761c04e48a3b (patch) | |
tree | 555bea97f65d886704a22730ee7b3cbf366a5389 /net/unix/af_unix.c | |
parent | a5243dabb95c51a4b2dce3f7e4f3ced57d2c5742 (diff) |
be2net: Fix vlans_added counter
When a VLAN is added by user, adapter->vlans_added is incremented.
But if the VLAN is already programmed in HW, driver ends up
incrementing the counter wrongly.
Increment the counter only if VLAN is not already programmed in the HW.
Signed-off-by: Vasundhara Volam <[email protected]>
Signed-off-by: Sathya Perla <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions