]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Support clearing of the IFF_BROADCAST flag.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 9 Jul 2018 06:24:50 +0000 (02:24 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2018 23:27:14 +0000 (16:27 -0700)
commit384658b4f8e1035362340cac0d3f8a518b531afd
treed5ebc9ed6978e3786606f6394d2e88d86571655d
parent44fa51ab6ed8a905a04d9447e44e54195ad55fcb
bnxt_en: Support clearing of the IFF_BROADCAST flag.

Currently, the driver assumes IFF_BROADCAST is always set and always sets
the broadcast filter.  Modify the code to set or clear the broadcast
filter according to the IFF_BROADCAST flag.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c