Commit 8cdb159
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: 7d2837d ("bnxt_en: Setup multicast properly after resetting device.")
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent cfcab3b commit 8cdb159
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4747 | 4747 | | |
4748 | 4748 | | |
4749 | 4749 | | |
4750 | | - | |
4751 | | - | |
| 4750 | + | |
| 4751 | + | |
| 4752 | + | |
| 4753 | + | |
4752 | 4754 | | |
4753 | 4755 | | |
4754 | 4756 | | |
| |||
8651 | 8653 | | |
8652 | 8654 | | |
8653 | 8655 | | |
8654 | | - | |
| 8656 | + | |
8655 | 8657 | | |
8656 | 8658 | | |
8657 | 8659 | | |
| |||
10779 | 10781 | | |
10780 | 10782 | | |
10781 | 10783 | | |
10782 | | - | |
| 10784 | + | |
10783 | 10785 | | |
10784 | 10786 | | |
10785 | 10787 | | |
| |||
10856 | 10858 | | |
10857 | 10859 | | |
10858 | 10860 | | |
10859 | | - | |
| 10861 | + | |
10860 | 10862 | | |
10861 | 10863 | | |
| 10864 | + | |
10862 | 10865 | | |
10863 | 10866 | | |
10864 | 10867 | | |
| |||
0 commit comments