summaryrefslogtreecommitdiff
path: root/net/netfilter
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2017-08-24 02:34:05 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-24 08:42:43 +0300
commita22a6ac2ff8080c87e446e20592725c064229c71 (patch)
treeb35c127b0f39b67f8e26ef42aac4a9d56c2eff40 /net/netfilter
parent146ed3c5b87d8c65ec31bc56df26f027fe624b8f (diff)
downloadlinux-a22a6ac2ff8080c87e446e20592725c064229c71.tar.xz
bnxt_en: Do not setup MAC address in bnxt_hwrm_func_qcaps().
bnxt_hwrm_func_qcaps() is called during probe to get all device resources and it also sets up the factory MAC address. The same function is called when SRIOV is disabled to reclaim all resources. If the MAC address has been overridden by a user administered MAC address, calling this function will overwrite it. Separate the logic that sets up the default MAC address into a new function bnxt_init_mac_addr() that is only called during probe time. Fixes: 4a21b49b34c0 ("bnxt_en: Improve VF resource accounting.") Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions