diff options
author | Pavan Chebbi <[email protected]> | 2022-02-20 04:05:50 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-02-20 13:47:14 +0000 |
commit | 8cdb15924252e27af16c4a8fe0fc606ce5fd04dc (patch) | |
tree | 88942026a6d501881bdfdce17018cda91270a058 /lib/test_overflow.c | |
parent | cfcab3b3b61584a02bb523ffa99564eafa761dfe (diff) |
bnxt_en: Fix incorrect multicast rx mask setting when not requested
We should setup multicast only when net_device flags explicitly
has IFF_MULTICAST set. Otherwise we will incorrectly turn it on
even when not asked. Fix it by only passing the multicast table
to the firmware if IFF_MULTICAST is set.
Fixes: 7d2837dd7a32 ("bnxt_en: Setup multicast properly after resetting device.")
Signed-off-by: Pavan Chebbi <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions